com.esri.arcgis.maplex
Class IMaplexPlacedLabelProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.maplex.IMaplexPlacedLabelProxy
All Implemented Interfaces:
IMaplexPlacedLabel, java.io.Externalizable, java.io.Serializable

public class IMaplexPlacedLabelProxy
extends com.esri.arcgis.interop.Dispatch
implements IMaplexPlacedLabel, java.io.Serializable

Internal use class Proxy for COM Interface 'IMaplexPlacedLabel'. Generated 3/19/2015 1:21:01 PM from 'C:\ArcGIS\COM\esriMaplex.olb'

Description: 'Provides access to members that define a placed label created by Maplex Overposter.' 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 =

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.maplex.IMaplexPlacedLabel
IID, IID20664808_b1b4_ad3d_90dd_08a009ec732a
 
Constructor Summary
  IMaplexPlacedLabelProxy()
          For internal use only
  IMaplexPlacedLabelProxy(java.lang.Object obj)
           
protected IMaplexPlacedLabelProxy(java.lang.Object obj, java.lang.String iid)
           
  IMaplexPlacedLabelProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IMaplexPlacedLabelProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.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.
 java.lang.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(java.lang.String iidStr, java.lang.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(java.lang.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

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

IMaplexPlacedLabelProxy

public IMaplexPlacedLabelProxy(java.lang.String CLSID,
                               java.lang.String host,
                               com.esri.arcgis.interop.AuthInfo authInfo)
                        throws java.net.UnknownHostException,
                               java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

IMaplexPlacedLabelProxy

public IMaplexPlacedLabelProxy()
For internal use only


IMaplexPlacedLabelProxy

public IMaplexPlacedLabelProxy(java.lang.Object obj)
                        throws java.io.IOException
Throws:
java.io.IOException

IMaplexPlacedLabelProxy

protected IMaplexPlacedLabelProxy(java.lang.Object obj,
                                  java.lang.String iid)
                           throws java.io.IOException
Throws:
java.io.IOException

IMaplexPlacedLabelProxy

protected IMaplexPlacedLabelProxy(java.lang.String CLSID,
                                  java.lang.String iid,
                                  java.lang.String host,
                                  com.esri.arcgis.interop.AuthInfo authInfo)
                           throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

getObjectType

public int getObjectType()
                  throws java.io.IOException,
                         AutomationException
Type of the placed object.

Specified by:
getObjectType in interface IMaplexPlacedLabel
Returns:
A com.esri.arcgis.carto.esriPlacedObjectType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setObjectType

public void setObjectType(int type)
                   throws java.io.IOException,
                          AutomationException
Type of the placed object.

Specified by:
setObjectType in interface IMaplexPlacedLabel
Parameters:
type - A com.esri.arcgis.carto.esriPlacedObjectType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLabel

public java.lang.String getLabel()
                          throws java.io.IOException,
                                 AutomationException
Text string that represents the label.

Specified by:
getLabel in interface IMaplexPlacedLabel
Returns:
The label
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLabel

public void setLabel(java.lang.String label)
              throws java.io.IOException,
                     AutomationException
Text string that represents the label.

Specified by:
setLabel in interface IMaplexPlacedLabel
Parameters:
label - The label (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTextPath

public IGeometry getTextPath()
                      throws java.io.IOException,
                             AutomationException
Text path geometry for positioning the text.

Specified by:
getTextPath in interface IMaplexPlacedLabel
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTextPath

public void setTextPath(IGeometry shape)
                 throws java.io.IOException,
                        AutomationException
Text path geometry for positioning the text.

Specified by:
setTextPath in interface IMaplexPlacedLabel
Parameters:
shape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTextPathType

public int getTextPathType()
                    throws java.io.IOException,
                           AutomationException
Type of text path.

Specified by:
getTextPathType in interface IMaplexPlacedLabel
Returns:
A com.esri.arcgis.maplex.esriMaplexTextPathType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTextPathType

public void setTextPathType(int textPathType)
                     throws java.io.IOException,
                            AutomationException
Type of text path.

Specified by:
setTextPathType in interface IMaplexPlacedLabel
Parameters:
textPathType - A com.esri.arcgis.maplex.esriMaplexTextPathType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFeatureID

public int getFeatureID()
                 throws java.io.IOException,
                        AutomationException
FeatureID associated with the placed label.

Specified by:
getFeatureID in interface IMaplexPlacedLabel
Returns:
The featureID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFeatureID

public void setFeatureID(int featureID)
                  throws java.io.IOException,
                         AutomationException
FeatureID associated with the placed label.

Specified by:
setFeatureID in interface IMaplexPlacedLabel
Parameters:
featureID - The featureID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPlacementCode

public int getPlacementCode()
                     throws java.io.IOException,
                            AutomationException
Code that indicates success/failure of placement.

Specified by:
getPlacementCode in interface IMaplexPlacedLabel
Returns:
A com.esri.arcgis.carto.esriPlacementCode constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPlacementCode

public void setPlacementCode(int placementCode)
                      throws java.io.IOException,
                             AutomationException
Code that indicates success/failure of placement.

Specified by:
setPlacementCode in interface IMaplexPlacedLabel
Parameters:
placementCode - A com.esri.arcgis.carto.esriPlacementCode constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassIndex

public int getClassIndex()
                  throws java.io.IOException,
                         AutomationException
Class index associated with the label.

Specified by:
getClassIndex in interface IMaplexPlacedLabel
Returns:
The index
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setClassIndex

public void setClassIndex(int index)
                   throws java.io.IOException,
                          AutomationException
Class index associated with the label.

Specified by:
setClassIndex in interface IMaplexPlacedLabel
Parameters:
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSize

public double getSize()
               throws java.io.IOException,
                      AutomationException
Text size of the placed label.

Specified by:
getSize in interface IMaplexPlacedLabel
Returns:
The size
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSize

public void setSize(double size)
             throws java.io.IOException,
                    AutomationException
Text size of the placed label.

Specified by:
setSize in interface IMaplexPlacedLabel
Parameters:
size - The size (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCharacterWidth

public double getCharacterWidth()
                         throws java.io.IOException,
                                AutomationException
The character width of the placed label.

Specified by:
getCharacterWidth in interface IMaplexPlacedLabel
Returns:
The width
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCharacterWidth

public void setCharacterWidth(double width)
                       throws java.io.IOException,
                              AutomationException
The character width of the placed label.

Specified by:
setCharacterWidth in interface IMaplexPlacedLabel
Parameters:
width - The width (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWordSpacing

public double getWordSpacing()
                      throws java.io.IOException,
                             AutomationException
The word spacing of the placed label.

Specified by:
getWordSpacing in interface IMaplexPlacedLabel
Returns:
The spacing
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setWordSpacing

public void setWordSpacing(double spacing)
                    throws java.io.IOException,
                           AutomationException
The word spacing of the placed label.

Specified by:
setWordSpacing in interface IMaplexPlacedLabel
Parameters:
spacing - The spacing (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCharacterSpacing

public double getCharacterSpacing()
                           throws java.io.IOException,
                                  AutomationException
The character spacing of the placed label.

Specified by:
getCharacterSpacing in interface IMaplexPlacedLabel
Returns:
The spacing
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCharacterSpacing

public void setCharacterSpacing(double spacing)
                         throws java.io.IOException,
                                AutomationException
The character spacing of the placed label.

Specified by:
setCharacterSpacing in interface IMaplexPlacedLabel
Parameters:
spacing - The spacing (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLeading

public double getLeading()
                  throws java.io.IOException,
                         AutomationException
The leading value for stacked labels.

Specified by:
getLeading in interface IMaplexPlacedLabel
Returns:
The leading
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLeading

public void setLeading(double leading)
                throws java.io.IOException,
                       AutomationException
The leading value for stacked labels.

Specified by:
setLeading in interface IMaplexPlacedLabel
Parameters:
leading - The leading (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHorizontalAlignment

public int getHorizontalAlignment()
                           throws java.io.IOException,
                                  AutomationException
The horizontal alignment for the placed label.

Specified by:
getHorizontalAlignment in interface IMaplexPlacedLabel
Returns:
A com.esri.arcgis.display.esriTextHorizontalAlignment constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHorizontalAlignment

public void setHorizontalAlignment(int alignment)
                            throws java.io.IOException,
                                   AutomationException
The horizontal alignment for the placed label.

Specified by:
setHorizontalAlignment in interface IMaplexPlacedLabel
Parameters:
alignment - A com.esri.arcgis.display.esriTextHorizontalAlignment constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAnchorPoint

public IPoint getAnchorPoint()
                      throws java.io.IOException,
                             AutomationException
The anchor point used for text backgrounds with a callout.

Specified by:
getAnchorPoint in interface IMaplexPlacedLabel
Returns:
A reference to a com.esri.arcgis.geometry.IPoint
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAnchorPoint

public void setAnchorPoint(IPoint anchorPoint)
                    throws java.io.IOException,
                           AutomationException
The anchor point used for text backgrounds with a callout.

Specified by:
setAnchorPoint in interface IMaplexPlacedLabel
Parameters:
anchorPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBounds

public IPolygon getBounds()
                   throws java.io.IOException,
                          AutomationException
The bounds of the placed label.

Specified by:
getBounds in interface IMaplexPlacedLabel
Returns:
A reference to a com.esri.arcgis.geometry.IPolygon
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBounds

public void setBounds(IPolygon bounds)
               throws java.io.IOException,
                      AutomationException
The bounds of the placed label.

Specified by:
setBounds in interface IMaplexPlacedLabel
Parameters:
bounds - A reference to a com.esri.arcgis.geometry.IPolygon (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCJKCharactersRotation

public void setCJKCharactersRotation(boolean rotation)
                              throws java.io.IOException,
                                     AutomationException
Indicates if CJK charcters are rotated.

Specified by:
setCJKCharactersRotation in interface IMaplexPlacedLabel
Parameters:
rotation - The rotation (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCJKCharactersRotation

public boolean isCJKCharactersRotation()
                                throws java.io.IOException,
                                       AutomationException
Indicates if CJK charcters are rotated.

Specified by:
isCJKCharactersRotation in interface IMaplexPlacedLabel
Returns:
The rotation
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.