|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.SnapGuides
public class SnapGuides
Snapping Guides for use with a PageLayout.
Constructor Summary | |
---|---|
SnapGuides()
Constructs a SnapGuides using ArcGIS Engine. |
|
SnapGuides(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. SnapGuides theSnapGuides = (SnapGuides) obj; |
Method Summary | |
---|---|
void |
addGuide(double pos)
Adds a guide at the specified position. |
void |
draw(IDisplay display,
boolean isHorizontal)
Draw a fine line showing exactly where objects will snap. |
void |
drawHighlight(IDisplay display,
boolean isHorizontal)
Draw a highlight around the snap line for a nice visual effect. |
boolean |
equals(Object o)
Compare this object with another |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
int |
getDrawLevel()
Level where guides are drawn. |
double |
getGuide(int idx)
The nth guide. |
int |
getGuideCount()
The number of guides. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
hashCode()
the hashcode for this object |
boolean |
isAreVisible()
Indicates if snapping guides are visible. |
void |
isDirty()
isDirty |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
removeAllGuides()
Removes all the guides. |
void |
removeGuide(int idx)
Removes the nth guide. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setAreVisible(boolean areVisible)
Indicates if snapping guides are visible. |
void |
setDrawLevel(int drawLevel)
Level where guides are drawn. |
void |
setGuide(int idx,
double pos)
The nth guide. |
void |
writeExternal(ObjectOutput out)
|
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 SnapGuides() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic SnapGuides(Object obj) throws IOException
SnapGuides theSnapGuides = (SnapGuides) obj;
obj
to SnapGuides
.
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 boolean isAreVisible() throws IOException, AutomationException
isAreVisible
in interface ISnapGuides
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAreVisible(boolean areVisible) throws IOException, AutomationException
setAreVisible
in interface ISnapGuides
areVisible
- The areVisible (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDrawLevel() throws IOException, AutomationException
getDrawLevel
in interface ISnapGuides
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDrawLevel(int drawLevel) throws IOException, AutomationException
setDrawLevel
in interface ISnapGuides
drawLevel
- A com.esri.arcgis.carto.esriViewDrawPhase constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getGuideCount() throws IOException, AutomationException
getGuideCount
in interface ISnapGuides
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setGuide(int idx, double pos) throws IOException, AutomationException
setGuide
in interface ISnapGuides
idx
- The idx (in)pos
- The pos (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getGuide(int idx) throws IOException, AutomationException
getGuide
in interface ISnapGuides
idx
- The idx (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addGuide(double pos) throws IOException, AutomationException
addGuide
in interface ISnapGuides
pos
- The pos (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeGuide(int idx) throws IOException, AutomationException
removeGuide
in interface ISnapGuides
idx
- The idx (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAllGuides() throws IOException, AutomationException
removeAllGuides
in interface ISnapGuides
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void draw(IDisplay display, boolean isHorizontal) throws IOException, AutomationException
draw
in interface ISnapGuides
display
- A reference to a com.esri.arcgis.display.IDisplay (in)isHorizontal
- The isHorizontal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void drawHighlight(IDisplay display, boolean isHorizontal) throws IOException, AutomationException
drawHighlight
in interface ISnapGuides
display
- A reference to a com.esri.arcgis.display.IDisplay (in)isHorizontal
- The isHorizontal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty
in interface IPersistStream
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
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.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |