Class AbsoluteDmsCoordinateEditorModel
- java.lang.Object
-
- org.jdesktop.beans.AbstractBean
-
- org.jdesktop.beans.AbstractSerializableBean
-
- org.nuiton.jaxx.widgets.gis.DmsCoordinate
-
- org.nuiton.jaxx.widgets.gis.absolute.AbsoluteDmsCoordinateEditorModel
-
- All Implemented Interfaces:
Serializable
public class AbsoluteDmsCoordinateEditorModel extends DmsCoordinate
Created on 9/2/14.- Since:
- 2.12
- Author:
- Tony Chemit - dev@tchemit.fr
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ObjectbeanBean where to push data.static StringPROPERTY_BEANstatic StringPROPERTY_PROPERTY_DEGREEstatic StringPROPERTY_PROPERTY_MINUTEstatic StringPROPERTY_PROPERTY_SECONDprotected StringpropertyDegreeName of the property of the bean to fire the change of theDmsCoordinate.degree.protected StringpropertyMinuteName of the property of the bean to fire the change of theDmsCoordinate.minute.protected StringpropertySecondName of the property of the bean to fire the change of theDmsCoordinate.second.-
Fields inherited from class org.nuiton.jaxx.widgets.gis.DmsCoordinate
COORDINATE_PATTERN, COORDINATE_STRING_PATTERN, degree, minute, PROPERTY_DEGREE, PROPERTY_MINUTE, PROPERTY_SECOND, PROPERTY_SIGN, second, sign
-
-
Constructor Summary
Constructors Constructor Description AbsoluteDmsCoordinateEditorModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetBean()StringgetPropertyDegree()StringgetPropertyMinute()StringgetPropertySecond()booleanisSign()voidsetBean(Object bean)voidsetPropertyDegree(String propertyDegree)voidsetPropertyMinute(String propertyMinute)voidsetPropertySecond(String propertySecond)voidsetSign(boolean sign)voidsetValue(DmsCoordinate value)-
Methods inherited from class org.nuiton.jaxx.widgets.gis.DmsCoordinate
addTrailingZero, empty, fromDecimal, getDegree, getMinute, getNotNullDegree, getNotNullMinute, getNotNullSecond, getSecond, getSignedDegree, isDegreeNull, isDegreeValid, isLatitudeDegreeValid, isLongitudeDegreeValid, isMinuteNull, isMinuteValid, isNull, isSecondNull, isSecondValid, removeTrailingZero, reset, setDegree, setMinute, setSecond, toDecimal, toString, valueOf, valueOf, valueOf
-
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_BEAN
public static final String PROPERTY_BEAN
- See Also:
- Constant Field Values
-
PROPERTY_PROPERTY_DEGREE
public static final String PROPERTY_PROPERTY_DEGREE
- See Also:
- Constant Field Values
-
PROPERTY_PROPERTY_MINUTE
public static final String PROPERTY_PROPERTY_MINUTE
- See Also:
- Constant Field Values
-
PROPERTY_PROPERTY_SECOND
public static final String PROPERTY_PROPERTY_SECOND
- See Also:
- Constant Field Values
-
bean
protected Object bean
Bean where to push data.
-
propertyDegree
protected String propertyDegree
Name of the property of the bean to fire the change of theDmsCoordinate.degree.
-
propertyMinute
protected String propertyMinute
Name of the property of the bean to fire the change of theDmsCoordinate.minute.
-
propertySecond
protected String propertySecond
Name of the property of the bean to fire the change of theDmsCoordinate.second.
-
-
Method Detail
-
getBean
public Object getBean()
-
setBean
public void setBean(Object bean)
-
getPropertyDegree
public String getPropertyDegree()
-
setPropertyDegree
public void setPropertyDegree(String propertyDegree)
-
getPropertyMinute
public String getPropertyMinute()
-
setPropertyMinute
public void setPropertyMinute(String propertyMinute)
-
getPropertySecond
public String getPropertySecond()
-
setPropertySecond
public void setPropertySecond(String propertySecond)
-
setValue
public void setValue(DmsCoordinate value)
-
isSign
public boolean isSign()
- Overrides:
isSignin classDmsCoordinate
-
setSign
public void setSign(boolean sign)
- Overrides:
setSignin classDmsCoordinate
-
-