|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.LineLabelPosition
public class LineLabelPosition
Controls the relative positions of line labels.
Constructor Summary | |
---|---|
LineLabelPosition()
Constructs a LineLabelPosition using ArcGIS Engine. |
|
LineLabelPosition(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. LineLabelPosition theLineLabelPosition = (LineLabelPosition) obj; |
Method Summary | |
---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
boolean |
equals(Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
double |
getOffset()
Offset from the start/end of lines (in map units). |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
hashCode()
the hashcode for this object |
boolean |
isAbove()
Indicates if labels are placed above lines. |
boolean |
isAtEnd()
Indicates if labels are placed at the end of lines. |
boolean |
isAtStart()
Indicates if labels are placed at the start of lines. |
boolean |
isBelow()
Indicates if labels are placed below lines. |
void |
isDirty()
isDirty |
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties. |
boolean |
isHorizontal()
Indicates if labels are placed horizontally. |
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object. |
boolean |
isInLine()
Indicates if labels are placed along lines at the best position. |
boolean |
isLeft()
Indicates if labels are placed to the left of lines. |
boolean |
isOnTop()
Indicates if labels are placed on top of lines. |
boolean |
isParallel()
Indicates if labels are placed parallel to lines. |
boolean |
isPerpendicular()
Indicates if labels are placed perpendicular to lines. |
boolean |
isProduceCurvedLabels()
Indicates if labels follow lines. |
boolean |
isRight()
Indicates if labels are placed to the right of lines. |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setAbove(boolean flag)
Indicates if labels are placed above lines. |
void |
setAtEnd(boolean flag)
Indicates if labels are placed at the end of lines. |
void |
setAtStart(boolean flag)
Indicates if labels are placed at the start of lines. |
void |
setBelow(boolean flag)
Indicates if labels are placed below lines. |
void |
setHorizontal(boolean flag)
Indicates if labels are placed horizontally. |
void |
setInLine(boolean flag)
Indicates if labels are placed along lines at the best position. |
void |
setLeft(boolean flag)
Indicates if labels are placed to the left of lines. |
void |
setOffset(double offset)
Offset from the start/end of lines (in map units). |
void |
setOnTop(boolean flag)
Indicates if labels are placed on top of lines. |
void |
setParallel(boolean flag)
Indicates if labels are placed parallel to lines. |
void |
setPerpendicular(boolean flag)
Indicates if labels are placed perpendicular to lines. |
void |
setProduceCurvedLabels(boolean flag)
Indicates if labels follow lines. |
void |
setRight(boolean flag)
Indicates if labels are placed to the right of lines. |
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 LineLabelPosition() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic LineLabelPosition(Object obj) throws IOException
LineLabelPosition theLineLabelPosition = (LineLabelPosition) obj;
obj
to LineLabelPosition
.
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 isProduceCurvedLabels() throws IOException, AutomationException
isProduceCurvedLabels
in interface ILineLabelPosition
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setProduceCurvedLabels(boolean flag) throws IOException, AutomationException
setProduceCurvedLabels
in interface ILineLabelPosition
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAbove() throws IOException, AutomationException
isAbove
in interface ILineLabelPosition
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAbove(boolean flag) throws IOException, AutomationException
setAbove
in interface ILineLabelPosition
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isBelow() throws IOException, AutomationException
isBelow
in interface ILineLabelPosition
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBelow(boolean flag) throws IOException, AutomationException
setBelow
in interface ILineLabelPosition
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isOnTop() throws IOException, AutomationException
isOnTop
in interface ILineLabelPosition
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOnTop(boolean flag) throws IOException, AutomationException
setOnTop
in interface ILineLabelPosition
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isLeft() throws IOException, AutomationException
isLeft
in interface ILineLabelPosition
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLeft(boolean flag) throws IOException, AutomationException
setLeft
in interface ILineLabelPosition
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRight() throws IOException, AutomationException
isRight
in interface ILineLabelPosition
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRight(boolean flag) throws IOException, AutomationException
setRight
in interface ILineLabelPosition
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isInLine() throws IOException, AutomationException
If True then each label is placed along its line feature at the best position.
isInLine
in interface ILineLabelPosition
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setInLine(boolean flag) throws IOException, AutomationException
setInLine
in interface ILineLabelPosition
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAtStart() throws IOException, AutomationException
isAtStart
in interface ILineLabelPosition
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAtStart(boolean flag) throws IOException, AutomationException
setAtStart
in interface ILineLabelPosition
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAtEnd() throws IOException, AutomationException
isAtEnd
in interface ILineLabelPosition
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAtEnd(boolean flag) throws IOException, AutomationException
setAtEnd
in interface ILineLabelPosition
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isParallel() throws IOException, AutomationException
isParallel
in interface ILineLabelPosition
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setParallel(boolean flag) throws IOException, AutomationException
setParallel
in interface ILineLabelPosition
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isPerpendicular() throws IOException, AutomationException
isPerpendicular
in interface ILineLabelPosition
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPerpendicular(boolean flag) throws IOException, AutomationException
setPerpendicular
in interface ILineLabelPosition
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHorizontal() throws IOException, AutomationException
isHorizontal
in interface ILineLabelPosition
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHorizontal(boolean flag) throws IOException, AutomationException
setHorizontal
in interface ILineLabelPosition
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getOffset() throws IOException, AutomationException
getOffset
in interface ILineLabelPosition
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOffset(double offset) throws IOException, AutomationException
setOffset
in interface ILineLabelPosition
offset
- The offset (in)
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 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 IClone esri_clone() throws IOException, AutomationException
esri_clone
in interface IClone
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws IOException, AutomationException
IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws IOException, AutomationException
IsIdentical returns true if the receiver and the source reference the same object.
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
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 |