Description: 'Provides access to scale formatting options.' 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 IScaleFormatProxy extends com.esri.arcgis.interop.Dispatch implements IScaleFormat, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
boolean |
noncastable
Deprecated.
|
static java.lang.Class |
targetClass
Deprecated.
|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
IID, IIDae9eda31_a9f0_4687_b3a5_8c061c92d3eb
Modifier | Constructor and Description |
---|---|
|
IScaleFormatProxy()
Deprecated.
For internal use only
|
|
IScaleFormatProxy(java.lang.Object obj)
Deprecated.
|
protected |
IScaleFormatProxy(java.lang.Object obj,
java.lang.String iid)
Deprecated.
|
|
IScaleFormatProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
Deprecated.
|
protected |
IScaleFormatProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Deprecated.
Adds a Java object to be a listener for a specific kind of event generated by the COM object.
|
double |
calcMapUnitValue(double absoluteScale)
Deprecated.
Calculate the number of map units corresponding to the specified page units at the given absolute scale.
|
java.lang.String |
getCustomFormat()
Deprecated.
A string defining the scale format.
|
java.lang.String |
getEquals()
Deprecated.
The text used for 'equals', i.e., ' = ' in 1 inch = 5 miles.
|
int |
getFormat()
Deprecated.
Format used to display scale, i.e., 1:20000 or 1 inch equals 5 miles.
|
int |
getMapUnits()
Deprecated.
The map units used to display a scale, i.e., the 'miles' in 1 inch = 5 miles.
|
INumberFormat |
getNumberFormat()
Deprecated.
Format used to display scale value, i.e., 20,000.
|
int |
getPageUnits()
Deprecated.
The page units used to display a scale, i.e., the 'inch' in 1 inch = 5 miles.
|
double |
getPageUnitValue()
Deprecated.
The number preceding the page units in a scale, i.e., the '1' in 1 inch = 5 miles.
|
java.lang.String |
getSeparator()
Deprecated.
Character(s) used to separate '1' from the scale in an absolute scale, i.e., the ':' in 1:20000.
|
boolean |
isAbbreviateUnits()
Deprecated.
Abbreviate the units in the scale string.
|
boolean |
isCapitolizeUnits()
Deprecated.
Capitolize the units in the scale string.
|
boolean |
isReverseOrder()
Deprecated.
Reverse the standard order [1:1000] becomes [1000:1] and [1 in = 10 mi] becomes [10 mi = 1 in].
|
void |
loadFromRegistry()
Deprecated.
Obtain the scale format to the system default.
|
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Deprecated.
Removes a Java object as a listener to events generated by a COM object.
|
void |
saveToRegistry()
Deprecated.
Store the scale format as the system default.
|
java.lang.String |
scaleToString(double scale)
Deprecated.
Convert the absolute scale to a string using the current IScaleFormat attributes.
|
void |
setAbbreviateUnits(boolean flag)
Deprecated.
Abbreviate the units in the scale string.
|
void |
setCapitolizeUnits(boolean flag)
Deprecated.
Capitolize the units in the scale string.
|
void |
setCustomFormat(java.lang.String format)
Deprecated.
A string defining the scale format.
|
void |
setEquals(java.lang.String text)
Deprecated.
The text used for 'equals', i.e., ' = ' in 1 inch = 5 miles.
|
void |
setFormat(int format)
Deprecated.
Format used to display scale, i.e., 1:20000 or 1 inch equals 5 miles.
|
void |
setMapUnits(int units)
Deprecated.
The map units used to display a scale, i.e., the 'miles' in 1 inch = 5 miles.
|
void |
setNumberFormat(INumberFormat format)
Deprecated.
Format used to display scale value, i.e., 20,000.
|
void |
setPageUnits(int units)
Deprecated.
The page units used to display a scale, i.e., the 'inch' in 1 inch = 5 miles.
|
void |
setPageUnitValue(double value)
Deprecated.
The number preceding the page units in a scale, i.e., the '1' in 1 inch = 5 miles.
|
void |
setReverseOrder(boolean flag)
Deprecated.
Reverse the standard order [1:1000] becomes [1000:1] and [1 in = 10 mi] becomes [10 mi = 1 in].
|
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.
|
double |
stringToScale(java.lang.String scaleStr)
Deprecated.
Convert the string to an absolute scale using the current IScaleFormat attributes.
|
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
public static final java.lang.Class targetClass
public boolean noncastable
public IScaleFormatProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.net.UnknownHostException, java.io.IOException
java.net.UnknownHostException
java.io.IOException
public IScaleFormatProxy()
public IScaleFormatProxy(java.lang.Object obj) throws java.io.IOException
java.io.IOException
protected IScaleFormatProxy(java.lang.Object obj, java.lang.String iid) throws java.io.IOException
java.io.IOException
protected IScaleFormatProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.io.IOException
java.io.IOException
public void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource) throws java.io.IOException
com.esri.arcgis.interop.Dispatch
addListener
in class com.esri.arcgis.interop.Dispatch
iidStr
- the ID of the outgoing interface, implemented by the listenertheListener
- the object to be informed of the eventstheSource
- the proxy class that represents the COM class that is the source of the eventsjava.io.IOException
public void removeListener(java.lang.String iidStr, java.lang.Object theListener) throws java.io.IOException
com.esri.arcgis.interop.Dispatch
removeListener
in class com.esri.arcgis.interop.Dispatch
iidStr
- the ID of the outgoing interface, implemented by the listenertheListener
- the object that no longer wishes to be informed of the eventsjava.io.IOException
public void setFormat(int format) throws java.io.IOException, AutomationException
setFormat
in interface IScaleFormat
format
- A com.esri.arcgis.system.esriScaleFormat constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getFormat() throws java.io.IOException, AutomationException
getFormat
in interface IScaleFormat
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setNumberFormat(INumberFormat format) throws java.io.IOException, AutomationException
setNumberFormat
in interface IScaleFormat
format
- A reference to a com.esri.arcgis.system.INumberFormat (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public INumberFormat getNumberFormat() throws java.io.IOException, AutomationException
getNumberFormat
in interface IScaleFormat
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setSeparator(java.lang.String separator) throws java.io.IOException, AutomationException
setSeparator
in interface IScaleFormat
separator
- The separator (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getSeparator() throws java.io.IOException, AutomationException
getSeparator
in interface IScaleFormat
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setPageUnitValue(double value) throws java.io.IOException, AutomationException
setPageUnitValue
in interface IScaleFormat
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getPageUnitValue() throws java.io.IOException, AutomationException
getPageUnitValue
in interface IScaleFormat
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setPageUnits(int units) throws java.io.IOException, AutomationException
setPageUnits
in interface IScaleFormat
units
- A com.esri.arcgis.system.esriUnits constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getPageUnits() throws java.io.IOException, AutomationException
getPageUnits
in interface IScaleFormat
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setEquals(java.lang.String text) throws java.io.IOException, AutomationException
setEquals
in interface IScaleFormat
text
- The text (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getEquals() throws java.io.IOException, AutomationException
getEquals
in interface IScaleFormat
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setMapUnits(int units) throws java.io.IOException, AutomationException
setMapUnits
in interface IScaleFormat
units
- A com.esri.arcgis.system.esriUnits constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getMapUnits() throws java.io.IOException, AutomationException
getMapUnits
in interface IScaleFormat
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setCapitolizeUnits(boolean flag) throws java.io.IOException, AutomationException
setCapitolizeUnits
in interface IScaleFormat
flag
- The flag (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isCapitolizeUnits() throws java.io.IOException, AutomationException
isCapitolizeUnits
in interface IScaleFormat
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setAbbreviateUnits(boolean flag) throws java.io.IOException, AutomationException
setAbbreviateUnits
in interface IScaleFormat
flag
- The flag (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isAbbreviateUnits() throws java.io.IOException, AutomationException
isAbbreviateUnits
in interface IScaleFormat
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setReverseOrder(boolean flag) throws java.io.IOException, AutomationException
setReverseOrder
in interface IScaleFormat
flag
- The flag (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isReverseOrder() throws java.io.IOException, AutomationException
isReverseOrder
in interface IScaleFormat
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setCustomFormat(java.lang.String format) throws java.io.IOException, AutomationException
setCustomFormat
in interface IScaleFormat
format
- The format (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getCustomFormat() throws java.io.IOException, AutomationException
getCustomFormat
in interface IScaleFormat
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double calcMapUnitValue(double absoluteScale) throws java.io.IOException, AutomationException
calcMapUnitValue
in interface IScaleFormat
absoluteScale
- The absoluteScale (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String scaleToString(double scale) throws java.io.IOException, AutomationException
scaleToString
in interface IScaleFormat
scale
- The scale (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double stringToScale(java.lang.String scaleStr) throws java.io.IOException, AutomationException
stringToScale
in interface IScaleFormat
scaleStr
- The scaleStr (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void saveToRegistry() throws java.io.IOException, AutomationException
saveToRegistry
in interface IScaleFormat
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void loadFromRegistry() throws java.io.IOException, AutomationException
loadFromRegistry
in interface IScaleFormat
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.