|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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 problems
public 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 problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public boolean isAreVisible()
throws IOException,
AutomationException
isAreVisible in interface ISnapGuidesIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAreVisible(boolean areVisible)
throws IOException,
AutomationException
setAreVisible in interface ISnapGuidesareVisible - 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 ISnapGuidesIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDrawLevel(int drawLevel)
throws IOException,
AutomationException
setDrawLevel in interface ISnapGuidesdrawLevel - 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 ISnapGuidesIOException - 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 ISnapGuidesidx - 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 ISnapGuidesidx - 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 ISnapGuidespos - 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 ISnapGuidesidx - 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 ISnapGuidesIOException - 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 ISnapGuidesdisplay - 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 ISnapGuidesdisplay - 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 IPersistStreamIOException - 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 IPersistStreampstm - 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 IPersistStreampstm - 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 IPersistStreampcbSize - 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 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.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||