|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.maplex.MaplexPlacedLabel
public class MaplexPlacedLabel
A label created by the Maplex Overposter.
The label produced by the Maplex engine - these may be placed or even "unplaced" (which simply means that a satisfactory position could not be found).
com.esri.arcgis.maplex.MaplexExtension,
MaplexOverposter,
Serialized Form| Constructor Summary | |
|---|---|
MaplexPlacedLabel(Object obj)
Construct a MaplexPlacedLabel using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
IPoint |
getAnchorPoint()
The anchor point used for text backgrounds with a callout. |
IPolygon |
getBounds()
The bounds of the placed label. |
double |
getCharacterSpacing()
The character spacing of the placed label. |
double |
getCharacterWidth()
The character width of the placed label. |
int |
getClassIndex()
Class index associated with the label. |
int |
getFeatureID()
FeatureID associated with the placed label. |
int |
getHorizontalAlignment()
The horizontal alignment for the placed label. |
String |
getLabel()
Text string that represents the label. |
double |
getLeading()
The leading value for stacked labels. |
int |
getObjectType()
Type of the placed object. |
int |
getPlacementCode()
Code that indicates success/failure of placement. |
double |
getSize()
Text size of the placed label. |
IGeometry |
getTextPath()
Text path geometry for positioning the text. |
int |
getTextPathType()
Type of text path. |
double |
getWordSpacing()
The word spacing of the placed label. |
int |
hashCode()
the hashcode for this object |
boolean |
isCJKCharactersRotation()
Indicates if CJK charcters are rotated. |
void |
setAnchorPoint(IPoint anchorPoint)
The anchor point used for text backgrounds with a callout. |
void |
setBounds(IPolygon bounds)
The bounds of the placed label. |
void |
setCharacterSpacing(double spacing)
The character spacing of the placed label. |
void |
setCharacterWidth(double width)
The character width of the placed label. |
void |
setCJKCharactersRotation(boolean rotation)
Indicates if CJK charcters are rotated. |
void |
setClassIndex(int index)
Class index associated with the label. |
void |
setFeatureID(int featureID)
FeatureID associated with the placed label. |
void |
setHorizontalAlignment(int alignment)
The horizontal alignment for the placed label. |
void |
setLabel(String label)
Text string that represents the label. |
void |
setLeading(double leading)
The leading value for stacked labels. |
void |
setObjectType(int type)
Type of the placed object. |
void |
setPlacementCode(int placementCode)
Code that indicates success/failure of placement. |
void |
setSize(double size)
Text size of the placed label. |
void |
setTextPath(IGeometry shape)
Text path geometry for positioning the text. |
void |
setTextPathType(int textPathType)
Type of text path. |
void |
setWordSpacing(double spacing)
The word spacing of the placed label. |
| 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 MaplexPlacedLabel(Object obj)
throws IOException
obj to MaplexPlacedLabel. *
MaplexPlacedLabel o = (MaplexPlacedLabel)obj; // will not work
MaplexPlacedLabel o = new MaplexPlacedLabel(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException - if there are interop problems
MaplexPlacedLabel theMaplexPlacedLabel = (MaplexPlacedLabel) obj;| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public int getObjectType()
throws IOException,
AutomationException
getObjectType in interface IMaplexPlacedLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setObjectType(int type)
throws IOException,
AutomationException
setObjectType in interface IMaplexPlacedLabeltype - A com.esri.arcgis.carto.esriPlacedObjectType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getLabel()
throws IOException,
AutomationException
getLabel in interface IMaplexPlacedLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLabel(String label)
throws IOException,
AutomationException
setLabel in interface IMaplexPlacedLabellabel - The label (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGeometry getTextPath()
throws IOException,
AutomationException
getTextPath in interface IMaplexPlacedLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTextPath(IGeometry shape)
throws IOException,
AutomationException
setTextPath in interface IMaplexPlacedLabelshape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getTextPathType()
throws IOException,
AutomationException
getTextPathType in interface IMaplexPlacedLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTextPathType(int textPathType)
throws IOException,
AutomationException
setTextPathType in interface IMaplexPlacedLabeltextPathType - A com.esri.arcgis.maplex.esriMaplexTextPathType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getFeatureID()
throws IOException,
AutomationException
getFeatureID in interface IMaplexPlacedLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFeatureID(int featureID)
throws IOException,
AutomationException
setFeatureID in interface IMaplexPlacedLabelfeatureID - The featureID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getPlacementCode()
throws IOException,
AutomationException
getPlacementCode in interface IMaplexPlacedLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPlacementCode(int placementCode)
throws IOException,
AutomationException
setPlacementCode in interface IMaplexPlacedLabelplacementCode - A com.esri.arcgis.carto.esriPlacementCode constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getClassIndex()
throws IOException,
AutomationException
getClassIndex in interface IMaplexPlacedLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setClassIndex(int index)
throws IOException,
AutomationException
setClassIndex in interface IMaplexPlacedLabelindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getSize()
throws IOException,
AutomationException
getSize in interface IMaplexPlacedLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSize(double size)
throws IOException,
AutomationException
setSize in interface IMaplexPlacedLabelsize - The size (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getCharacterWidth()
throws IOException,
AutomationException
getCharacterWidth in interface IMaplexPlacedLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCharacterWidth(double width)
throws IOException,
AutomationException
setCharacterWidth in interface IMaplexPlacedLabelwidth - The width (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getWordSpacing()
throws IOException,
AutomationException
getWordSpacing in interface IMaplexPlacedLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setWordSpacing(double spacing)
throws IOException,
AutomationException
setWordSpacing in interface IMaplexPlacedLabelspacing - The spacing (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getCharacterSpacing()
throws IOException,
AutomationException
getCharacterSpacing in interface IMaplexPlacedLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCharacterSpacing(double spacing)
throws IOException,
AutomationException
setCharacterSpacing in interface IMaplexPlacedLabelspacing - The spacing (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getLeading()
throws IOException,
AutomationException
getLeading in interface IMaplexPlacedLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLeading(double leading)
throws IOException,
AutomationException
setLeading in interface IMaplexPlacedLabelleading - The leading (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getHorizontalAlignment()
throws IOException,
AutomationException
getHorizontalAlignment in interface IMaplexPlacedLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHorizontalAlignment(int alignment)
throws IOException,
AutomationException
setHorizontalAlignment in interface IMaplexPlacedLabelalignment - A com.esri.arcgis.display.esriTextHorizontalAlignment constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPoint getAnchorPoint()
throws IOException,
AutomationException
getAnchorPoint in interface IMaplexPlacedLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAnchorPoint(IPoint anchorPoint)
throws IOException,
AutomationException
setAnchorPoint in interface IMaplexPlacedLabelanchorPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPolygon getBounds()
throws IOException,
AutomationException
getBounds in interface IMaplexPlacedLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBounds(IPolygon bounds)
throws IOException,
AutomationException
setBounds in interface IMaplexPlacedLabelbounds - A reference to a com.esri.arcgis.geometry.IPolygon (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCJKCharactersRotation(boolean rotation)
throws IOException,
AutomationException
setCJKCharactersRotation in interface IMaplexPlacedLabelrotation - The rotation (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCJKCharactersRotation()
throws IOException,
AutomationException
isCJKCharactersRotation in interface IMaplexPlacedLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||