com.esri.arcgis.display
Class IDynamicSymbolProperties2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.display.IDynamicSymbolPropertiesProxy
          extended by com.esri.arcgis.display.IDynamicSymbolProperties2Proxy
All Implemented Interfaces:
IDynamicSymbolProperties, IDynamicSymbolProperties2, java.io.Externalizable, java.io.Serializable

public class IDynamicSymbolProperties2Proxy
extends IDynamicSymbolPropertiesProxy
implements IDynamicSymbolProperties2, java.io.Serializable

Internal use class Proxy for COM Interface 'IDynamicSymbolProperties2'. Generated 3/19/2015 1:20:53 PM from 'C:\ArcGIS\COM\esriDisplay.olb'

Description: 'Provides access to dynamic symbol properties.' 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.display.IDynamicSymbolProperties2
IID, IIDb66f411f_0244_4578_803b_4da18aeebaab
 
Fields inherited from interface com.esri.arcgis.display.IDynamicSymbolProperties
IID23783eda_6341_4e81_b129_4d4fabd94154
 
Constructor Summary
  IDynamicSymbolProperties2Proxy()
          For internal use only
  IDynamicSymbolProperties2Proxy(java.lang.Object obj)
           
protected IDynamicSymbolProperties2Proxy(java.lang.Object obj, java.lang.String iid)
           
  IDynamicSymbolProperties2Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IDynamicSymbolProperties2Proxy(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)
           
 void getOffset(int dynamicSymbolType, float[] offsetX, float[] offsetY)
          Offsets the dynamic symbol.
 int getTextBoxHorizontalAlignment()
          Indicates the text box horizontal alignment for the dynamic text symbol.
 void getTextBoxMargins(float[] left, float[] top, float[] right, float[] bottom)
          Indicates the text box margins for the dynamic text symbol.
 float getTextCharacterSpacing()
          Indicates an additional space that is added to each character beyond what is defined by its character box in the TextGlyph.
 float getTextLeading()
          Indicates the text leading for the dynamic text symbol.
 void getTextSize(java.lang.String text, float[] sizeX, float[] sizeY)
          The text size in pixel screen coordinates.
 float getTextWordSpacing()
          Indicates an additional space that is added between words of the text string.
 boolean isLineContinuePattern()
          Indicates whether the line pattern is continued or restarted, for multi parts lines drawing.
 boolean isTextBoxUseDynamicFillSymbol()
          Indicates whether to use the dynamic fill symbol when drawing the text.
 boolean isTextBoxUseDynamicLineSymbol()
          Indicates whether to use the dynamic line symbol when drawing the text.
 boolean isTextRightToLeft()
          Indicates whether the text is drawn from right to left for the dynamic text symbol.
 boolean isUseReferenceScale(int dynamicSymbolType)
          Indicates whether the specified dynamic symbol will conform to map reference scale.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void setLineContinuePattern(boolean continuePattern)
          Indicates whether the line pattern is continued or restarted, for multi parts lines drawing.
 void setOffset(int dynamicSymbolType, float offsetX, float offsetY)
          Offsets the dynamic symbol.
 void setTextBoxHorizontalAlignment(int textBoxHorizontalAlignment)
          Indicates the text box horizontal alignment for the dynamic text symbol.
 void setTextBoxMargins(float left, float top, float right, float bottom)
          Indicates the text box margins for the dynamic text symbol.
 void setTextBoxUseDynamicFillSymbol(boolean use)
          Indicates whether to use the dynamic fill symbol when drawing the text.
 void setTextBoxUseDynamicLineSymbol(boolean use)
          Indicates whether to use the dynamic line symbol when drawing the text.
 void setTextCharacterSpacing(float characterSpacing)
          Indicates an additional space that is added to each character beyond what is defined by its character box in the TextGlyph.
 void setTextLeading(float leading)
          Indicates the text leading for the dynamic text symbol.
 void setTextRightToLeft(boolean rightToLeft)
          Indicates whether the text is drawn from right to left for the dynamic text symbol.
 void setTextWordSpacing(float wordSpacing)
          Indicates an additional space that is added between words of the text string.
 void setUseReferenceScale(int dynamicSymbolType, boolean useReferenceScale)
          Indicates whether the specified dynamic symbol will conform to map reference scale.
 
Methods inherited from class com.esri.arcgis.display.IDynamicSymbolPropertiesProxy
getColor, getDynamicGlyph, getHeading, getRotationAlignment, getScale, getTextHorizontalAlignment, getTextVerticalAlignment, isSmooth, setColor, setDynamicGlyphByRef, setHeading, setRotationAlignment, setScale, setSmooth, setTextHorizontalAlignment, setTextVerticalAlignment
 
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
 
Methods inherited from interface com.esri.arcgis.display.IDynamicSymbolProperties
getColor, getDynamicGlyph, getHeading, getRotationAlignment, getScale, getTextHorizontalAlignment, getTextVerticalAlignment, isSmooth, setColor, setDynamicGlyphByRef, setHeading, setRotationAlignment, setScale, setSmooth, setTextHorizontalAlignment, setTextVerticalAlignment
 

Field Detail

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

IDynamicSymbolProperties2Proxy

public IDynamicSymbolProperties2Proxy(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

IDynamicSymbolProperties2Proxy

public IDynamicSymbolProperties2Proxy()
For internal use only


IDynamicSymbolProperties2Proxy

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

IDynamicSymbolProperties2Proxy

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

IDynamicSymbolProperties2Proxy

protected IDynamicSymbolProperties2Proxy(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 IDynamicSymbolPropertiesProxy
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class IDynamicSymbolPropertiesProxy
Throws:
java.io.IOException

getOffset

public void getOffset(int dynamicSymbolType,
                      float[] offsetX,
                      float[] offsetY)
               throws java.io.IOException,
                      AutomationException
Offsets the dynamic symbol.

Specified by:
getOffset in interface IDynamicSymbolProperties2
Parameters:
dynamicSymbolType - A com.esri.arcgis.display.esriDynamicSymbolType constant (in)
offsetX - The offsetX (in/out: use single element array)
offsetY - The offsetY (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOffset

public void setOffset(int dynamicSymbolType,
                      float offsetX,
                      float offsetY)
               throws java.io.IOException,
                      AutomationException
Offsets the dynamic symbol.

Specified by:
setOffset in interface IDynamicSymbolProperties2
Parameters:
dynamicSymbolType - A com.esri.arcgis.display.esriDynamicSymbolType constant (in)
offsetX - The offsetX (in)
offsetY - The offsetY (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUseReferenceScale

public boolean isUseReferenceScale(int dynamicSymbolType)
                            throws java.io.IOException,
                                   AutomationException
Indicates whether the specified dynamic symbol will conform to map reference scale.

Specified by:
isUseReferenceScale in interface IDynamicSymbolProperties2
Parameters:
dynamicSymbolType - A com.esri.arcgis.display.esriDynamicSymbolType constant (in)
Returns:
The useReferenceScale
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUseReferenceScale

public void setUseReferenceScale(int dynamicSymbolType,
                                 boolean useReferenceScale)
                          throws java.io.IOException,
                                 AutomationException
Indicates whether the specified dynamic symbol will conform to map reference scale.

Specified by:
setUseReferenceScale in interface IDynamicSymbolProperties2
Parameters:
dynamicSymbolType - A com.esri.arcgis.display.esriDynamicSymbolType constant (in)
useReferenceScale - The useReferenceScale (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTextBoxMargins

public void getTextBoxMargins(float[] left,
                              float[] top,
                              float[] right,
                              float[] bottom)
                       throws java.io.IOException,
                              AutomationException
Indicates the text box margins for the dynamic text symbol.

Specified by:
getTextBoxMargins in interface IDynamicSymbolProperties2
Parameters:
left - The left (in/out: use single element array)
top - The top (in/out: use single element array)
right - The right (in/out: use single element array)
bottom - The bottom (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTextBoxMargins

public void setTextBoxMargins(float left,
                              float top,
                              float right,
                              float bottom)
                       throws java.io.IOException,
                              AutomationException
Indicates the text box margins for the dynamic text symbol.

Specified by:
setTextBoxMargins in interface IDynamicSymbolProperties2
Parameters:
left - The left (in)
top - The top (in)
right - The right (in)
bottom - The bottom (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTextBoxHorizontalAlignment

public int getTextBoxHorizontalAlignment()
                                  throws java.io.IOException,
                                         AutomationException
Indicates the text box horizontal alignment for the dynamic text symbol.

Specified by:
getTextBoxHorizontalAlignment in interface IDynamicSymbolProperties2
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.

setTextBoxHorizontalAlignment

public void setTextBoxHorizontalAlignment(int textBoxHorizontalAlignment)
                                   throws java.io.IOException,
                                          AutomationException
Indicates the text box horizontal alignment for the dynamic text symbol.

Specified by:
setTextBoxHorizontalAlignment in interface IDynamicSymbolProperties2
Parameters:
textBoxHorizontalAlignment - 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.

isTextBoxUseDynamicFillSymbol

public boolean isTextBoxUseDynamicFillSymbol()
                                      throws java.io.IOException,
                                             AutomationException
Indicates whether to use the dynamic fill symbol when drawing the text.

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

setTextBoxUseDynamicFillSymbol

public void setTextBoxUseDynamicFillSymbol(boolean use)
                                    throws java.io.IOException,
                                           AutomationException
Indicates whether to use the dynamic fill symbol when drawing the text.

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

isTextBoxUseDynamicLineSymbol

public boolean isTextBoxUseDynamicLineSymbol()
                                      throws java.io.IOException,
                                             AutomationException
Indicates whether to use the dynamic line symbol when drawing the text.

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

setTextBoxUseDynamicLineSymbol

public void setTextBoxUseDynamicLineSymbol(boolean use)
                                    throws java.io.IOException,
                                           AutomationException
Indicates whether to use the dynamic line symbol when drawing the text.

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

getTextLeading

public float getTextLeading()
                     throws java.io.IOException,
                            AutomationException
Indicates the text leading for the dynamic text symbol.

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

setTextLeading

public void setTextLeading(float leading)
                    throws java.io.IOException,
                           AutomationException
Indicates the text leading for the dynamic text symbol.

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

getTextCharacterSpacing

public float getTextCharacterSpacing()
                              throws java.io.IOException,
                                     AutomationException
Indicates an additional space that is added to each character beyond what is defined by its character box in the TextGlyph.

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

setTextCharacterSpacing

public void setTextCharacterSpacing(float characterSpacing)
                             throws java.io.IOException,
                                    AutomationException
Indicates an additional space that is added to each character beyond what is defined by its character box in the TextGlyph.

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

getTextWordSpacing

public float getTextWordSpacing()
                         throws java.io.IOException,
                                AutomationException
Indicates an additional space that is added between words of the text string.

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

setTextWordSpacing

public void setTextWordSpacing(float wordSpacing)
                        throws java.io.IOException,
                               AutomationException
Indicates an additional space that is added between words of the text string.

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

isTextRightToLeft

public boolean isTextRightToLeft()
                          throws java.io.IOException,
                                 AutomationException
Indicates whether the text is drawn from right to left for the dynamic text symbol.

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

setTextRightToLeft

public void setTextRightToLeft(boolean rightToLeft)
                        throws java.io.IOException,
                               AutomationException
Indicates whether the text is drawn from right to left for the dynamic text symbol.

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

getTextSize

public void getTextSize(java.lang.String text,
                        float[] sizeX,
                        float[] sizeY)
                 throws java.io.IOException,
                        AutomationException
The text size in pixel screen coordinates.

Specified by:
getTextSize in interface IDynamicSymbolProperties2
Parameters:
text - The text (in)
sizeX - The sizeX (in/out: use single element array)
sizeY - The sizeY (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLineContinuePattern

public void setLineContinuePattern(boolean continuePattern)
                            throws java.io.IOException,
                                   AutomationException
Indicates whether the line pattern is continued or restarted, for multi parts lines drawing.

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

isLineContinuePattern

public boolean isLineContinuePattern()
                              throws java.io.IOException,
                                     AutomationException
Indicates whether the line pattern is continued or restarted, for multi parts lines drawing.

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