|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ISelectionTracker
Provides access to members that control the managing of selection handle tracking.
| Method Summary | |
|---|---|
boolean |
deactivate()
Cancel tracking. |
void |
draw(IDisplay display,
int hDC,
int style)
Draw selection indicater. |
IEnvelope |
getBounds(IDisplay display)
The area covered by the tracker including handles. |
IGeometry |
getGeometry()
Geometry used for tracking feedback. |
int |
hitTest(IPoint point)
Check if mouse is over tracker. |
boolean |
isLocked()
Indicates if the tracker is locked or not. |
boolean |
isShowHandles()
Indicates if the tracker is showing handles or not. |
boolean |
onKeyDown(int keyCode,
int shift)
Special keypress processing while tracking. |
boolean |
onKeyUp(int keyCode,
int shift)
Special keypress processing while tracking. |
void |
onMouseDown(int button,
int shift,
int x,
int y)
Begin tracking move or resize based on the location of the mouse over the tracker handles. |
void |
onMouseMove(int button,
int shift,
int x,
int y)
In process move or resize tracking. |
void |
onMouseUp(int button,
int shift,
int x,
int y)
Finish move or resize tracking. |
int |
queryCursor(IPoint point)
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. |
void |
queryMoveFeedback(IDisplayFeedback moveFeedback)
The move feedback for the selection tracker. |
void |
queryResizeFeedback(IDisplayFeedback resizeFeedback)
The resize feedback for the selection tracker. |
void |
setDisplayByRef(IScreenDisplay rhs1)
The display used by the tracker. |
void |
setGeometry(IGeometry geometry)
Geometry used for tracking feedback. |
void |
setLocked(boolean locked)
Indicates if the tracker is locked or not. |
void |
setShowHandles(boolean showHandles)
Indicates if the tracker is showing handles or not. |
| 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.
void setGeometry(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.
IGeometry getGeometry()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IEnvelope getBounds(IDisplay display)
throws IOException,
AutomationException
display - A reference to a com.esri.arcgis.display.IDisplay (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int queryCursor(IPoint point)
throws IOException,
AutomationException
point - A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int hitTest(IPoint point)
throws IOException,
AutomationException
point - A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void draw(IDisplay display,
int hDC,
int style)
throws IOException,
AutomationException
display - A reference to a com.esri.arcgis.display.IDisplay (in)hDC - The hDC (A COM typedef) (in)style - A com.esri.arcgis.display.esriTrackerStyle constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void onMouseDown(int button,
int shift,
int x,
int y)
throws IOException,
AutomationException
button - The button (in)shift - The shift (in)x - The x (in)y - The y (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void onMouseMove(int button,
int shift,
int x,
int y)
throws IOException,
AutomationException
button - The button (in)shift - The shift (in)x - The x (in)y - The y (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void onMouseUp(int button,
int shift,
int x,
int y)
throws IOException,
AutomationException
button - The button (in)shift - The shift (in)x - The x (in)y - The y (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean onKeyDown(int keyCode,
int shift)
throws IOException,
AutomationException
keyCode - The keyCode (in)shift - The shift (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean onKeyUp(int keyCode,
int shift)
throws IOException,
AutomationException
keyCode - The keyCode (in)shift - The shift (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 setLocked(boolean locked)
throws IOException,
AutomationException
locked - The locked (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isLocked()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setShowHandles(boolean showHandles)
throws IOException,
AutomationException
showHandles - The showHandles (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isShowHandles()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void queryMoveFeedback(IDisplayFeedback moveFeedback)
throws IOException,
AutomationException
moveFeedback - A reference to a com.esri.arcgis.display.IDisplayFeedback (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void queryResizeFeedback(IDisplayFeedback resizeFeedback)
throws IOException,
AutomationException
resizeFeedback - A reference to a com.esri.arcgis.display.IDisplayFeedback (in)
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 | ||||||||