com.esri.arcgis.geometry
Class ISegmentGraphCursorProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geometry.ISegmentGraphCursorProxy
All Implemented Interfaces:
ISegmentGraphCursor, java.io.Externalizable, java.io.Serializable

public class ISegmentGraphCursorProxy
extends com.esri.arcgis.interop.Dispatch
implements ISegmentGraphCursor, java.io.Serializable

Internal use class Proxy for COM Interface 'ISegmentGraphCursor'. Generated 3/19/2015 1:20:58 PM from 'C:\ArcGIS\COM\esriGeometry.olb'

Description: 'Provides access to members that define and manipulate a way of navigating over segments topologically structured within a segment graph.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.geometry.ISegmentGraphCursor
IID, IID329bfbd8_0e2a_11d3_9f33_00c04f6bdd7f
 
Constructor Summary
  ISegmentGraphCursorProxy()
          For internal use only
  ISegmentGraphCursorProxy(java.lang.Object obj)
           
protected ISegmentGraphCursorProxy(java.lang.Object obj, java.lang.String iid)
           
  ISegmentGraphCursorProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected ISegmentGraphCursorProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 void finishMoveTo(IPoint newLocation)
          Moves from the current edge to the adjacent edge closest to newLocation.
 IPolyline getCurrentTrace()
          The current trace - a history of MoveTo/s and FinishMoveTo's within the segment graph since it was created or since the last call to Reset on this cursor.
 IPoint getLocation()
          The current location of the SegmentGraphCursor.
 boolean moveTo(IPoint newLocation)
          Moves from the current edge to an adjacent edge closest to newLocation.
 void queryLocation(IPoint currentGraphLocation)
          Copies the current location of the SegmentGraphCursor into the specified point.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void reset(IPoint startPoint)
          Resets the location of the SegmentGraphCursor to a specified StartPoint.
 
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

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

ISegmentGraphCursorProxy

public ISegmentGraphCursorProxy(java.lang.String CLSID,
                                java.lang.String host,
                                com.esri.arcgis.interop.AuthInfo authInfo)
                         throws java.net.UnknownHostException,
                                java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

ISegmentGraphCursorProxy

public ISegmentGraphCursorProxy()
For internal use only


ISegmentGraphCursorProxy

public ISegmentGraphCursorProxy(java.lang.Object obj)
                         throws java.io.IOException
Throws:
java.io.IOException

ISegmentGraphCursorProxy

protected ISegmentGraphCursorProxy(java.lang.Object obj,
                                   java.lang.String iid)
                            throws java.io.IOException
Throws:
java.io.IOException

ISegmentGraphCursorProxy

protected ISegmentGraphCursorProxy(java.lang.String CLSID,
                                   java.lang.String iid,
                                   java.lang.String host,
                                   com.esri.arcgis.interop.AuthInfo authInfo)
                            throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

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

removeListener

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

getLocation

public IPoint getLocation()
                   throws java.io.IOException,
                          AutomationException
The current location of the SegmentGraphCursor.

Specified by:
getLocation in interface ISegmentGraphCursor
Returns:
A reference to a com.esri.arcgis.geometry.IPoint
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryLocation

public void queryLocation(IPoint currentGraphLocation)
                   throws java.io.IOException,
                          AutomationException
Copies the current location of the SegmentGraphCursor into the specified point.

Specified by:
queryLocation in interface ISegmentGraphCursor
Parameters:
currentGraphLocation - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCurrentTrace

public IPolyline getCurrentTrace()
                          throws java.io.IOException,
                                 AutomationException
The current trace - a history of MoveTo/s and FinishMoveTo's within the segment graph since it was created or since the last call to Reset on this cursor.

Specified by:
getCurrentTrace in interface ISegmentGraphCursor
Returns:
A reference to a com.esri.arcgis.geometry.IPolyline
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

moveTo

public boolean moveTo(IPoint newLocation)
               throws java.io.IOException,
                      AutomationException
Moves from the current edge to an adjacent edge closest to newLocation. Returns true when that move is clear, or false if it crosses a multi-way branch (in that case, then use FinishMoveTo).

Specified by:
moveTo in interface ISegmentGraphCursor
Parameters:
newLocation - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
The canMove
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

finishMoveTo

public void finishMoveTo(IPoint newLocation)
                  throws java.io.IOException,
                         AutomationException
Moves from the current edge to the adjacent edge closest to newLocation. Used only when MoveTo returns false.

Specified by:
finishMoveTo in interface ISegmentGraphCursor
Parameters:
newLocation - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

public void reset(IPoint startPoint)
           throws java.io.IOException,
                  AutomationException
Resets the location of the SegmentGraphCursor to a specified StartPoint.

Specified by:
reset in interface ISegmentGraphCursor
Parameters:
startPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.