com.esri.arcgis.geodatabase
Class ITopologyElementProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.ITopologyElementProxy
All Implemented Interfaces:
ITopologyElement, Externalizable, Serializable
Direct Known Subclasses:
ITopologyEdgeProxy, ITopologyNodeProxy

public class ITopologyElementProxy
extends com.esri.arcgis.interop.Dispatch
implements ITopologyElement, Serializable

Provides access to the functionality present in all topology elements. ITopologyEdge and ITopologyNode inherit from this interface.

Product Availability

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

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  ITopologyElementProxy()
           
  ITopologyElementProxy(Object obj)
           
protected ITopologyElementProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 IGeometry getGeometry()
          The geometry of the topology element.
 IEnumTopologyParent getParents()
          The set of parents (features) of this topology element.
 boolean isDeleted()
          Indicates if this element has been deleted from its containing topology graph.
 boolean isSelected()
          Indicates if this element is part of its containing topology graph's selected set.
 boolean isVisited()
          Indicates if the topology element has been visited.
 void queryGeometry(IGeometry geometry)
          Copies the element's geometry into the specified geometry.
 void removeListener(String iidStr, Object theListener)
           
 void setVisited(boolean isVisited)
          Indicates if the topology element has been visited.
 
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, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

ITopologyElementProxy

public ITopologyElementProxy()

ITopologyElementProxy

public ITopologyElementProxy(Object obj)
                      throws IOException
Throws:
IOException

ITopologyElementProxy

protected ITopologyElementProxy(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

getGeometry

public IGeometry getGeometry()
                      throws IOException,
                             AutomationException
The geometry of the topology element.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getGeometry in interface ITopologyElement
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSelected

public boolean isSelected()
                   throws IOException,
                          AutomationException
Indicates if this element is part of its containing topology graph's selected set.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
isSelected in interface ITopologyElement
Returns:
The selected
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryGeometry

public void queryGeometry(IGeometry geometry)
                   throws IOException,
                          AutomationException
Copies the element's geometry into the specified geometry.

Remarks

The Geometry parameter must be an instance of an appropriate type of geometry for the topology element being called. For example, if the topology element is a node, a new point should be created and passed as the parameter, and if the topology element is an edge, a new polyline should be created and passed as the parameter.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
queryGeometry in interface ITopologyElement
Parameters:
geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDeleted

public boolean isDeleted()
                  throws IOException,
                         AutomationException
Indicates if this element has been deleted from its containing topology graph.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
isDeleted in interface ITopologyElement
Returns:
The deleted
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParents

public IEnumTopologyParent getParents()
                               throws IOException,
                                      AutomationException
The set of parents (features) of this topology element.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getParents in interface ITopologyElement
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumTopologyParent
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isVisited

public boolean isVisited()
                  throws IOException,
                         AutomationException
Indicates if the topology element has been visited.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
isVisited in interface ITopologyElement
Returns:
The isVisited
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setVisited

public void setVisited(boolean isVisited)
                throws IOException,
                       AutomationException
Indicates if the topology element has been visited.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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