|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.editor.IEditLocationProxy
public class IEditLocationProxy
Provides access to the Editor's Location property.
This interface was added specifically to allow alternative input of the editor's location property.
Generally, the ::Location() of the editor is set using the current tool via right click(ing) within the display.
However, issues arise when attempting to co-create and show the edit sketch context menu (as an external AO developer). This context menu uses the location of the editor to hit test for a valid geometry. If no valid sketch geometry is found, the context shown will fall back to the default for the display.
com.esri.arcgis.editor.IMxDocument,
IEditor.getLocation(),
Serialized Form| Field Summary | |
|---|---|
boolean |
noncastable
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
| Constructor Summary | |
|---|---|
|
IEditLocationProxy()
|
|
IEditLocationProxy(Object obj)
|
protected |
IEditLocationProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
IPoint |
getLocation()
The last known location of the mouse. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setLocationByRef(IPoint loc)
The last known location of the mouse. |
| 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 |
|---|
public boolean noncastable
| Constructor Detail |
|---|
public IEditLocationProxy()
public IEditLocationProxy(Object obj)
throws IOException
IOException
protected IEditLocationProxy(Object obj,
String iid)
throws IOException
IOException| Method Detail |
|---|
public void addListener(String iidStr,
Object theListener,
Object theSource)
throws IOException
addListener in class com.esri.arcgis.interop.DispatchIOException
public void removeListener(String iidStr,
Object theListener)
throws IOException
removeListener in class com.esri.arcgis.interop.DispatchIOException
public IPoint getLocation()
throws IOException,
AutomationException
getLocation in interface IEditLocationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.com.esri.arcgis.editor.IMxDocument,
IEditor.getLocation()
public void setLocationByRef(IPoint loc)
throws IOException,
AutomationException
setLocationByRef in interface IEditLocationloc - A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.com.esri.arcgis.editor.IMxDocument,
IEditor.getLocation()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||