com.esri.arcgis.carto
Class FeatureCursorBuffer

java.lang.Object
  extended by com.esri.arcgis.carto.FeatureCursorBuffer
All Implemented Interfaces:
IBufferProcessingParameter, IFeatureCursorBuffer, IFeatureCursorBuffer2, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class FeatureCursorBuffer
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IFeatureCursorBuffer, IFeatureCursorBuffer2, IBufferProcessingParameter

COM Class 'FeatureCursorBuffer'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description 'A cursor for buffering features.' 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
 
Fields inherited from interface com.esri.arcgis.carto.IFeatureCursorBuffer
IID, IIDa2983336_7e7c_11d2_a084_0000f8775bf9, xxDummy
 
Fields inherited from interface com.esri.arcgis.carto.IFeatureCursorBuffer2
IID, IID7df13f3f_39b7_41c4_80e3_aa7d16f46d57, xxDummy
 
Fields inherited from interface com.esri.arcgis.carto.IBufferProcessingParameter
IID, IIDd7c605d8_6da2_4bad_a5d4_dd8438717f17, xxDummy
 
Constructor Summary
FeatureCursorBuffer()
          Constructs a FeatureCursorBuffer using ArcGIS Engine.
FeatureCursorBuffer(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
FeatureCursorBuffer theFeatureCursorBuffer = (FeatureCursorBuffer) obj;
 
Method Summary
 void buffer(IFeatureClassName pNewLocationName)
          Buffers features to a new and existing feature class.
 void bufferToGraphics(ICompositeGraphicsLayer pCompositeGraphicsLayer)
          Buffers the selected features and stores them into a composite graphics layer.
 boolean equals(java.lang.Object o)
          Compare this object with another
 IEnumGeometry getBufferedGeometry()
          Enumerator of buffered features.
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 void graphicsLayer(IGraphicsLayer pGraphicsLayer, boolean selected)
          Graphics layer of elements to buffer (overrides FeatureCursor).
 void graphicsLayer2(IGraphicsLayer pGraphicsLayer, boolean selected, int[] pSelectedElements, boolean[] bHasPolygons)
          Graphics layer of elements to buffer (overrides FeatureCursor).
 int hashCode()
          the hashcode for this object
 boolean isAdjustCirclesForProjection()
          Indicates if circles are adjusted in Projected Coordinate Systems.
 boolean isGenerateRings()
          Indicates if ring buffers (hollow) are created instead of disk buffers (filled).
 void release()
          Release a FeatureCursorBuffer.
 void setAdjustCirclesForProjection(boolean adjustCirclesForProjection)
          Indicates if circles are adjusted in Projected Coordinate Systems.
 void setBufferSpatialReference(int rhs1)
          Indicates which spatial reference should be used for the buffering process.
 void setBufferSpatialReferenceByRef(ISpatialReference rhs1)
          Specifies in which spatial reference system should be buffered.
 void setCancelTrackByRef(ITrackCancel rhs1)
          TrackCancel used when buffering.
 void setDataFrameSpatialReferenceByRef(ISpatialReference rhs1)
          Specifies the spatial reference system of the data frame.
 void setDissolve(boolean rhs1)
          Indicates if overlapping buffered features should be dissolved.
 void setFeatureClassByRef(IFeatureClass rhs1)
          Establishes the reference to the source Feature Class, if any.
 void setFeatureCursorByRef(IFeatureCursor rhs1)
          Feature cursor of features to buffer (overrides GraphicsLayer).
 void setFieldDistance(java.lang.String rhs1)
          Field specifying distance to buffer on.
 void setGenerateRings(boolean generateRings)
          Indicates if ring buffers (hollow) are created instead of disk buffers (filled).
 void setInputHasPolygons(boolean rhs1)
          Tells the buffer object explicitly that the input shapes contain polygons.
 void setPolygonBufferType(int rhs1)
          Indicates how to buffer polygon features.
 void setRingDistance(int numberOfRings, double rhs2)
          Multiple rings specifying distance to buffer on.
 void setSaveAsGraphics(boolean rhs1)
          Buffer output type (graphics or file).
 void setSimplifyShapes(boolean rhs1)
          Forces the buffer object to simplify the intermediate shapes during the buffer processing.
 void setSourceSpatialReferenceByRef(ISpatialReference rhs1)
          Specifies the spatial reference system of the source data (calls IFeatureCursorBuffer::SpatialReference()).
 void setSpatialReferenceByRef(ISpatialReference rhs1)
          Projection of buffered features.
 void setTargetSpatialReference(int rhs1)
          Indicates which spatial reference should be used for the buffer output.
 void setTargetSpatialReferenceByRef(ISpatialReference rhs1)
          Specifies the target spatial reference system.
 void setUnits(int mapUnits, int rhs2)
          Conversion units, from map units to buffer units.
 void setValueDistance(double rhs1)
          Constant buffer distance.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureCursorBuffer

public FeatureCursorBuffer()
                    throws java.io.IOException,
                           java.net.UnknownHostException
Constructs a FeatureCursorBuffer using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

FeatureCursorBuffer

public FeatureCursorBuffer(java.lang.Object obj)
                    throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
FeatureCursorBuffer theFeatureCursorBuffer = (FeatureCursorBuffer) obj;

Construct a FeatureCursorBuffer using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to FeatureCursorBuffer.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a FeatureCursorBuffer.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

setFeatureCursorByRef

public void setFeatureCursorByRef(IFeatureCursor rhs1)
                           throws java.io.IOException,
                                  AutomationException
Feature cursor of features to buffer (overrides GraphicsLayer).

Specified by:
setFeatureCursorByRef in interface IFeatureCursorBuffer
Specified by:
setFeatureCursorByRef in interface IFeatureCursorBuffer2
Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.IFeatureCursor (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

graphicsLayer

public void graphicsLayer(IGraphicsLayer pGraphicsLayer,
                          boolean selected)
                   throws java.io.IOException,
                          AutomationException
Graphics layer of elements to buffer (overrides FeatureCursor).

Specified by:
graphicsLayer in interface IFeatureCursorBuffer
Parameters:
pGraphicsLayer - A reference to a com.esri.arcgis.carto.IGraphicsLayer (in)
selected - The selected (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDissolve

public void setDissolve(boolean rhs1)
                 throws java.io.IOException,
                        AutomationException
Indicates if overlapping buffered features should be dissolved.

Specified by:
setDissolve in interface IFeatureCursorBuffer
Specified by:
setDissolve in interface IFeatureCursorBuffer2
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setValueDistance

public void setValueDistance(double rhs1)
                      throws java.io.IOException,
                             AutomationException
Constant buffer distance.

Specified by:
setValueDistance in interface IFeatureCursorBuffer
Specified by:
setValueDistance in interface IFeatureCursorBuffer2
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFieldDistance

public void setFieldDistance(java.lang.String rhs1)
                      throws java.io.IOException,
                             AutomationException
Field specifying distance to buffer on.

Specified by:
setFieldDistance in interface IFeatureCursorBuffer
Specified by:
setFieldDistance in interface IFeatureCursorBuffer2
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRingDistance

public void setRingDistance(int numberOfRings,
                            double rhs2)
                     throws java.io.IOException,
                            AutomationException
Multiple rings specifying distance to buffer on.

Specified by:
setRingDistance in interface IFeatureCursorBuffer
Specified by:
setRingDistance in interface IFeatureCursorBuffer2
Parameters:
numberOfRings - The numberOfRings (in)
rhs2 - The rhs2 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSpatialReferenceByRef

public void setSpatialReferenceByRef(ISpatialReference rhs1)
                              throws java.io.IOException,
                                     AutomationException
Projection of buffered features.

Specified by:
setSpatialReferenceByRef in interface IFeatureCursorBuffer
Specified by:
setSpatialReferenceByRef in interface IFeatureCursorBuffer2
Parameters:
rhs1 - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUnits

public void setUnits(int mapUnits,
                     int rhs2)
              throws java.io.IOException,
                     AutomationException
Conversion units, from map units to buffer units.

Specified by:
setUnits in interface IFeatureCursorBuffer
Specified by:
setUnits in interface IFeatureCursorBuffer2
Parameters:
mapUnits - A com.esri.arcgis.system.esriUnits constant (in)
rhs2 - A com.esri.arcgis.system.esriUnits constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPolygonBufferType

public void setPolygonBufferType(int rhs1)
                          throws java.io.IOException,
                                 AutomationException
Indicates how to buffer polygon features.

Specified by:
setPolygonBufferType in interface IFeatureCursorBuffer
Specified by:
setPolygonBufferType in interface IFeatureCursorBuffer2
Parameters:
rhs1 - A com.esri.arcgis.carto.esriBufferType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCancelTrackByRef

public void setCancelTrackByRef(ITrackCancel rhs1)
                         throws java.io.IOException,
                                AutomationException
TrackCancel used when buffering.

Specified by:
setCancelTrackByRef in interface IFeatureCursorBuffer
Specified by:
setCancelTrackByRef in interface IFeatureCursorBuffer2
Parameters:
rhs1 - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBufferedGeometry

public IEnumGeometry getBufferedGeometry()
                                  throws java.io.IOException,
                                         AutomationException
Enumerator of buffered features.

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

buffer

public void buffer(IFeatureClassName pNewLocationName)
            throws java.io.IOException,
                   AutomationException
Buffers features to a new and existing feature class.

Specified by:
buffer in interface IFeatureCursorBuffer
Specified by:
buffer in interface IFeatureCursorBuffer2
Parameters:
pNewLocationName - A reference to a com.esri.arcgis.geodatabase.IFeatureClassName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

graphicsLayer2

public void graphicsLayer2(IGraphicsLayer pGraphicsLayer,
                           boolean selected,
                           int[] pSelectedElements,
                           boolean[] bHasPolygons)
                    throws java.io.IOException,
                           AutomationException
Graphics layer of elements to buffer (overrides FeatureCursor).

Specified by:
graphicsLayer2 in interface IFeatureCursorBuffer2
Parameters:
pGraphicsLayer - A reference to a com.esri.arcgis.carto.IGraphicsLayer (in)
selected - The selected (in)
pSelectedElements - The pSelectedElements (out: use single element array)
bHasPolygons - The bHasPolygons (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

bufferToGraphics

public void bufferToGraphics(ICompositeGraphicsLayer pCompositeGraphicsLayer)
                      throws java.io.IOException,
                             AutomationException
Buffers the selected features and stores them into a composite graphics layer.

Specified by:
bufferToGraphics in interface IFeatureCursorBuffer2
Parameters:
pCompositeGraphicsLayer - A reference to a com.esri.arcgis.carto.ICompositeGraphicsLayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSourceSpatialReferenceByRef

public void setSourceSpatialReferenceByRef(ISpatialReference rhs1)
                                    throws java.io.IOException,
                                           AutomationException
Specifies the spatial reference system of the source data (calls IFeatureCursorBuffer::SpatialReference()).

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

setBufferSpatialReferenceByRef

public void setBufferSpatialReferenceByRef(ISpatialReference rhs1)
                                    throws java.io.IOException,
                                           AutomationException
Specifies in which spatial reference system should be buffered.

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

setTargetSpatialReferenceByRef

public void setTargetSpatialReferenceByRef(ISpatialReference rhs1)
                                    throws java.io.IOException,
                                           AutomationException
Specifies the target spatial reference system.

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

setDataFrameSpatialReferenceByRef

public void setDataFrameSpatialReferenceByRef(ISpatialReference rhs1)
                                       throws java.io.IOException,
                                              AutomationException
Specifies the spatial reference system of the data frame.

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

setAdjustCirclesForProjection

public void setAdjustCirclesForProjection(boolean adjustCirclesForProjection)
                                   throws java.io.IOException,
                                          AutomationException
Indicates if circles are adjusted in Projected Coordinate Systems.

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

isAdjustCirclesForProjection

public boolean isAdjustCirclesForProjection()
                                     throws java.io.IOException,
                                            AutomationException
Indicates if circles are adjusted in Projected Coordinate Systems.

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

setGenerateRings

public void setGenerateRings(boolean generateRings)
                      throws java.io.IOException,
                             AutomationException
Indicates if ring buffers (hollow) are created instead of disk buffers (filled).

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

isGenerateRings

public boolean isGenerateRings()
                        throws java.io.IOException,
                               AutomationException
Indicates if ring buffers (hollow) are created instead of disk buffers (filled).

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

setSaveAsGraphics

public void setSaveAsGraphics(boolean rhs1)
                       throws java.io.IOException,
                              AutomationException
Buffer output type (graphics or file).

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

setFeatureClassByRef

public void setFeatureClassByRef(IFeatureClass rhs1)
                          throws java.io.IOException,
                                 AutomationException
Establishes the reference to the source Feature Class, if any.

Specified by:
setFeatureClassByRef in interface IBufferProcessingParameter
Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBufferSpatialReference

public void setBufferSpatialReference(int rhs1)
                               throws java.io.IOException,
                                      AutomationException
Indicates which spatial reference should be used for the buffering process.

Specified by:
setBufferSpatialReference in interface IBufferProcessingParameter
Parameters:
rhs1 - A com.esri.arcgis.carto.esriBufferSpatialReferenceType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTargetSpatialReference

public void setTargetSpatialReference(int rhs1)
                               throws java.io.IOException,
                                      AutomationException
Indicates which spatial reference should be used for the buffer output.

Specified by:
setTargetSpatialReference in interface IBufferProcessingParameter
Parameters:
rhs1 - A com.esri.arcgis.carto.esriBufferSpatialReferenceType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setInputHasPolygons

public void setInputHasPolygons(boolean rhs1)
                         throws java.io.IOException,
                                AutomationException
Tells the buffer object explicitly that the input shapes contain polygons.

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

setSimplifyShapes

public void setSimplifyShapes(boolean rhs1)
                       throws java.io.IOException,
                              AutomationException
Forces the buffer object to simplify the intermediate shapes during the buffer processing.

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