|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.display.EnvelopeTracker
public class EnvelopeTracker
Display feedback for tracking envelope resizing.
| Constructor Summary | |
|---|---|
EnvelopeTracker()
Constructs a EnvelopeTracker using ArcGIS Engine. |
|
EnvelopeTracker(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. EnvelopeTracker theEnvelopeTracker = (EnvelopeTracker) obj; |
|
| Method Summary | |
|---|---|
boolean |
deactivate()
Cancel tracking. |
void |
draw(IDisplay display,
int hDC,
int style)
Draw selection indicater. |
boolean |
equals(Object o)
Compare this object with another |
IEnvelope |
getBounds(IDisplay display)
The area covered by the tracker including handles. |
static String |
getClsid()
getClsid. |
IGeometry |
getGeometry()
Geometry used for tracking feedback. |
int |
hashCode()
the hashcode for this object |
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. |
| 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 EnvelopeTracker()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public EnvelopeTracker(Object obj)
throws IOException
EnvelopeTracker theEnvelopeTracker = (EnvelopeTracker) obj;
obj to EnvelopeTracker.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void setDisplayByRef(IScreenDisplay rhs1)
throws IOException,
AutomationException
setDisplayByRef in interface ISelectionTrackerrhs1 - 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 void setGeometry(IGeometry geometry)
throws IOException,
AutomationException
setGeometry in interface ISelectionTrackergeometry - 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 IGeometry getGeometry()
throws IOException,
AutomationException
getGeometry in interface ISelectionTrackerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getBounds(IDisplay display)
throws IOException,
AutomationException
getBounds in interface ISelectionTrackerdisplay - A reference to a com.esri.arcgis.display.IDisplay (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int queryCursor(IPoint point)
throws IOException,
AutomationException
queryCursor in interface ISelectionTrackerpoint - 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 int hitTest(IPoint point)
throws IOException,
AutomationException
hitTest in interface ISelectionTrackerpoint - 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 void draw(IDisplay display,
int hDC,
int style)
throws IOException,
AutomationException
draw in interface ISelectionTrackerdisplay - 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.
public void onMouseDown(int button,
int shift,
int x,
int y)
throws IOException,
AutomationException
onMouseDown in interface ISelectionTrackerbutton - 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.
public void onMouseMove(int button,
int shift,
int x,
int y)
throws IOException,
AutomationException
onMouseMove in interface ISelectionTrackerbutton - 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.
public void onMouseUp(int button,
int shift,
int x,
int y)
throws IOException,
AutomationException
onMouseUp in interface ISelectionTrackerbutton - 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.
public boolean onKeyDown(int keyCode,
int shift)
throws IOException,
AutomationException
onKeyDown in interface ISelectionTrackerkeyCode - The keyCode (in)shift - The shift (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean onKeyUp(int keyCode,
int shift)
throws IOException,
AutomationException
onKeyUp in interface ISelectionTrackerkeyCode - The keyCode (in)shift - The shift (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean deactivate()
throws IOException,
AutomationException
deactivate in interface ISelectionTrackerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLocked(boolean locked)
throws IOException,
AutomationException
setLocked in interface ISelectionTrackerlocked - The locked (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isLocked()
throws IOException,
AutomationException
isLocked in interface ISelectionTrackerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setShowHandles(boolean showHandles)
throws IOException,
AutomationException
setShowHandles in interface ISelectionTrackershowHandles - The showHandles (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isShowHandles()
throws IOException,
AutomationException
isShowHandles in interface ISelectionTrackerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryMoveFeedback(IDisplayFeedback moveFeedback)
throws IOException,
AutomationException
queryMoveFeedback in interface ISelectionTrackermoveFeedback - A reference to a com.esri.arcgis.display.IDisplayFeedback (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryResizeFeedback(IDisplayFeedback resizeFeedback)
throws IOException,
AutomationException
queryResizeFeedback in interface ISelectionTrackerresizeFeedback - 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 | ||||||||