|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.maplex.IMaplexPlacedLabelProxy
public class IMaplexPlacedLabelProxy
Provides access to members that define a placed label created by Maplex Overposter.
A MaplexPlacedLabel represents a single placed, or unplaced, label produced by the label placement process.
Note that if the label was unplaced, it shares the same characteristics as a placed label, except its status is ‘unplaced’ and its position is set at the best found, which usually contains some overlap with other labels or a contorted label baseline.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IMaplexPlacedLabelProxy()
|
|
IMaplexPlacedLabelProxy(Object obj)
|
protected |
IMaplexPlacedLabelProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
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. |
boolean |
isCJKCharactersRotation()
Indicates if CJK charcters are rotated. |
void |
removeListener(String iidStr,
Object theListener)
|
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 com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IMaplexPlacedLabelProxy()
public IMaplexPlacedLabelProxy(Object obj) throws IOException
IOException
protected IMaplexPlacedLabelProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public int getObjectType() throws IOException, AutomationException
getObjectType
in interface IMaplexPlacedLabel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setObjectType(int type) throws IOException, AutomationException
setObjectType
in interface IMaplexPlacedLabel
type
- 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 IMaplexPlacedLabel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLabel(String label) throws IOException, AutomationException
setLabel
in interface IMaplexPlacedLabel
label
- 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 IMaplexPlacedLabel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTextPath(IGeometry shape) throws IOException, AutomationException
setTextPath
in interface IMaplexPlacedLabel
shape
- 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 IMaplexPlacedLabel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTextPathType(int textPathType) throws IOException, AutomationException
setTextPathType
in interface IMaplexPlacedLabel
textPathType
- 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 IMaplexPlacedLabel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFeatureID(int featureID) throws IOException, AutomationException
setFeatureID
in interface IMaplexPlacedLabel
featureID
- 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 IMaplexPlacedLabel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPlacementCode(int placementCode) throws IOException, AutomationException
setPlacementCode
in interface IMaplexPlacedLabel
placementCode
- 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 IMaplexPlacedLabel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setClassIndex(int index) throws IOException, AutomationException
setClassIndex
in interface IMaplexPlacedLabel
index
- 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 IMaplexPlacedLabel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSize(double size) throws IOException, AutomationException
setSize
in interface IMaplexPlacedLabel
size
- 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 IMaplexPlacedLabel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCharacterWidth(double width) throws IOException, AutomationException
setCharacterWidth
in interface IMaplexPlacedLabel
width
- 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 IMaplexPlacedLabel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setWordSpacing(double spacing) throws IOException, AutomationException
setWordSpacing
in interface IMaplexPlacedLabel
spacing
- 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 IMaplexPlacedLabel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCharacterSpacing(double spacing) throws IOException, AutomationException
setCharacterSpacing
in interface IMaplexPlacedLabel
spacing
- 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 IMaplexPlacedLabel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLeading(double leading) throws IOException, AutomationException
setLeading
in interface IMaplexPlacedLabel
leading
- 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 IMaplexPlacedLabel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHorizontalAlignment(int alignment) throws IOException, AutomationException
setHorizontalAlignment
in interface IMaplexPlacedLabel
alignment
- 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 IMaplexPlacedLabel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAnchorPoint(IPoint anchorPoint) throws IOException, AutomationException
setAnchorPoint
in interface IMaplexPlacedLabel
anchorPoint
- 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 IMaplexPlacedLabel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBounds(IPolygon bounds) throws IOException, AutomationException
setBounds
in interface IMaplexPlacedLabel
bounds
- 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 IMaplexPlacedLabel
rotation
- 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 IMaplexPlacedLabel
IOException
- 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 |