public class LatLonFormat extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, INumberFormat, INumericFormat, INumberFormatOperations, ILatLonFormat, ILatLonFormat2, IClone, IPersist, IPersistStream, java.io.Externalizable
Description 'An object for formatting numbers in a lat/lon 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, xxDummyIID, IID7e4f4710_8e54_11d2_aad8_000000000000, xxDummyIID, IID5ef43b7e_3bc1_4b25_a5c0_08218c75be06, xxDummyIID, IID7e4f4714_8e54_11d2_aad8_000000000000, xxDummyIID, IID127b0952_e8b4_428c_ac39_58de4d1f17de, xxDummyIID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummyIID, IID00000109_0000_0000_c000_000000000046, xxDummyIID0000010c_0000_0000_c000_000000000046| Constructor and Description |
|---|
LatLonFormat()
Constructs a LatLonFormat using ArcGIS Engine.
|
LatLonFormat(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
LatLonFormat theLatLonFormat = (LatLonFormat) obj; |
| Modifier and Type | Method and Description |
|---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver.
|
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.
|
void |
getDMS(double value,
int[] degrees,
int[] minutes,
double[] seconds)
Obtains the degrees, minutes, and seconds for a lat/lon number.
|
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.
|
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 |
isLatitude()
Indicates if a formatted number is a latitude or not.
|
boolean |
isShowDirections()
Indicates if a directional letter (N-S-E-W) is appended to the formatted number.
|
boolean |
isShowPlusSign()
Indicates if formatted numbers contain a plus sign for positive numbers.
|
boolean |
isShowZeroMinutes()
Indicates if zero minutes are included in formatted output.
|
boolean |
isShowZeroSeconds()
Indicates if zero seconds are included in formatted output.
|
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 |
setIsLatitude(boolean rhs1)
Indicates if a formatted number is a latitude or not.
|
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 |
setShowDirections(boolean show)
Indicates if a directional letter (N-S-E-W) is appended to the formatted number.
|
void |
setShowPlusSign(boolean show)
Indicates if formatted numbers contain a plus sign for positive numbers.
|
void |
setShowZeroMinutes(boolean show)
Indicates if zero minutes are included in formatted output.
|
void |
setShowZeroSeconds(boolean show)
Indicates if zero seconds are included in formatted output.
|
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 LatLonFormat()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic LatLonFormat(java.lang.Object obj)
throws java.io.IOException
LatLonFormat theLatLonFormat = (LatLonFormat) obj;obj to LatLonFormat.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.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic java.lang.String valueToString(double value)
throws java.io.IOException,
AutomationException
valueToString in interface INumberFormatvalue - 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 INumberFormatstr - 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 INumericFormatpption - 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 INumericFormatjava.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 INumericFormatvalue - 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 INumericFormatjava.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 INumericFormatoption - 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 INumericFormatjava.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 INumericFormatwidth - 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 INumericFormatjava.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 INumericFormatsep - 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 INumericFormatjava.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 INumericFormatpad - 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 INumericFormatjava.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 INumericFormatshow - 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 INumericFormatjava.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 INumberFormatOperationsvalue - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setShowDirections(boolean show)
throws java.io.IOException,
AutomationException
setShowDirections in interface ILatLonFormatsetShowDirections in interface ILatLonFormat2show - The show (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isShowDirections()
throws java.io.IOException,
AutomationException
isShowDirections in interface ILatLonFormatisShowDirections in interface ILatLonFormat2java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setIsLatitude(boolean rhs1)
throws java.io.IOException,
AutomationException
setIsLatitude in interface ILatLonFormatsetIsLatitude in interface ILatLonFormat2rhs1 - The rhs1 (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getDMS(double value,
int[] degrees,
int[] minutes,
double[] seconds)
throws java.io.IOException,
AutomationException
getDMS in interface ILatLonFormatgetDMS in interface ILatLonFormat2value - The value (in)degrees - The degrees (out: use single element array)minutes - The minutes (out: use single element array)seconds - The seconds (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setShowZeroMinutes(boolean show)
throws java.io.IOException,
AutomationException
setShowZeroMinutes in interface ILatLonFormatsetShowZeroMinutes in interface ILatLonFormat2show - The show (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isShowZeroMinutes()
throws java.io.IOException,
AutomationException
isShowZeroMinutes in interface ILatLonFormatisShowZeroMinutes in interface ILatLonFormat2java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setShowZeroSeconds(boolean show)
throws java.io.IOException,
AutomationException
setShowZeroSeconds in interface ILatLonFormatsetShowZeroSeconds in interface ILatLonFormat2show - The show (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isShowZeroSeconds()
throws java.io.IOException,
AutomationException
isShowZeroSeconds in interface ILatLonFormatisShowZeroSeconds in interface ILatLonFormat2java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isLatitude()
throws java.io.IOException,
AutomationException
isLatitude in interface ILatLonFormat2java.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 IClonejava.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 IClonesrc - 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 ICloneother - 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 ICloneother - 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 IPersistpClassID - 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 IPersistStreamjava.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 IPersistStreampstm - 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 IPersistStreampstm - 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 IPersistStreampcbSize - 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.Externalizablejava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundException