|
|||||||||
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
COM Class 'SnapGuides'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description 'Snapping Guides 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.ISnapGuides |
---|
IID, IID31e081ab_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 | |
---|---|
SnapGuides()
Constructs a SnapGuides using ArcGIS Engine. |
|
SnapGuides(java.lang.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(java.lang.Object o)
Compare this object with another |
void |
getClassID(GUID[] pClassID)
getClassID |
static java.lang.String |
getClsid()
getClsid. |
int |
getDrawLevel()
Level where guides are drawn. |
double |
getGuide(int idx)
The nth guide. |
int |
getGuideCount()
The number of guides. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
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(java.io.ObjectInput in)
|
void |
release()
Release a SnapGuides. |
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(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 SnapGuides() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic SnapGuides(java.lang.Object obj) throws java.io.IOException
SnapGuides theSnapGuides = (SnapGuides) obj;
obj
to SnapGuides
.
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 isAreVisible() throws java.io.IOException, AutomationException
isAreVisible
in interface ISnapGuides
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAreVisible(boolean areVisible) throws java.io.IOException, AutomationException
setAreVisible
in interface ISnapGuides
areVisible
- The areVisible (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDrawLevel() throws java.io.IOException, AutomationException
getDrawLevel
in interface ISnapGuides
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDrawLevel(int drawLevel) throws java.io.IOException, AutomationException
setDrawLevel
in interface ISnapGuides
drawLevel
- A com.esri.arcgis.carto.esriViewDrawPhase constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getGuideCount() throws java.io.IOException, AutomationException
getGuideCount
in interface ISnapGuides
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setGuide(int idx, double pos) throws java.io.IOException, AutomationException
setGuide
in interface ISnapGuides
idx
- The idx (in)pos
- The pos (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getGuide(int idx) throws java.io.IOException, AutomationException
getGuide
in interface ISnapGuides
idx
- The idx (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addGuide(double pos) throws java.io.IOException, AutomationException
addGuide
in interface ISnapGuides
pos
- The pos (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeGuide(int idx) throws java.io.IOException, AutomationException
removeGuide
in interface ISnapGuides
idx
- The idx (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAllGuides() throws java.io.IOException, AutomationException
removeAllGuides
in interface ISnapGuides
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void draw(IDisplay display, boolean isHorizontal) throws java.io.IOException, AutomationException
draw
in interface ISnapGuides
display
- A reference to a com.esri.arcgis.display.IDisplay (in)isHorizontal
- The isHorizontal (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void drawHighlight(IDisplay display, boolean isHorizontal) throws java.io.IOException, AutomationException
drawHighlight
in interface ISnapGuides
display
- A reference to a com.esri.arcgis.display.IDisplay (in)isHorizontal
- The isHorizontal (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 |