|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.MarginSnap
public class MarginSnap
COM Class 'MarginSnap'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description 'Snap to margins agent.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.carto.IPageLayoutSnap |
---|
IID, IIDfc27faaf_db88_11d1_8778_0000f8751720, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IGraphicSnap |
---|
IID56fd87f5_ddce_11d1_8778_0000f8751720 |
Fields inherited from interface com.esri.arcgis.system.IPersist |
---|
IID, IID0000010c_0000_0000_c000_000000000046, xxDummy |
Constructor Summary | |
---|---|
MarginSnap()
Constructs a MarginSnap using ArcGIS Engine. |
|
MarginSnap(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. MarginSnap theMarginSnap = (MarginSnap) obj; |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another |
void |
getClassID(GUID[] pClassID)
getClassID |
static java.lang.String |
getClsid()
getClsid. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
java.lang.String |
getName()
The name of the snap agent. |
int |
hashCode()
the hashcode for this object |
void |
release()
Release a MarginSnap. |
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 |
Constructor Detail |
---|
public MarginSnap() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic MarginSnap(java.lang.Object obj) throws java.io.IOException
MarginSnap theMarginSnap = (MarginSnap) obj;
obj
to MarginSnap
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void setPageLayout(IPageLayout rhs1) throws java.io.IOException, AutomationException
setPageLayout
in interface IPageLayoutSnap
rhs1
- A reference to a com.esri.arcgis.carto.IPageLayout (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface IGraphicSnap
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean snapX(IGeometry shape, double tolerance) throws java.io.IOException, AutomationException
snapX
in interface IGraphicSnap
shape
- A reference to a com.esri.arcgis.geometry.IGeometry (in)tolerance
- The tolerance (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean snapY(IGeometry shape, double tolerance) throws java.io.IOException, AutomationException
snapY
in interface IGraphicSnap
shape
- A reference to a com.esri.arcgis.geometry.IGeometry (in)tolerance
- The tolerance (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
java.io.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 |