- All Implemented Interfaces:
public class INgProjectEventsNameOfDigitLinkEvent
- extends EventObject
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.
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
- See Also:
INgDiagram.createLink(com.esri.arcgis.schematic.INgElementType, String, com.esri.arcgis.schematic.INgNode, com.esri.arcgis.schematic.INgNode, int, int, boolean),
public INgProjectEventsNameOfDigitLinkEvent(Object source)
public void init(INgElementType linkType,
public final INgElementType getLinkType()
public final INgDiagram getDiagram()
public final INgNode getN1()
public final INgNode getN2()
public final int getPort1()
public final int getPort2()
public final INgPoints getPts()
public final String getName()
public final void setName(String name)