com.esri.arcgis.geometry
Class IEnumSegmentProxy

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

public class IEnumSegmentProxy
extends com.esri.arcgis.interop.Dispatch
implements IEnumSegment, java.io.Serializable

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

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 =

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.IEnumSegment
IID, IIDc63faf0e_1040_11d1_a27d_0000f8775fbf
 
Constructor Summary
  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)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 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)
           
 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.
 
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

IEnumSegmentProxy

public IEnumSegmentProxy(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

IEnumSegmentProxy

public IEnumSegmentProxy()
For internal use only


IEnumSegmentProxy

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

IEnumSegmentProxy

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

IEnumSegmentProxy

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

nextEx

public void nextEx(_esriSegmentInfo[] outSegment)
            throws java.io.IOException,
                   AutomationException
Populates a segment info structure with information on the next segment in the collection.

Specified by:
nextEx in interface IEnumSegment
Parameters:
outSegment - A Structure: com.esri.arcgis.geometry._esriSegmentInfo (A com.esri.arcgis.geometry._esriSegmentInfo COM typedef) (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

next

public void next(ISegment[] outSegment,
                 int[] outPartIndex,
                 int[] segmentIndex)
          throws java.io.IOException,
                 AutomationException
Returns the next segment, and its location in the collection. If the location does not have parts (i.e. a path or ring) then the part index will always be zero.

Specified by:
next in interface IEnumSegment
Parameters:
outSegment - 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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

skip

public void skip(int numSegments)
          throws java.io.IOException,
                 AutomationException
Skips forward or backward over a specified number of segments.

Specified by:
skip in interface IEnumSegment
Parameters:
numSegments - The numSegments (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

public void reset()
           throws java.io.IOException,
                  AutomationException
Starts from the beginning of the segment collection the next time Next is called.

Specified by:
reset in interface IEnumSegment
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

esri_clone

public void esri_clone(IEnumSegment[] outEnumerator)
                throws java.io.IOException,
                       AutomationException
Returns a copy of this enumerator positioned at the same segment.

Specified by:
esri_clone in interface IEnumSegment
Parameters:
outEnumerator - A reference to a com.esri.arcgis.geometry.IEnumSegment (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

resetToEnd

public void resetToEnd()
                throws java.io.IOException,
                       AutomationException
Starts from the end of the path, ring, polyline or polygon the next time Previous is called.

Specified by:
resetToEnd in interface IEnumSegment
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

previous

public void previous(ISegment[] outSegment,
                     int[] outPartIndex,
                     int[] segmentIndex)
              throws java.io.IOException,
                     AutomationException
Returns the previous segment in this segment collection.

Specified by:
previous in interface IEnumSegment
Parameters:
outSegment - 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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAt

public void setAt(int iPart,
                  int iSegment)
           throws java.io.IOException,
                  AutomationException
Resets enumerator to specific location.

Specified by:
setAt in interface IEnumSegment
Parameters:
iPart - The iPart (in)
iSegment - The iSegment (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

nextInPartEx

public void nextInPartEx(_esriSegmentInfo[] outSegment)
                  throws java.io.IOException,
                         AutomationException
Returns the next segment info structure in current part, goes back to first segment after last segment in part is encountered.

Specified by:
nextInPartEx in interface IEnumSegment
Parameters:
outSegment - A Structure: com.esri.arcgis.geometry._esriSegmentInfo (A com.esri.arcgis.geometry._esriSegmentInfo COM typedef) (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

nextInPart

public void nextInPart(ISegment[] outSegment,
                       int[] outSegmentIndex)
                throws java.io.IOException,
                       AutomationException
Returns the next segment in current part, goes back to first segment after last segment in part is encountered.

Specified by:
nextInPart in interface IEnumSegment
Parameters:
outSegment - A reference to a com.esri.arcgis.geometry.ISegment (out: use single element array)
outSegmentIndex - The outSegmentIndex (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isLastInPart

public boolean isLastInPart()
                     throws java.io.IOException,
                            AutomationException
Indicates if the current segment is last in the current part.

Specified by:
isLastInPart in interface IEnumSegment
Returns:
The isLastInPart
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isRecycling

public boolean isRecycling()
                    throws java.io.IOException,
                           AutomationException
Indicates if this enumerator re-uses the same segment each time next is called.

Specified by:
isRecycling in interface IEnumSegment
Returns:
The isRecycling
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.