public class IEnumSegmentProxy extends com.esri.arcgis.interop.Dispatch implements IEnumSegment, java.io.Serializable
Description: 'Provides access to members that iterate over collections of segments (obtained from the EnumSegments property on the ISegmentCollection interface).' 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 =
| Modifier and Type | Field and Description |
|---|---|
boolean |
noncastable |
static java.lang.Class |
targetClass |
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRefIID, IIDc63faf0e_1040_11d1_a27d_0000f8775fbf| Modifier | Constructor and Description |
|---|---|
|
IEnumSegmentProxy()
For internal use only
|
|
IEnumSegmentProxy(java.lang.Object obj) |
protected |
IEnumSegmentProxy(java.lang.Object obj,
java.lang.String iid) |
|
IEnumSegmentProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo) |
protected |
IEnumSegmentProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Adds a Java object to be a listener for a specific kind of event generated by the COM object.
|
void |
esri_clone(IEnumSegment[] outEnumerator)
Returns a copy of this enumerator positioned at the same segment.
|
boolean |
isLastInPart()
Indicates if the current segment is last in the current part.
|
boolean |
isRecycling()
Indicates if this enumerator re-uses the same segment each time next is called.
|
void |
next(ISegment[] outSegment,
int[] outPartIndex,
int[] segmentIndex)
Returns the next segment, and its location in the collection.
|
void |
nextEx(_esriSegmentInfo[] outSegment)
Populates a segment info structure with information on the next segment in the collection.
|
void |
nextInPart(ISegment[] outSegment,
int[] outSegmentIndex)
Returns the next segment in current part, goes back to first segment after last segment in part is encountered.
|
void |
nextInPartEx(_esriSegmentInfo[] outSegment)
Returns the next segment info structure in current part, goes back to first segment after last segment in part is encountered.
|
void |
previous(ISegment[] outSegment,
int[] outPartIndex,
int[] segmentIndex)
Returns the previous segment in this segment collection.
|
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Removes a Java object as a listener to events generated by a COM object.
|
void |
reset()
Starts from the beginning of the segment collection the next time Next is called.
|
void |
resetToEnd()
Starts from the end of the path, ring, polyline or polygon the next time Previous is called.
|
void |
setAt(int iPart,
int iSegment)
Resets enumerator to specific location.
|
void |
skip(int numSegments)
Skips forward or backward over a specified number of segments.
|
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, writeExternalpublic static final java.lang.Class targetClass
public boolean noncastable
public IEnumSegmentProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
java.net.UnknownHostExceptionjava.io.IOExceptionpublic IEnumSegmentProxy()
public IEnumSegmentProxy(java.lang.Object obj)
throws java.io.IOException
java.io.IOExceptionprotected IEnumSegmentProxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
java.io.IOExceptionprotected IEnumSegmentProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
throws java.io.IOException
java.io.IOExceptionpublic void addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
throws java.io.IOException
com.esri.arcgis.interop.DispatchaddListener in class com.esri.arcgis.interop.DispatchiidStr - the ID of the outgoing interface, implemented by the listenertheListener - the object to be informed of the eventstheSource - the proxy class that represents the COM class that is the source of the eventsjava.io.IOExceptionpublic void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
com.esri.arcgis.interop.DispatchremoveListener in class com.esri.arcgis.interop.DispatchiidStr - the ID of the outgoing interface, implemented by the listenertheListener - the object that no longer wishes to be informed of the eventsjava.io.IOExceptionpublic void nextEx(_esriSegmentInfo[] outSegment) throws java.io.IOException, AutomationException
nextEx in interface IEnumSegmentoutSegment - A Structure: com.esri.arcgis.geometry._esriSegmentInfo (A com.esri.arcgis.geometry._esriSegmentInfo COM typedef) (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void next(ISegment[] outSegment, int[] outPartIndex, int[] segmentIndex) throws java.io.IOException, AutomationException
next in interface IEnumSegmentoutSegment - A reference to a com.esri.arcgis.geometry.ISegment (out: use single element array)outPartIndex - The outPartIndex (in/out: use single element array)segmentIndex - The segmentIndex (in/out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void skip(int numSegments)
throws java.io.IOException,
AutomationException
skip in interface IEnumSegmentnumSegments - The numSegments (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void reset()
throws java.io.IOException,
AutomationException
reset in interface IEnumSegmentjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void esri_clone(IEnumSegment[] outEnumerator) throws java.io.IOException, AutomationException
esri_clone in interface IEnumSegmentoutEnumerator - A reference to a com.esri.arcgis.geometry.IEnumSegment (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void resetToEnd()
throws java.io.IOException,
AutomationException
resetToEnd in interface IEnumSegmentjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void previous(ISegment[] outSegment, int[] outPartIndex, int[] segmentIndex) throws java.io.IOException, AutomationException
previous in interface IEnumSegmentoutSegment - A reference to a com.esri.arcgis.geometry.ISegment (out: use single element array)outPartIndex - The outPartIndex (in/out: use single element array)segmentIndex - The segmentIndex (in/out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setAt(int iPart,
int iSegment)
throws java.io.IOException,
AutomationException
setAt in interface IEnumSegmentiPart - The iPart (in)iSegment - The iSegment (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void nextInPartEx(_esriSegmentInfo[] outSegment) throws java.io.IOException, AutomationException
nextInPartEx in interface IEnumSegmentoutSegment - A Structure: com.esri.arcgis.geometry._esriSegmentInfo (A com.esri.arcgis.geometry._esriSegmentInfo COM typedef) (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void nextInPart(ISegment[] outSegment, int[] outSegmentIndex) throws java.io.IOException, AutomationException
nextInPart in interface IEnumSegmentoutSegment - A reference to a com.esri.arcgis.geometry.ISegment (out: use single element array)outSegmentIndex - The outSegmentIndex (in/out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isLastInPart()
throws java.io.IOException,
AutomationException
isLastInPart in interface IEnumSegmentjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isRecycling()
throws java.io.IOException,
AutomationException
isRecycling in interface IEnumSegmentjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.