|
|||||||||
| 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.display.IScaleTrackerProxy
public class IScaleTrackerProxy
Provides access to members that control the scale tracker.
The IScaleTracker interface controls the user interface for scaling objects. It works in a similar way to IRotateTracker.
| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E |
| Constructor Summary | |
|---|---|
|
IScaleTrackerProxy()
|
|
IScaleTrackerProxy(Object obj)
|
protected |
IScaleTrackerProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addGeometry(IGeometry geometry)
Adds a geometry to be scaled. |
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
clearGeometry()
Clears all the geometries. |
boolean |
deactivate()
Cancel tracking. |
int |
getCursor()
If the mouse is over the tracker, return an HCURSOR to indicate legal operations based on mouse's relation to selection handles: move resize, etc. |
IPoint |
getOrigin()
The scale origin. |
double |
getScaleFactor()
The scale factor. |
boolean |
onKeyDown(int keyCode)
Special keypress processing while tracking. |
void |
onMouseDown()
Begin tracking move or resize based on the location of the mouse over the tracker handles. |
void |
onMouseMove(IPoint mapPoint)
In process move or resize tracking. |
boolean |
onMouseUp()
Finish move or resize tracking. |
void |
readExternal(ObjectInput in)
|
void |
refresh()
Invalidate the portion of the screen covered by the tracker. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setDisplayByRef(IScreenDisplay rhs1)
The display used by the tracker. |
void |
setOrigin(IPoint anchor)
The scale origin. |
void |
writeExternal(ObjectOutput out)
|
| 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, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IScaleTrackerProxy()
public IScaleTrackerProxy(Object obj)
throws IOException
IOException
protected IScaleTrackerProxy(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 void setDisplayByRef(IScreenDisplay rhs1)
throws IOException,
AutomationException
setDisplayByRef in interface IScaleTrackerrhs1 - A reference to a com.esri.arcgis.display.IScreenDisplay (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCursor()
throws IOException,
AutomationException
getCursor in interface IScaleTrackerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void refresh()
throws IOException,
AutomationException
refresh in interface IScaleTrackerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onMouseDown()
throws IOException,
AutomationException
onMouseDown in interface IScaleTrackerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onMouseMove(IPoint mapPoint)
throws IOException,
AutomationException
onMouseMove in interface IScaleTrackermapPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean onMouseUp()
throws IOException,
AutomationException
onMouseUp in interface IScaleTrackerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean onKeyDown(int keyCode)
throws IOException,
AutomationException
onKeyDown in interface IScaleTrackerkeyCode - The keyCode (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean deactivate()
throws IOException,
AutomationException
deactivate in interface IScaleTrackerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setOrigin(IPoint anchor)
throws IOException,
AutomationException
setOrigin in interface IScaleTrackeranchor - A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPoint getOrigin()
throws IOException,
AutomationException
getOrigin in interface IScaleTrackerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addGeometry(IGeometry geometry)
throws IOException,
AutomationException
addGeometry in interface IScaleTrackergeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void clearGeometry()
throws IOException,
AutomationException
clearGeometry in interface IScaleTrackerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getScaleFactor()
throws IOException,
AutomationException
getScaleFactor in interface IScaleTrackerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizablewriteExternal in class com.esri.arcgis.interop.DispatchIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class com.esri.arcgis.interop.DispatchIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||