Class AbsoluteCoordinateEditorModel
- java.lang.Object
-
- org.jdesktop.beans.AbstractBean
-
- org.jdesktop.beans.AbstractSerializableBean
-
- org.nuiton.jaxx.widgets.gis.absolute.AbsoluteCoordinateEditorModel
-
- All Implemented Interfaces:
Serializable
public class AbsoluteCoordinateEditorModel extends org.jdesktop.beans.AbstractSerializableBeanCreated on 8/31/14.- Since:
- 2.12
- Author:
- Tony Chemit - dev@tchemit.fr
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected DdCoordinateddTo edit as dd format.protected DmdCoordinatedmdTo edit as dmd format.protected DmsCoordinatedmsTo edit as dms format.static StringPROPERTY_DDstatic StringPROPERTY_DD_DECIMALstatic StringPROPERTY_DD_DEGREEstatic StringPROPERTY_DMDstatic StringPROPERTY_DMD_DECIMALstatic StringPROPERTY_DMD_DEGREEstatic StringPROPERTY_DMD_MINUTEstatic StringPROPERTY_DMSstatic StringPROPERTY_DMS_DEGREEstatic StringPROPERTY_DMS_MINUTEstatic StringPROPERTY_DMS_SECOND
-
Constructor Summary
Constructors Constructor Description AbsoluteCoordinateEditorModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DdCoordinategetDd()IntegergetDdDecimal()IntegergetDdDegree()DmdCoordinategetDmd()IntegergetDmdDecimal()IntegergetDmdDegree()IntegergetDmdMinute()DmsCoordinategetDms()IntegergetDmsDegree()IntegergetDmsMinute()IntegergetDmsSecond()FloatgetValue()FloatgetValue(CoordinateFormat format)booleanisDdSign()booleanisDmdSign()booleanisDmsSign()voidsetDd(Float decimal)voidsetDdDecimal(Integer decimal)voidsetDdDegree(Integer degree)voidsetDdSign(boolean sign)voidsetDmd(Float decimal)voidsetDmdDecimal(Integer decimal)voidsetDmdDegree(Integer degree)voidsetDmdMinute(Integer minute)voidsetDmdSign(boolean sign)voidsetDms(Float decimal)voidsetDmsDegree(Integer degree)voidsetDmsMinute(Integer minute)voidsetDmsSecond(Integer second)voidsetDmsSign(boolean sign)voidsetValue(Float value)-
Methods inherited from class org.jdesktop.beans.AbstractBean
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener
-
-
-
-
Field Detail
-
PROPERTY_DD
public static final String PROPERTY_DD
- See Also:
- Constant Field Values
-
PROPERTY_DD_DEGREE
public static final String PROPERTY_DD_DEGREE
- See Also:
- Constant Field Values
-
PROPERTY_DD_DECIMAL
public static final String PROPERTY_DD_DECIMAL
- See Also:
- Constant Field Values
-
PROPERTY_DMS
public static final String PROPERTY_DMS
- See Also:
- Constant Field Values
-
PROPERTY_DMS_DEGREE
public static final String PROPERTY_DMS_DEGREE
- See Also:
- Constant Field Values
-
PROPERTY_DMS_MINUTE
public static final String PROPERTY_DMS_MINUTE
- See Also:
- Constant Field Values
-
PROPERTY_DMS_SECOND
public static final String PROPERTY_DMS_SECOND
- See Also:
- Constant Field Values
-
PROPERTY_DMD
public static final String PROPERTY_DMD
- See Also:
- Constant Field Values
-
PROPERTY_DMD_DEGREE
public static final String PROPERTY_DMD_DEGREE
- See Also:
- Constant Field Values
-
PROPERTY_DMD_MINUTE
public static final String PROPERTY_DMD_MINUTE
- See Also:
- Constant Field Values
-
PROPERTY_DMD_DECIMAL
public static final String PROPERTY_DMD_DECIMAL
- See Also:
- Constant Field Values
-
dd
protected final DdCoordinate dd
To edit as dd format.
-
dms
protected final DmsCoordinate dms
To edit as dms format.
-
dmd
protected final DmdCoordinate dmd
To edit as dmd format.
-
-
Method Detail
-
getValue
public Float getValue(CoordinateFormat format)
-
getValue
public Float getValue()
-
setValue
public void setValue(Float value)
-
getDd
public DdCoordinate getDd()
-
setDd
public void setDd(Float decimal)
-
isDdSign
public boolean isDdSign()
-
setDdSign
public void setDdSign(boolean sign)
-
getDdDegree
public Integer getDdDegree()
-
setDdDegree
public void setDdDegree(Integer degree)
-
getDdDecimal
public Integer getDdDecimal()
-
setDdDecimal
public void setDdDecimal(Integer decimal)
-
getDms
public DmsCoordinate getDms()
-
setDms
public void setDms(Float decimal)
-
isDmsSign
public boolean isDmsSign()
-
setDmsSign
public void setDmsSign(boolean sign)
-
getDmsDegree
public Integer getDmsDegree()
-
setDmsDegree
public void setDmsDegree(Integer degree)
-
getDmsMinute
public Integer getDmsMinute()
-
setDmsMinute
public void setDmsMinute(Integer minute)
-
getDmsSecond
public Integer getDmsSecond()
-
setDmsSecond
public void setDmsSecond(Integer second)
-
getDmd
public DmdCoordinate getDmd()
-
setDmd
public void setDmd(Float decimal)
-
isDmdSign
public boolean isDmdSign()
-
setDmdSign
public void setDmdSign(boolean sign)
-
getDmdDegree
public Integer getDmdDegree()
-
setDmdDegree
public void setDmdDegree(Integer degree)
-
getDmdMinute
public Integer getDmdMinute()
-
setDmdMinute
public void setDmdMinute(Integer minute)
-
getDmdDecimal
public Integer getDmdDecimal()
-
setDmdDecimal
public void setDmdDecimal(Integer decimal)
-
-