public class FFrameGridCoordinateFormat extends java.lang.Object implements Persistent
| Modifier and Type | Field and Description |
|---|---|
static int |
FORMAT_DD |
static int |
FORMAT_DMS |
static java.lang.String |
PERSISTENCE_DEFINITION_DESCRIPTION |
static java.lang.String |
PERSISTENCE_DEFINITION_NAME |
| Constructor and Description |
|---|
FFrameGridCoordinateFormat() |
FFrameGridCoordinateFormat(java.lang.String pattern,
java.text.DecimalFormatSymbols sym) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
format(double value) |
java.lang.String |
format(java.lang.String NS,
double value) |
java.text.DecimalFormat |
getDecimalFormat() |
java.text.DecimalFormatSymbols |
getDecimalFormatSymbols() |
int |
getMinimumFractionDigits() |
boolean |
isGroupingUsed() |
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
static void |
registerPersistence() |
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
void |
setDecimalFormat(java.text.DecimalFormat dd_format) |
void |
setDMSFormat(java.lang.String format) |
void |
setType(int type) |
public static final int FORMAT_DD
public static final int FORMAT_DMS
public static final java.lang.String PERSISTENCE_DEFINITION_NAME
public static final java.lang.String PERSISTENCE_DEFINITION_DESCRIPTION
public FFrameGridCoordinateFormat()
public FFrameGridCoordinateFormat(java.lang.String pattern,
java.text.DecimalFormatSymbols sym)
public void setType(int type)
public java.lang.String format(double value)
public java.lang.String format(java.lang.String NS,
double value)
public boolean isGroupingUsed()
public int getMinimumFractionDigits()
public java.text.DecimalFormatSymbols getDecimalFormatSymbols()
public void setDMSFormat(java.lang.String format)
public void setDecimalFormat(java.text.DecimalFormat dd_format)
public java.text.DecimalFormat getDecimalFormat()
public void saveToState(PersistentState state) throws PersistenceException
PersistentsaveToState in interface PersistentPersistenceExceptionpublic void loadFromState(PersistentState state) throws PersistenceException
PersistentloadFromState in interface PersistentPersistenceExceptionpublic static void registerPersistence()