|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IScaleTracker
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.
| Method Summary | |
|---|---|
void |
addGeometry(IGeometry geometry)
Adds a geometry to be scaled. |
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 |
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. |
| 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 clearGeometry()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
double getScaleFactor()
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 | ||||||||