com.esri.arcgis.editor
Class EditSelectionCache

java.lang.Object
  extended by com.esri.arcgis.editor.EditSelectionCache
All Implemented Interfaces:
IEditEvents, IEditSelectionCache, IEditSelectionCache2, IEditSelectionCache3, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable, java.util.EventListener

public class EditSelectionCache
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IEditSelectionCache, IEditSelectionCache2, IEditSelectionCache3, IEditEvents

COM Class 'EditSelectionCache'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriEditor.olb'

Description 'Caches the selection for fast hit testing.' 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.editor.IEditSelectionCache
IID, IID6b998eaf_871b_11d3_9f4f_00c04f6bc979, xxDummy
 
Fields inherited from interface com.esri.arcgis.editor.IEditSelectionCache2
IID, IID5b4165c1_f521_11d3_8278_0080c7e20671, xxDummy
 
Fields inherited from interface com.esri.arcgis.editor.IEditSelectionCache3
IID, IIDc92eeb31_31ec_4220_b030_f55fe7d2e6ee, xxDummy
 
Fields inherited from interface com.esri.arcgis.editor.IEditEvents
IID, IID44276913_98c1_11d1_8464_0000f875b9c6, xxDummy
 
Constructor Summary
EditSelectionCache()
          Constructs a EditSelectionCache using ArcGIS Engine.
EditSelectionCache(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
EditSelectionCache theEditSelectionCache = (EditSelectionCache) obj;
 
Method Summary
 void afterDrawSketch(IEditEventsAfterDrawSketchEvent theEvent)
          Called after the edit sketch is drawn.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 boolean hitTest(IPoint loc)
          Tests if the location is over the selection or not.
 void initialize(IEditor editor, int sizePixels)
          Initializes the cache using the editor's selection.
 void initialize(IEditor editor, int sizePixels, boolean blockTopoFeatures)
          Initializes the cache using the editor's selection.
 void initialize(IEditor editor, int sizePixels, boolean blockTopoFeatures, boolean annoOnly)
          Initializes the cache using the editor's selection.
 void onChangeFeature(IEditEventsOnChangeFeatureEvent theEvent)
          Called when features are modified.
 void onConflictsDetected(IEditEventsOnConflictsDetectedEvent theEvent)
          Called when editing conflicts are detected during save.
 void onCreateFeature(IEditEventsOnCreateFeatureEvent theEvent)
          Called when new features are created.
 void onCurrentLayerChanged(IEditEventsOnCurrentLayerChangedEvent theEvent)
          Called when the current layer changes.
 void onCurrentTaskChanged(IEditEventsOnCurrentTaskChangedEvent theEvent)
          Called when the current task changes.
 void onDeleteFeature(IEditEventsOnDeleteFeatureEvent theEvent)
          Called when features are deleted.
 void onRedo(IEditEventsOnRedoEvent theEvent)
          Called when RedoOperation is called.
 void onSelectionChanged(IEditEventsOnSelectionChangedEvent theEvent)
          Called when the selection changes.
 void onSketchFinished(IEditEventsOnSketchFinishedEvent theEvent)
          Called when the edit sketch is finished.
 void onSketchModified(IEditEventsOnSketchModifiedEvent theEvent)
          Called when the edit sketch is modified.
 void onStartEditing(IEditEventsOnStartEditingEvent theEvent)
          Called when editing begins.
 void onStopEditing(IEditEventsOnStopEditingEvent theEvent)
          Called when editing ends.
 void onUndo(IEditEventsOnUndoEvent theEvent)
          Called when UndoOperation is called.
 void release()
          Release a EditSelectionCache.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditSelectionCache

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

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

EditSelectionCache

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

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

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 EditSelectionCache.

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

initialize

public void initialize(IEditor editor,
                       int sizePixels)
                throws java.io.IOException,
                       AutomationException
Initializes the cache using the editor's selection.

Specified by:
initialize in interface IEditSelectionCache
Parameters:
editor - A reference to a com.esri.arcgis.editor.IEditor (in)
sizePixels - The sizePixels (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hitTest

public boolean hitTest(IPoint loc)
                throws java.io.IOException,
                       AutomationException
Tests if the location is over the selection or not.

Specified by:
hitTest in interface IEditSelectionCache
Specified by:
hitTest in interface IEditSelectionCache2
Specified by:
hitTest in interface IEditSelectionCache3
Parameters:
loc - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
The hit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initialize

public void initialize(IEditor editor,
                       int sizePixels,
                       boolean blockTopoFeatures)
                throws java.io.IOException,
                       AutomationException
Initializes the cache using the editor's selection.

Specified by:
initialize in interface IEditSelectionCache2
Parameters:
editor - A reference to a com.esri.arcgis.editor.IEditor (in)
sizePixels - The sizePixels (in)
blockTopoFeatures - The blockTopoFeatures (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initialize

public void initialize(IEditor editor,
                       int sizePixels,
                       boolean blockTopoFeatures,
                       boolean annoOnly)
                throws java.io.IOException,
                       AutomationException
Initializes the cache using the editor's selection.

Specified by:
initialize in interface IEditSelectionCache3
Parameters:
editor - A reference to a com.esri.arcgis.editor.IEditor (in)
sizePixels - The sizePixels (in)
blockTopoFeatures - The blockTopoFeatures (in)
annoOnly - The annoOnly (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onSelectionChanged

public void onSelectionChanged(IEditEventsOnSelectionChangedEvent theEvent)
                        throws java.io.IOException,
                               AutomationException
Called when the selection changes.

Specified by:
onSelectionChanged in interface IEditEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onCurrentLayerChanged

public void onCurrentLayerChanged(IEditEventsOnCurrentLayerChangedEvent theEvent)
                           throws java.io.IOException,
                                  AutomationException
Called when the current layer changes.

Specified by:
onCurrentLayerChanged in interface IEditEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onCurrentTaskChanged

public void onCurrentTaskChanged(IEditEventsOnCurrentTaskChangedEvent theEvent)
                          throws java.io.IOException,
                                 AutomationException
Called when the current task changes.

Specified by:
onCurrentTaskChanged in interface IEditEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onSketchModified

public void onSketchModified(IEditEventsOnSketchModifiedEvent theEvent)
                      throws java.io.IOException,
                             AutomationException
Called when the edit sketch is modified.

Specified by:
onSketchModified in interface IEditEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onSketchFinished

public void onSketchFinished(IEditEventsOnSketchFinishedEvent theEvent)
                      throws java.io.IOException,
                             AutomationException
Called when the edit sketch is finished.

Specified by:
onSketchFinished in interface IEditEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

afterDrawSketch

public void afterDrawSketch(IEditEventsAfterDrawSketchEvent theEvent)
                     throws java.io.IOException,
                            AutomationException
Called after the edit sketch is drawn.

Specified by:
afterDrawSketch in interface IEditEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onStartEditing

public void onStartEditing(IEditEventsOnStartEditingEvent theEvent)
                    throws java.io.IOException,
                           AutomationException
Called when editing begins.

Specified by:
onStartEditing in interface IEditEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onStopEditing

public void onStopEditing(IEditEventsOnStopEditingEvent theEvent)
                   throws java.io.IOException,
                          AutomationException
Called when editing ends.

Specified by:
onStopEditing in interface IEditEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onConflictsDetected

public void onConflictsDetected(IEditEventsOnConflictsDetectedEvent theEvent)
                         throws java.io.IOException,
                                AutomationException
Called when editing conflicts are detected during save.

Specified by:
onConflictsDetected in interface IEditEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onUndo

public void onUndo(IEditEventsOnUndoEvent theEvent)
            throws java.io.IOException,
                   AutomationException
Called when UndoOperation is called.

Specified by:
onUndo in interface IEditEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onRedo

public void onRedo(IEditEventsOnRedoEvent theEvent)
            throws java.io.IOException,
                   AutomationException
Called when RedoOperation is called.

Specified by:
onRedo in interface IEditEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onCreateFeature

public void onCreateFeature(IEditEventsOnCreateFeatureEvent theEvent)
                     throws java.io.IOException,
                            AutomationException
Called when new features are created.

Specified by:
onCreateFeature in interface IEditEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onChangeFeature

public void onChangeFeature(IEditEventsOnChangeFeatureEvent theEvent)
                     throws java.io.IOException,
                            AutomationException
Called when features are modified.

Specified by:
onChangeFeature in interface IEditEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onDeleteFeature

public void onDeleteFeature(IEditEventsOnDeleteFeatureEvent theEvent)
                     throws java.io.IOException,
                            AutomationException
Called when features are deleted.

Specified by:
onDeleteFeature in interface IEditEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.