| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.RulerSnap
public class RulerSnap
Snap to ruler agent.
| Constructor Summary | |
|---|---|
| RulerSnap()Constructs a RulerSnap using ArcGIS Engine. | |
| RulerSnap(Object obj)Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.  RulerSnap theRulerSnap = (RulerSnap) 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 RulerSnap()
          throws IOException,
                 UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public RulerSnap(Object obj)
          throws IOException
 RulerSnap theRulerSnap = (RulerSnap) obj;
obj to RulerSnap.
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 setPageLayout(IPageLayout rhs1)
                   throws IOException,
                          AutomationException
setPageLayout in interface IPageLayoutSnaprhs1 - 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 IGraphicSnapIOException - 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 IGraphicSnapshape - 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 IGraphicSnapshape - 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 IPersistpClassID - 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 | ||||||||