com.esri.arcgis.schematic
Class INgProjectEventsNameOfDigitLinkEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.esri.arcgis.schematic.INgProjectEventsNameOfDigitLinkEvent
All Implemented Interfaces:
Serializable

public class INgProjectEventsNameOfDigitLinkEvent
extends EventObject

Description

This event must be used to specify the name of the 'linkType' link element type which is being created in the diagram 'diagram' between the node ‘n1’ and ‘n2’. The newly created link is attached to the ‘n1’ node via the ‘port1’ link port, and to the ‘n2’ node via the ‘port2’ link port. The ‘pts’ list of points returns the list of intermediate points defined during the digitizing (that is, the list of points defined each time the user has clicked in the background view between the moment the ‘n1’ origin node has been clicked and the moment the ‘n2’ extremity node has been clicked).

As is the case with a digitized node, it is better to create the associated element in the database during the event procedure execution. If you do not create them, your new elements will not be displayed after having updated the diagram or the next time this diagram is opened again.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
INgProjectEvents.isDigitMadeByFramework(com.esri.arcgis.schematic.INgProjectEventsIsDigitMadeByFrameworkEvent), INgProjectEvents.isDigitTypeEnabled(com.esri.arcgis.schematic.INgProjectEventsIsDigitTypeEnabledEvent), INgDiagram.createLink(com.esri.arcgis.schematic.INgElementType, String, com.esri.arcgis.schematic.INgNode, com.esri.arcgis.schematic.INgNode, int, int, boolean), Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
INgProjectEventsNameOfDigitLinkEvent(Object source)
           
 
Method Summary
 INgDiagram getDiagram()
           
 INgElementType getLinkType()
           
 INgNode getN1()
           
 INgNode getN2()
           
 String getName()
           
 int getPort1()
           
 int getPort2()
           
 INgPoints getPts()
           
 void init(INgElementType linkType, INgDiagram diagram, INgNode n1, INgNode n2, int port1, int port2, INgPoints pts, String[] name)
           
 void setName(String name)
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

INgProjectEventsNameOfDigitLinkEvent

public INgProjectEventsNameOfDigitLinkEvent(Object source)
Method Detail

init

public void init(INgElementType linkType,
                 INgDiagram diagram,
                 INgNode n1,
                 INgNode n2,
                 int port1,
                 int port2,
                 INgPoints pts,
                 String[] name)

getLinkType

public final INgElementType getLinkType()

getDiagram

public final INgDiagram getDiagram()

getN1

public final INgNode getN1()

getN2

public final INgNode getN2()

getPort1

public final int getPort1()

getPort2

public final int getPort2()

getPts

public final INgPoints getPts()

getName

public final String getName()

setName

public final void setName(String name)