com.esri.arcgis.schematic
Class INgNodeOnLinkProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.schematic.INgNodeOnLinkProxy
All Implemented Interfaces:
INgNodeOnLink, Externalizable, Serializable

public class INgNodeOnLinkProxy
extends com.esri.arcgis.interop.Dispatch
implements INgNodeOnLink, Serializable

Provides access to members that control the graphic node-on-link.

Description

A node on link is a node positioned on a link path route. Its location on the link is either absolute or relative. Nodes on links are completely dependent on the link they are related to. Selecting and moving a link automatically selects and moves its nodes on links. The destruction of the link causes the automatic destruction of its nodes on links. Links that connect nodes on links are sublinks. Like nodes, nodes on links exist only in run time; the common properties of a node on link are stored and defined by its related node-on-link type.

Defining nodes on links and sublinks for your links is often useful when you have to graphically display a line that is composed by several different parts. For example, in the electrical world, there are electrical lines that combine an overhead part and an underground part along their path route. In this case, it could be useful to graphically distinguish the overhead part from the underground one using sublinks and nodes on links.

Product Availability

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

See Also:
INgElement, INgNode, ISchematicNodeOnLink, INgSubLink, Serialized Form

Field Summary
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
Constructor Summary
  INgNodeOnLinkProxy()
           
  INgNodeOnLinkProxy(Object obj)
           
protected INgNodeOnLinkProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 double getInitialPosition()
          Initial position of the node-on-link related to its reference link.
 int getPositioningMode()
          Positioning mode of the node-on-link.
 double getPositionOnLink()
          Current position of the node-on-link related to its reference link.
 INgLink getReferenceLink()
          The link the 'node-on-link' node-on-link is related to.
 void readExternal(ObjectInput in)
           
 void removeListener(String iidStr, Object theListener)
           
 void setInitialPosition(double pVal)
          Initial position of the node-on-link related to its reference link.
 void setPositionOnLink(double pVal)
          Current position of the node-on-link related to its reference link.
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

INgNodeOnLinkProxy

public INgNodeOnLinkProxy()

INgNodeOnLinkProxy

public INgNodeOnLinkProxy(Object obj)
                   throws IOException
Throws:
IOException

INgNodeOnLinkProxy

protected INgNodeOnLinkProxy(Object obj,
                             String iid)
                      throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

getReferenceLink

public INgLink getReferenceLink()
                         throws IOException,
                                AutomationException
The link the 'node-on-link' node-on-link is related to.

Product Availability

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

Specified by:
getReferenceLink in interface INgNodeOnLink
Returns:
A reference to a com.esri.arcgis.schematic.INgLink
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPositioningMode

public int getPositioningMode()
                       throws IOException,
                              AutomationException
Positioning mode of the node-on-link.

Product Availability

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

Specified by:
getPositioningMode in interface INgNodeOnLink
Returns:
A com.esri.arcgis.schematic.esriNgPositionOnLinkMode constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
INgNodeOnLink.getPositionOnLink()

getPositionOnLink

public double getPositionOnLink()
                         throws IOException,
                                AutomationException
Current position of the node-on-link related to its reference link.

Product Availability

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

Specified by:
getPositionOnLink in interface INgNodeOnLink
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
INgNodeOnLink.getInitialPosition(), INgNodeOnLink.getPositioningMode()

setPositionOnLink

public void setPositionOnLink(double pVal)
                       throws IOException,
                              AutomationException
Current position of the node-on-link related to its reference link.

Product Availability

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

Specified by:
setPositionOnLink in interface INgNodeOnLink
Parameters:
pVal - The pVal (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getInitialPosition

public double getInitialPosition()
                          throws IOException,
                                 AutomationException
Initial position of the node-on-link related to its reference link.

Product Availability

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

Specified by:
getInitialPosition in interface INgNodeOnLink
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
INgNodeOnLink.getPositionOnLink()

setInitialPosition

public void setInitialPosition(double pVal)
                        throws IOException,
                               AutomationException
Initial position of the node-on-link related to its reference link.

Product Availability

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

Specified by:
setInitialPosition in interface INgNodeOnLink
Parameters:
pVal - The pVal (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException
ClassNotFoundException