|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRotateTracker
Provides access to members that control the rotation tracker.
The IRotateTracker interface controls the rotation user interface. After cocreating a RotateTracker object, use the members in the following order: Display, Origin, ClearGeometry, and then one or more calls to either AddGeometry or AddPoint. If you were rotating a single polygon element, you would need just one call to AddGeometry for the element geometry; however, a rotation tracker can handle a group of elements. Use AddPoint for features with marker symbology.
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. |
double |
getAngle()
The angle. |
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. |
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. |
Method Detail |
---|
void setDisplayByRef(IScreenDisplay rhs1) throws IOException, AutomationException
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.int getCursor() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void refresh() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void onMouseDown() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void onMouseMove(IPoint mapPoint) throws IOException, AutomationException
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.boolean onMouseUp() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean onKeyDown(int keyCode) throws IOException, AutomationException
keyCode
- The keyCode (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean deactivate() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setOrigin(IPoint anchor) throws IOException, AutomationException
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.IPoint getOrigin() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addGeometry(IGeometry geometry) throws IOException, AutomationException
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.void addPoint(IGeometry geometry, IMarkerSymbol sym) throws IOException, AutomationException
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.void clearGeometry() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getAngle() throws IOException, AutomationException
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 |