|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.display.EngineRotateTracker
public class EngineRotateTracker
Engine Rotate Tracker Class.
Constructor Summary | |
---|---|
EngineRotateTracker()
Constructs a EngineRotateTracker using ArcGIS Engine. |
|
EngineRotateTracker(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. EngineRotateTracker theEngineRotateTracker = (EngineRotateTracker) obj; |
Method Summary | |
---|---|
void |
addGeometry(IGeometry geometry)
Adds a geometry to be rotated. |
void |
addPoint(IGeometry geometry,
IMarkerSymbol sym)
Adds a point and symbol to be rotated. |
void |
clearGeometry()
Clears all the geometries. |
boolean |
deactivate()
Cancel tracking. |
boolean |
equals(Object o)
Compare this object with another |
double |
getAngle()
The angle. |
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 rotation origin. |
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 rotation 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 EngineRotateTracker() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic EngineRotateTracker(Object obj) throws IOException
EngineRotateTracker theEngineRotateTracker = (EngineRotateTracker) obj;
obj
to EngineRotateTracker
.
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 IRotateTracker
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 IRotateTracker
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refresh() throws IOException, AutomationException
refresh
in interface IRotateTracker
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onMouseDown() throws IOException, AutomationException
onMouseDown
in interface IRotateTracker
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 IRotateTracker
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 IRotateTracker
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 IRotateTracker
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 IRotateTracker
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 IRotateTracker
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 IRotateTracker
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 IRotateTracker
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 addPoint(IGeometry geometry, IMarkerSymbol sym) throws IOException, AutomationException
addPoint
in interface IRotateTracker
geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)sym
- A reference to a com.esri.arcgis.display.IMarkerSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clearGeometry() throws IOException, AutomationException
clearGeometry
in interface IRotateTracker
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getAngle() throws IOException, AutomationException
getAngle
in interface IRotateTracker
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 |