com.esri.arcgis.schematic
Class INgSubLinkProxy

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

public class INgSubLinkProxy
extends com.esri.arcgis.interop.Dispatch
implements INgSubLink, Serializable

Provides access to members that control the graphic sub-link.

Description

A sublink is a link that exists as part of another link. It connects one node on link to one of its related link’s extremity node or connects two nodes on links. Sublinks are completely dependent on the link they are related to. Selecting and moving a link automatically selects and moves its sublinks. The destruction of the link causes the automatic destruction of its sublinks. As with links, sublinks exist only in run time. The common properties of a sublink are stored and defined by its related sublink 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, INgNodeOnLink, INgLink, ISchematicSubLink, Serialized Form

Field Summary
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
Constructor Summary
  INgSubLinkProxy()
           
  INgSubLinkProxy(Object obj)
           
protected INgSubLinkProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 INgLink getReferenceLink()
          Link the sub-link is related to.
 void readExternal(ObjectInput in)
           
 void removeListener(String iidStr, Object theListener)
           
 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

INgSubLinkProxy

public INgSubLinkProxy()

INgSubLinkProxy

public INgSubLinkProxy(Object obj)
                throws IOException
Throws:
IOException

INgSubLinkProxy

protected INgSubLinkProxy(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
Link the sub-link is related to.

Product Availability

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

Specified by:
getReferenceLink in interface INgSubLink
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.

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