|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.display.AnchorPoint
public class AnchorPoint
Anchor point class for rubberbanding objects.
The anchor point represents a point that can be used when manipulating elements and features. When working with elements, anchor points can be considered a helper object, rather than an essential. You will first need to cocreate the anchor point and then manipulate it. This is useful when implementing your own tools and objects, for example, a custom rotation tool.
| Constructor Summary | |
|---|---|
AnchorPoint()
Constructs a AnchorPoint using ArcGIS Engine. |
|
AnchorPoint(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. AnchorPoint theAnchorPoint = (AnchorPoint) obj; |
|
| Method Summary | |
|---|---|
void |
draw(IDisplay display)
Draw the anchor. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getCursor()
Cursor displayed when mouse is over anchor. |
IPoint |
getPoint()
Location of anchor point. |
ISymbol |
getSymbol()
Anchor point symbol. |
int |
hashCode()
the hashcode for this object |
boolean |
hitTest(IPoint point,
double tol)
Check if mouse is over anchor. |
void |
moveTo(IPoint pPoint,
IDisplay display)
Move the anchor. |
void |
setPoint(IPoint point)
Location of anchor point. |
void |
setSymbolByRef(ISymbol symbol)
Anchor point symbol. |
| 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 AnchorPoint()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public AnchorPoint(Object obj)
throws IOException
AnchorPoint theAnchorPoint = (AnchorPoint) obj;
obj to AnchorPoint.
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 setPoint(IPoint point)
throws IOException,
AutomationException
setPoint in interface IAnchorPointpoint - 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 IPoint getPoint()
throws IOException,
AutomationException
getPoint in interface IAnchorPointIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSymbolByRef(ISymbol symbol)
throws IOException,
AutomationException
setSymbolByRef in interface IAnchorPointsymbol - A reference to a com.esri.arcgis.display.ISymbol (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISymbol getSymbol()
throws IOException,
AutomationException
getSymbol in interface IAnchorPointIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCursor()
throws IOException,
AutomationException
getCursor in interface IAnchorPointIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean hitTest(IPoint point,
double tol)
throws IOException,
AutomationException
hitTest in interface IAnchorPointpoint - A reference to a com.esri.arcgis.geometry.IPoint (in)tol - The tol (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void draw(IDisplay display)
throws IOException,
AutomationException
draw in interface IAnchorPointdisplay - 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 void moveTo(IPoint pPoint,
IDisplay display)
throws IOException,
AutomationException
moveTo in interface IAnchorPointpPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||