public class DirectionFormat extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, INumberFormat, INumberFormatOperations, IDirectionFormat, IDirectionFormatDestination, IAngularConverter2, IClone, IPersist, IPersistStream, java.io.Externalizable
Description 'An object for formatting numbers in a direction 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, IID5ef43b7e_3bc1_4b25_a5c0_08218c75be06, xxDummy
IID, IID11d7b4c8_dbdf_4b98_ac6d_8c419efd2c24, xxDummy
IID, IID3d6a01d6_b4e7_4e15_85e4_8a1e12885292, xxDummy
IID, IID95674ba9_3cd5_429d_a5ac_9d105a099cf7, xxDummy
IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummy
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
IID0000010c_0000_0000_c000_000000000046
Constructor and Description |
---|
DirectionFormat()
Constructs a DirectionFormat using ArcGIS Engine.
|
DirectionFormat(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
DirectionFormat theDirectionFormat = (DirectionFormat) obj; |
Modifier and Type | Method and Description |
---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver.
|
double |
destinationStringToValue(java.lang.String str)
Converts a formatted string to a numeric value using unit/type in destination and polar/radians as source
|
java.lang.String |
destinationValueToString(double value)
Converts a numeric value to a formatted string using unit/type in destination and polar/radians as source.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone.
|
void |
getClassID(GUID[] pClassID)
getClassID
|
static java.lang.String |
getClsid()
getClsid.
|
int |
getDecimalPlaces()
The number of decimal digits in a seconds part of the formatted number.
|
int |
getDirectionType()
Indicates the direction of the argument in ValueToString.
|
int |
getDirectionUnits()
Indicates Direction Unit for the ValueToString argument.
|
int |
getDisplayFormat()
Indicates how to display the direction value.
|
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.
|
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.
|
void |
isDirty()
isDirty
|
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 |
isNegativeAngles()
Allow an angle to be converted from one direction unit to another.
|
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 |
setDecimalPlaces(int num)
The number of decimal digits in a seconds part of the formatted number.
|
void |
setDirectionType(int direction)
Indicates the direction of the argument in ValueToString.
|
void |
setDirectionUnits(int unit)
Indicates Direction Unit for the ValueToString argument.
|
void |
setDisplayFormat(int directionFormat)
Indicates how to display the direction value.
|
void |
setNegativeAngles(boolean negAngles)
Allow an angle to be converted from one direction unit to another.
|
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 DirectionFormat() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic DirectionFormat(java.lang.Object obj) throws java.io.IOException
DirectionFormat theDirectionFormat = (DirectionFormat) obj;
obj
to DirectionFormat
.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 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 setDirectionUnits(int unit) throws java.io.IOException, AutomationException
setDirectionUnits
in interface IDirectionFormat
unit
- A com.esri.arcgis.system.esriDirectionUnits constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getDirectionUnits() throws java.io.IOException, AutomationException
getDirectionUnits
in interface IDirectionFormat
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setDirectionType(int direction) throws java.io.IOException, AutomationException
setDirectionType
in interface IDirectionFormat
direction
- A com.esri.arcgis.system.esriDirectionType constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getDirectionType() throws java.io.IOException, AutomationException
getDirectionType
in interface IDirectionFormat
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setDisplayFormat(int directionFormat) throws java.io.IOException, AutomationException
setDisplayFormat
in interface IDirectionFormat
directionFormat
- A com.esri.arcgis.system.esriDirectionFormatEnum constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getDisplayFormat() throws java.io.IOException, AutomationException
getDisplayFormat
in interface IDirectionFormat
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setDecimalPlaces(int num) throws java.io.IOException, AutomationException
setDecimalPlaces
in interface IDirectionFormat
num
- The num (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getDecimalPlaces() throws java.io.IOException, AutomationException
getDecimalPlaces
in interface IDirectionFormat
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String destinationValueToString(double value) throws java.io.IOException, AutomationException
destinationValueToString
in interface IDirectionFormatDestination
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double destinationStringToValue(java.lang.String str) throws java.io.IOException, AutomationException
destinationStringToValue
in interface IDirectionFormatDestination
str
- The str (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setNegativeAngles(boolean negAngles) throws java.io.IOException, AutomationException
setNegativeAngles
in interface IAngularConverter2
negAngles
- The negAngles (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isNegativeAngles() throws java.io.IOException, AutomationException
isNegativeAngles
in interface IAngularConverter2
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 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