|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.editor.IEditorProxy com.esri.arcgis.editor.IEditor2Proxy
public class IEditor2Proxy
Provides access to methods that extend the IEditor interface. The additional members control the behavior of the auxiliary selection anchor.
IEditor2 provides access to properties to control the location of the auxiliary selection anchor available when using the Scale and Rotate tools.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IEditor2Proxy()
|
|
IEditor2Proxy(Object obj)
|
protected |
IEditor2Proxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
IAnchorPoint |
getAuxiliarySelectionAnchor()
The auxiliary selection anchor. |
boolean |
isAuxiliarySelectionAnchorEnabled()
Indicates whether the selection anchor is drawn. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
resetAuxiliarySelectionAnchorLocation()
Places the auxiliary selection anchor near the main anchor. |
void |
setAuxiliarySelectionAnchorEnabled(boolean auxSelAnchorEnabled)
Indicates whether the selection anchor is drawn. |
Methods inherited from class com.esri.arcgis.editor.IEditorProxy |
---|
abortOperation, createSearchShape, delayEvents, enableUndoRedo, findExtension, getCurrentTask, getDisplay, getEditSelection, getEditState, getEditWorkspace, getLocation, getMap, getParent, getScratchWorkspace, getSelectionAnchor, getSelectionCount, getTask, getTaskCount, hasEdits, invertAgent, redoOperation, searchSelection, setCurrentTaskByRef, startEditing, startOperation, stopEditing, stopOperation, undoOperation |
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 |
Methods inherited from interface com.esri.arcgis.editor.IEditor |
---|
abortOperation, createSearchShape, delayEvents, enableUndoRedo, findExtension, getCurrentTask, getDisplay, getEditSelection, getEditState, getEditWorkspace, getLocation, getMap, getParent, getScratchWorkspace, getSelectionAnchor, getSelectionCount, getTask, getTaskCount, hasEdits, invertAgent, redoOperation, searchSelection, setCurrentTaskByRef, startEditing, startOperation, stopEditing, stopOperation, undoOperation |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IEditor2Proxy()
public IEditor2Proxy(Object obj) throws IOException
IOException
protected IEditor2Proxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class IEditorProxy
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class IEditorProxy
IOException
public IAnchorPoint getAuxiliarySelectionAnchor() throws IOException, AutomationException
The AuxiliarySelectionAnchor is a second selection anchor that can be used in tandem with the Editor's SelectionAnchor. The AuxiliarySelectionAnchor is represented as a small '+' sign on the display.
In some cases you may want to rotate features around the Editor's selection anchor and snap them to other feature geometries. Like the SelectionAnchor, the AuxiliarySelectionAnchor honors any active snap agents.
getAuxiliarySelectionAnchor
in interface IEditor2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAuxiliarySelectionAnchorEnabled() throws IOException, AutomationException
The auxiliary selection anchor can be displayed at any point; however, it can only be used while using the Editor's Scale or Rotate tools.
isAuxiliarySelectionAnchorEnabled
in interface IEditor2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAuxiliarySelectionAnchorEnabled(boolean auxSelAnchorEnabled) throws IOException, AutomationException
setAuxiliarySelectionAnchorEnabled
in interface IEditor2
auxSelAnchorEnabled
- The auxSelAnchorEnabled (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void resetAuxiliarySelectionAnchorLocation() throws IOException, AutomationException
Resets the auxiliary selection anchor to the default location. The anchor location is also reset whenever the feature selection changes.
resetAuxiliarySelectionAnchorLocation
in interface IEditor2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |