|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.GridSnap
public class GridSnap
Snap to grid agent.
Constructor Summary | |
---|---|
GridSnap()
Constructs a GridSnap using ArcGIS Engine. |
|
GridSnap(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GridSnap theGridSnap = (GridSnap) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
String |
getName()
The name of the snap agent. |
int |
hashCode()
the hashcode for this object |
void |
setPageLayout(IPageLayout rhs1)
The PageLayout that this snap agent is associated with. |
boolean |
snapX(IGeometry shape,
double tolerance)
Indicates if the point is snapped in the horizontal direction. |
boolean |
snapY(IGeometry shape,
double tolerance)
Indicates if the point is snapped in the vertical direction. |
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 GridSnap() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GridSnap(Object obj) throws IOException
GridSnap theGridSnap = (GridSnap) obj;
obj
to GridSnap
.
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 setPageLayout(IPageLayout rhs1) throws IOException, AutomationException
setPageLayout
in interface IPageLayoutSnap
rhs1
- A reference to a com.esri.arcgis.carto.IPageLayout (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
getName
in interface IGraphicSnap
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean snapX(IGeometry shape, double tolerance) throws IOException, AutomationException
snapX
in interface IGraphicSnap
shape
- A reference to a com.esri.arcgis.geometry.IGeometry (in)tolerance
- The tolerance (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean snapY(IGeometry shape, double tolerance) throws IOException, AutomationException
snapY
in interface IGraphicSnap
shape
- A reference to a com.esri.arcgis.geometry.IGeometry (in)tolerance
- The tolerance (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws IOException, AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
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 |