com.esri.arcgis.carto
Class IScaleText2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.carto.IMapSurroundProxy
          extended by com.esri.arcgis.carto.IScaleText2Proxy
All Implemented Interfaces:
IMapSurround, IScaleText2, java.io.Externalizable, java.io.Serializable

Deprecated. Internal use only. Proxy for COM Interface 'IScaleText2'. Generated 3/19/2015 1:20:52 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members that control the scale text.' 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 =

public class IScaleText2Proxy
extends IMapSurroundProxy
implements IScaleText2, java.io.Serializable

Internal use class

See Also:
Serialized Form

Field Summary
 boolean noncastable
          Deprecated.  
static java.lang.Class targetClass
          Deprecated.  
 
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.carto.IScaleText2
IID, IIDa2fe2d0c_bd0e_452f_b903_c6a80ffc94e6
 
Fields inherited from interface com.esri.arcgis.carto.IMapSurround
IIDfe3115e9_ed6c_11d0_8683_0000f8751720
 
Constructor Summary
  IScaleText2Proxy()
          Deprecated. For internal use only
  IScaleText2Proxy(java.lang.Object obj)
          Deprecated.  
protected IScaleText2Proxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IScaleText2Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IScaleText2Proxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 java.lang.String getFormat()
          Deprecated. Format of the scale text.
 java.lang.String getMapUnitLabel()
          Deprecated. Map unit label of the scale text.
 int getMapUnits()
          Deprecated. Map units of the scale text.
 INumberFormat getNumberFormat()
          Deprecated. Number formatting.
 java.lang.String getPageUnitLabel()
          Deprecated. Page unit label of the scale text.
 int getPageUnits()
          Deprecated. Page units of the scale text.
 java.lang.String getSeparator()
          Deprecated. Character(s) used to separate '1' from the scale in an absolute scale, i.e., the ':' in 1:20000.
 int getStyle()
          Deprecated. Style of the scale text.
 ITextSymbol getSymbol()
          Deprecated. Symbol of the scale text.
 java.lang.String getText()
          Deprecated. The scale text.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 void setFormat(java.lang.String format)
          Deprecated. Format of the scale text.
 void setMapUnitLabel(java.lang.String label)
          Deprecated. Map unit label of the scale text.
 void setMapUnits(int units)
          Deprecated. Map units of the scale text.
 void setNumberFormat(INumberFormat format)
          Deprecated. Number formatting.
 void setPageUnitLabel(java.lang.String label)
          Deprecated. Page unit label of the scale text.
 void setPageUnits(int units)
          Deprecated. Page units of the scale text.
 void setSeparator(java.lang.String separator)
          Deprecated. Character(s) used to separate '1' from the scale in an absolute scale, i.e., the ':' in 1:20000.
 void setStyle(int style)
          Deprecated. Style of the scale text.
 void setSymbol(ITextSymbol symbol)
          Deprecated. Symbol of the scale text.
 
Methods inherited from class com.esri.arcgis.carto.IMapSurroundProxy
delayEvents, draw, fitToBounds, getIcon, getMap, getName, queryBounds, refresh, setMapByRef, setName
 
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.carto.IMapSurround
delayEvents, draw, fitToBounds, getIcon, getMap, getName, queryBounds, refresh, setMapByRef, setName
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

IScaleText2Proxy

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

IScaleText2Proxy

public IScaleText2Proxy()
Deprecated. 
For internal use only


IScaleText2Proxy

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

IScaleText2Proxy

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

IScaleText2Proxy

protected IScaleText2Proxy(java.lang.String CLSID,
                           java.lang.String iid,
                           java.lang.String host,
                           com.esri.arcgis.interop.AuthInfo authInfo)
                    throws java.io.IOException
Deprecated. 
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
Deprecated. 
Overrides:
addListener in class IMapSurroundProxy
Throws:
java.io.IOException

removeListener

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

getText

public java.lang.String getText()
                         throws java.io.IOException,
                                AutomationException
Deprecated. 
The scale text.

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

setSymbol

public void setSymbol(ITextSymbol symbol)
               throws java.io.IOException,
                      AutomationException
Deprecated. 
Symbol of the scale text.

Specified by:
setSymbol in interface IScaleText2
Parameters:
symbol - A reference to a com.esri.arcgis.display.ITextSymbol (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSymbol

public ITextSymbol getSymbol()
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
Symbol of the scale text.

Specified by:
getSymbol in interface IScaleText2
Returns:
A reference to a com.esri.arcgis.display.ITextSymbol
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStyle

public void setStyle(int style)
              throws java.io.IOException,
                     AutomationException
Deprecated. 
Style of the scale text.

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

getStyle

public int getStyle()
             throws java.io.IOException,
                    AutomationException
Deprecated. 
Style of the scale text.

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

setFormat

public void setFormat(java.lang.String format)
               throws java.io.IOException,
                      AutomationException
Deprecated. 
Format of the scale text. Style must be set to custom.

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

getFormat

public java.lang.String getFormat()
                           throws java.io.IOException,
                                  AutomationException
Deprecated. 
Format of the scale text. Style must be set to custom.

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

setPageUnits

public void setPageUnits(int units)
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Page units of the scale text. Style must be set to custom.

Specified by:
setPageUnits in interface IScaleText2
Parameters:
units - A com.esri.arcgis.system.esriUnits constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPageUnits

public int getPageUnits()
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Page units of the scale text. Style must be set to custom.

Specified by:
getPageUnits in interface IScaleText2
Returns:
A com.esri.arcgis.system.esriUnits constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMapUnits

public void setMapUnits(int units)
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Map units of the scale text. Style must be set to custom.

Specified by:
setMapUnits in interface IScaleText2
Parameters:
units - A com.esri.arcgis.system.esriUnits constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMapUnits

public int getMapUnits()
                throws java.io.IOException,
                       AutomationException
Deprecated. 
Map units of the scale text. Style must be set to custom.

Specified by:
getMapUnits in interface IScaleText2
Returns:
A com.esri.arcgis.system.esriUnits constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPageUnitLabel

public void setPageUnitLabel(java.lang.String label)
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
Page unit label of the scale text. Style must be set to relative.

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

getPageUnitLabel

public java.lang.String getPageUnitLabel()
                                  throws java.io.IOException,
                                         AutomationException
Deprecated. 
Page unit label of the scale text. Style must be set to relative.

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

setMapUnitLabel

public void setMapUnitLabel(java.lang.String label)
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Map unit label of the scale text. Style must be set to relative.

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

getMapUnitLabel

public java.lang.String getMapUnitLabel()
                                 throws java.io.IOException,
                                        AutomationException
Deprecated. 
Map unit label of the scale text. Style must be set to relative.

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

setNumberFormat

public void setNumberFormat(INumberFormat format)
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Number formatting.

Specified by:
setNumberFormat in interface IScaleText2
Parameters:
format - A reference to a com.esri.arcgis.system.INumberFormat (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNumberFormat

public INumberFormat getNumberFormat()
                              throws java.io.IOException,
                                     AutomationException
Deprecated. 
Number formatting.

Specified by:
getNumberFormat in interface IScaleText2
Returns:
A reference to a com.esri.arcgis.system.INumberFormat
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSeparator

public void setSeparator(java.lang.String separator)
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Character(s) used to separate '1' from the scale in an absolute scale, i.e., the ':' in 1:20000. Also used for 'equals' in relative scale texts.

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

getSeparator

public java.lang.String getSeparator()
                              throws java.io.IOException,
                                     AutomationException
Deprecated. 
Character(s) used to separate '1' from the scale in an absolute scale, i.e., the ':' in 1:20000. Also used for 'equals' in relative scale texts.

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