|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.cartoUI.ScaleTracker
public class ScaleTracker
Tracker for scale operations.
Constructor Summary | |
---|---|
ScaleTracker()
Constructs a ScaleTracker using ArcGIS Engine. |
|
ScaleTracker(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. ScaleTracker theScaleTracker = (ScaleTracker) obj; |
Method Summary | |
---|---|
void |
addGeometry(IGeometry geometry)
Adds a geometry to be scaled. |
void |
clearGeometry()
Clears all the geometries. |
boolean |
deactivate()
Cancel tracking. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
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. |
int |
hashCode()
the hashcode for this object |
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 |
refresh()
Invalidate the portion of the screen covered by the tracker. |
void |
setDisplayByRef(IScreenDisplay rhs1)
The display used by the tracker. |
void |
setOrigin(IPoint anchor)
The scale origin. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public ScaleTracker() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic ScaleTracker(Object obj) throws IOException
ScaleTracker theScaleTracker = (ScaleTracker) obj;
obj
to ScaleTracker
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void setDisplayByRef(IScreenDisplay rhs1) throws IOException, AutomationException
setDisplayByRef
in interface IScaleTracker
rhs1
- 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 IScaleTracker
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refresh() throws IOException, AutomationException
refresh
in interface IScaleTracker
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onMouseDown() throws IOException, AutomationException
onMouseDown
in interface IScaleTracker
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onMouseMove(IPoint mapPoint) throws IOException, AutomationException
onMouseMove
in interface IScaleTracker
mapPoint
- 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 IScaleTracker
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean onKeyDown(int keyCode) throws IOException, AutomationException
onKeyDown
in interface IScaleTracker
keyCode
- 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 IScaleTracker
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOrigin(IPoint anchor) throws IOException, AutomationException
setOrigin
in interface IScaleTracker
anchor
- 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 IScaleTracker
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addGeometry(IGeometry geometry) throws IOException, AutomationException
addGeometry
in interface IScaleTracker
geometry
- 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 IScaleTracker
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getScaleFactor() throws IOException, AutomationException
getScaleFactor
in interface IScaleTracker
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 |