|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.display.LineTracker
public class LineTracker
Display feedback for line tracking.
Constructor Summary | |
---|---|
LineTracker()
Constructs a LineTracker using ArcGIS Engine. |
|
LineTracker(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. LineTracker theLineTracker = (LineTracker) 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 |
int |
findNodeIndex(IPoint cursorPosition)
Finds the node index for the vertex under the given point. |
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 LineTracker() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic LineTracker(Object obj) throws IOException
LineTracker theLineTracker = (LineTracker) obj;
obj
to LineTracker
.
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 ISelectionTracker
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 void setGeometry(IGeometry geometry) throws IOException, AutomationException
setGeometry
in interface ISelectionTracker
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 IGeometry getGeometry() throws IOException, AutomationException
getGeometry
in interface ISelectionTracker
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope getBounds(IDisplay display) throws IOException, AutomationException
getBounds
in interface ISelectionTracker
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.public int queryCursor(IPoint point) throws IOException, AutomationException
queryCursor
in interface ISelectionTracker
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.public int hitTest(IPoint point) throws IOException, AutomationException
hitTest
in interface ISelectionTracker
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.public void draw(IDisplay display, int hDC, int style) throws IOException, AutomationException
draw
in interface ISelectionTracker
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.public void onMouseDown(int button, int shift, int x, int y) throws IOException, AutomationException
onMouseDown
in interface ISelectionTracker
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.public void onMouseMove(int button, int shift, int x, int y) throws IOException, AutomationException
onMouseMove
in interface ISelectionTracker
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.public void onMouseUp(int button, int shift, int x, int y) throws IOException, AutomationException
onMouseUp
in interface ISelectionTracker
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.public boolean onKeyDown(int keyCode, int shift) throws IOException, AutomationException
onKeyDown
in interface ISelectionTracker
keyCode
- 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 ISelectionTracker
keyCode
- 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 ISelectionTracker
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLocked(boolean locked) throws IOException, AutomationException
setLocked
in interface ISelectionTracker
locked
- 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 ISelectionTracker
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowHandles(boolean showHandles) throws IOException, AutomationException
setShowHandles
in interface ISelectionTracker
showHandles
- 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 ISelectionTracker
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryMoveFeedback(IDisplayFeedback moveFeedback) throws IOException, AutomationException
queryMoveFeedback
in interface ISelectionTracker
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.public void queryResizeFeedback(IDisplayFeedback resizeFeedback) throws IOException, AutomationException
queryResizeFeedback
in interface ISelectionTracker
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.public int findNodeIndex(IPoint cursorPosition) throws IOException, AutomationException
findNodeIndex
in interface IPointCollectionTracker
cursorPosition
- A reference to a com.esri.arcgis.geometry.IPoint (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 |