public class AngleFormat extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, INumberFormat, INumericFormat, INumberFormatOperations, IAngleFormat, IClone, IPersist, IPersistStream, IDocumentVersionSupportGEN, java.io.Externalizable
Description 'An object for formatting numbers in an angle format.' 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 =
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
IID, IID7e4f470d_8e54_11d2_aad8_000000000000, xxDummy
IID, IID7e4f4710_8e54_11d2_aad8_000000000000, xxDummy
IID, IID5ef43b7e_3bc1_4b25_a5c0_08218c75be06, xxDummy
IID, IID7e4f4716_8e54_11d2_aad8_000000000000, xxDummy
IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummy
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
IID0000010c_0000_0000_c000_000000000046
Constructor and Description |
---|
AngleFormat()
Constructs a AngleFormat using ArcGIS Engine.
|
AngleFormat(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
AngleFormat theAngleFormat = (AngleFormat) obj; |
Modifier and Type | Method and Description |
---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver.
|
java.lang.Object |
convertToSupportedObject(int docVersion)
Convert the object to another object that is supported.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone.
|
int |
getAlignmentOption()
The alignment option applied to the ValueToString method.
|
int |
getAlignmentWidth()
The alignment width applied to the ValueToString method.
|
void |
getClassID(GUID[] pClassID)
getClassID
|
static java.lang.String |
getClsid()
getClsid.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
int |
getRoundingOption()
The rounding option applied to the ValueToString method.
|
int |
getRoundingValue()
The rounding value, whose meaning depends on the rounding option.
|
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax
|
int |
hashCode()
the hashcode for this object
|
double |
increment(double value)
Increments a value according to the numbers format.
|
boolean |
isAngleInDegrees()
Indicates if the ValueToString argument is in degrees.
|
void |
isDirty()
isDirty
|
boolean |
isDisplayDegrees()
Indicates if the formatted number is an angle in degrees.
|
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties.
|
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object.
|
boolean |
isShowPlusSign()
Indicates if formatted numbers contain a plus sign for positive numbers.
|
boolean |
isSupportedAtVersion(int docVersion)
Is this object valid at the given document version.
|
boolean |
isUseSeparator()
Indicates if formatted numbers contain digit grouping symbols.
|
boolean |
isZeroPad()
Indicates if formatted numbers contain padded zeros to the right of the decimal.
|
void |
load(IStream pstm)
load
|
void |
readExternal(java.io.ObjectInput in) |
void |
release()
Release this COM object reference
|
void |
save(IStream pstm,
int fClearDirty)
save
|
void |
setAlignmentOption(int option)
The alignment option applied to the ValueToString method.
|
void |
setAlignmentWidth(int width)
The alignment width applied to the ValueToString method.
|
void |
setAngleInDegrees(boolean deg)
Indicates if the ValueToString argument is in degrees.
|
void |
setDisplayDegrees(boolean deg)
Indicates if the formatted number is an angle in degrees.
|
void |
setRoundingOption(int pption)
The rounding option applied to the ValueToString method.
|
void |
setRoundingValue(int value)
The rounding value, whose meaning depends on the rounding option.
|
void |
setShowPlusSign(boolean show)
Indicates if formatted numbers contain a plus sign for positive numbers.
|
void |
setUseSeparator(boolean sep)
Indicates if formatted numbers contain digit grouping symbols.
|
void |
setZeroPad(boolean pad)
Indicates if formatted numbers contain padded zeros to the right of the decimal.
|
double |
stringToValue(java.lang.String str)
Converts a formatted string to a numeric value.
|
java.lang.String |
valueToString(double value)
Converts a numeric value to a formatted string.
|
void |
writeExternal(java.io.ObjectOutput out) |
public static final long serialVersionUID
public AngleFormat() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic AngleFormat(java.lang.Object obj) throws java.io.IOException
AngleFormat theAngleFormat = (AngleFormat) obj;
obj
to AngleFormat
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public java.lang.String valueToString(double value) throws java.io.IOException, AutomationException
valueToString
in interface INumberFormat
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double stringToValue(java.lang.String str) throws java.io.IOException, AutomationException
stringToValue
in interface INumberFormat
str
- The str (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setRoundingOption(int pption) throws java.io.IOException, AutomationException
setRoundingOption
in interface INumericFormat
pption
- A com.esri.arcgis.system.esriRoundingOptionEnum constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getRoundingOption() throws java.io.IOException, AutomationException
getRoundingOption
in interface INumericFormat
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setRoundingValue(int value) throws java.io.IOException, AutomationException
setRoundingValue
in interface INumericFormat
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getRoundingValue() throws java.io.IOException, AutomationException
getRoundingValue
in interface INumericFormat
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setAlignmentOption(int option) throws java.io.IOException, AutomationException
setAlignmentOption
in interface INumericFormat
option
- A com.esri.arcgis.system.esriNumericAlignmentEnum constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getAlignmentOption() throws java.io.IOException, AutomationException
getAlignmentOption
in interface INumericFormat
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setAlignmentWidth(int width) throws java.io.IOException, AutomationException
setAlignmentWidth
in interface INumericFormat
width
- The width (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getAlignmentWidth() throws java.io.IOException, AutomationException
getAlignmentWidth
in interface INumericFormat
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setUseSeparator(boolean sep) throws java.io.IOException, AutomationException
setUseSeparator
in interface INumericFormat
sep
- The sep (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isUseSeparator() throws java.io.IOException, AutomationException
isUseSeparator
in interface INumericFormat
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setZeroPad(boolean pad) throws java.io.IOException, AutomationException
setZeroPad
in interface INumericFormat
pad
- The pad (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isZeroPad() throws java.io.IOException, AutomationException
isZeroPad
in interface INumericFormat
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setShowPlusSign(boolean show) throws java.io.IOException, AutomationException
setShowPlusSign
in interface INumericFormat
show
- The show (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isShowPlusSign() throws java.io.IOException, AutomationException
isShowPlusSign
in interface INumericFormat
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double increment(double value) throws java.io.IOException, AutomationException
increment
in interface INumberFormatOperations
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setAngleInDegrees(boolean deg) throws java.io.IOException, AutomationException
setAngleInDegrees
in interface IAngleFormat
deg
- The deg (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isAngleInDegrees() throws java.io.IOException, AutomationException
isAngleInDegrees
in interface IAngleFormat
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setDisplayDegrees(boolean deg) throws java.io.IOException, AutomationException
setDisplayDegrees
in interface IAngleFormat
deg
- The deg (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isDisplayDegrees() throws java.io.IOException, AutomationException
isDisplayDegrees
in interface IAngleFormat
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IClone esri_clone() throws java.io.IOException, AutomationException
esri_clone
in interface IClone
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws java.io.IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws java.io.IOException, AutomationException
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws java.io.IOException, AutomationException
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws java.io.IOException, AutomationException
isDirty
in interface IPersistStream
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isSupportedAtVersion(int docVersion) throws java.io.IOException, AutomationException
Use IsSupportedAtVersion to identify if a particular object should be saved to the ObjectStream. This result is based on the esriArcGISVersion enumeration. In some instances, if the object is not supported at a particular ArcGIS version, the object may support conversion to another similar object; use IDocumentVersionSupportGEN::ConvertToSupportedObject to accomplish this.
isSupportedAtVersion
in interface IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object convertToSupportedObject(int docVersion) throws java.io.IOException, AutomationException
This method should be used when IDocumentVersionSupportGEN::IsSupportedAtVersion returns FALSE. Calling ConvertToSupportedObject will return an IUnknown pointer to a relevant object supported at the particular ArcGIS version. Not all objects will return a supported object; in these cases a null pointer will be returned.
convertToSupportedObject
in interface IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException