|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.SnapGrid
public class SnapGrid
COM Class 'SnapGrid'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description 'Snapping Grid for use with a PageLayout.' 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 | |
---|---|
static long |
serialVersionUID
|
Fields inherited from interface com.esri.arcgis.carto.ISnapGrid |
---|
IID, IID31e081aa_cb02_11d1_876c_0000f8751720, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IPersistStream |
---|
IID, IID00000109_0000_0000_c000_000000000046, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IPersist |
---|
IID0000010c_0000_0000_c000_000000000046 |
Constructor Summary | |
---|---|
SnapGrid()
Constructs a SnapGrid using ArcGIS Engine. |
|
SnapGrid(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. SnapGrid theSnapGrid = (SnapGrid) obj; |
Method Summary | |
---|---|
void |
draw(IDisplay display,
IPage page)
Draw the grid. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
void |
getClassID(GUID[] pClassID)
getClassID |
static java.lang.String |
getClsid()
getClsid. |
double |
getHorizontalSpacing()
The horizontal distance between grid points. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
double |
getVerticalSpacing()
The vertical distance between grid points. |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
isDirty |
boolean |
isVisible()
Indicates if the snapping grid is visible. |
void |
load(IStream pstm)
load |
void |
readExternal(java.io.ObjectInput in)
|
void |
release()
Release a SnapGrid. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setHorizontalSpacing(double spacing)
The horizontal distance between grid points. |
void |
setIsVisible(boolean isVisible)
Indicates if the snapping grid is visible. |
void |
setVerticalSpacing(double spacing)
The vertical distance between grid points. |
void |
writeExternal(java.io.ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public SnapGrid() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic SnapGrid(java.lang.Object obj) throws java.io.IOException
SnapGrid theSnapGrid = (SnapGrid) obj;
obj
to SnapGrid
.
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 boolean isVisible() throws java.io.IOException, AutomationException
isVisible
in interface ISnapGrid
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIsVisible(boolean isVisible) throws java.io.IOException, AutomationException
setIsVisible
in interface ISnapGrid
isVisible
- The isVisible (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getHorizontalSpacing() throws java.io.IOException, AutomationException
getHorizontalSpacing
in interface ISnapGrid
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHorizontalSpacing(double spacing) throws java.io.IOException, AutomationException
setHorizontalSpacing
in interface ISnapGrid
spacing
- The spacing (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getVerticalSpacing() throws java.io.IOException, AutomationException
getVerticalSpacing
in interface ISnapGrid
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVerticalSpacing(double spacing) throws java.io.IOException, AutomationException
setVerticalSpacing
in interface ISnapGrid
spacing
- The spacing (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void draw(IDisplay display, IPage page) throws java.io.IOException, AutomationException
draw
in interface ISnapGrid
display
- A reference to a com.esri.arcgis.display.IDisplay (in)page
- A reference to a com.esri.arcgis.carto.IPage (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws java.io.IOException, AutomationException
isDirty
in interface IPersistStream
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
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.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |