Class CoordinatesEditorModel
java.lang.Object
org.jdesktop.beans.AbstractBean
org.jdesktop.beans.AbstractSerializableBean
org.nuiton.jaxx.widgets.gis.absolute.CoordinatesEditorModel
- All Implemented Interfaces:
Serializable
public class CoordinatesEditorModel
extends org.jdesktop.beans.AbstractSerializableBean
Created on 8/31/14.
- Since:
- 2.12
- Author:
- Tony Chemit - chemit@codelutin.com
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected SerializablebeanBean where to push back data.protected booleandisplayZeroWhenNullDisplay a zero on each coordinate componant when it is null.protected booleanfillWithZeroPrefix any none null value with some zero.protected CoordinateFormatformatprotected AbsoluteCoordinateEditorModellatitudeModelprotected AbsoluteCoordinateEditorModellongitudeModelstatic StringPROPERTY_DISPLAY_ZERO_WHEN_NULLstatic StringPROPERTY_FILL_WITH_ZEROstatic StringPROPERTY_FORMATstatic StringPROPERTY_LATITUDEstatic StringPROPERTY_LONGITUDEstatic StringPROPERTY_QUADRANTstatic StringPROPERTY_SHOW_RESET_BUTTONprotected StringpropertyLatitudeName of the property of the bean to fire the change of thelatitudeModel.protected StringpropertyLongitudeName of the property of the bean to fire the change of thelongitudeModel.protected StringpropertyQuadrantName of the property of the bean to fire the change of thequadrant.protected Integerquadrantprotected booleanshowResetButton -
Constructor Summary
Constructors Constructor Description CoordinatesEditorModel() -
Method Summary
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 Details
-
PROPERTY_LATITUDE
- See Also:
- Constant Field Values
-
PROPERTY_LONGITUDE
- See Also:
- Constant Field Values
-
PROPERTY_QUADRANT
- See Also:
- Constant Field Values
-
PROPERTY_FORMAT
- See Also:
- Constant Field Values
-
PROPERTY_SHOW_RESET_BUTTON
- See Also:
- Constant Field Values
-
PROPERTY_DISPLAY_ZERO_WHEN_NULL
- See Also:
- Constant Field Values
-
PROPERTY_FILL_WITH_ZERO
- See Also:
- Constant Field Values
-
latitudeModel
-
longitudeModel
-
bean
Bean where to push back data. -
propertyLatitude
Name of the property of the bean to fire the change of thelatitudeModel. -
propertyLongitude
Name of the property of the bean to fire the change of thelongitudeModel. -
propertyQuadrant
Name of the property of the bean to fire the change of thequadrant. -
quadrant
-
format
-
showResetButton
protected boolean showResetButton -
displayZeroWhenNull
protected boolean displayZeroWhenNullDisplay a zero on each coordinate componant when it is null. -
fillWithZero
protected boolean fillWithZeroPrefix any none null value with some zero.
-
-
Constructor Details
-
CoordinatesEditorModel
public CoordinatesEditorModel()
-
-
Method Details
-
getBean
-
setBean
-
getPropertyLatitude
-
setPropertyLatitude
-
getPropertyLongitude
-
setPropertyLongitude
-
getPropertyQuadrant
-
setPropertyQuadrant
-
isDisplayZeroWhenNull
public boolean isDisplayZeroWhenNull() -
setDisplayZeroWhenNull
public void setDisplayZeroWhenNull(boolean displayZeroWhenNull) -
isFillWithZero
public boolean isFillWithZero() -
setFillWithZero
public void setFillWithZero(boolean fillWithZero) -
isShowResetButton
public boolean isShowResetButton() -
setShowResetButton
public void setShowResetButton(boolean showResetButton) -
getLatitudeModel
-
getLongitudeModel
-
setLatitudeAndLongitude
-
getLatitude
-
setLatitude
-
getLongitude
-
setLongitude
-
getQuadrant
-
setQuadrant
-
getFormat
-
setFormat
-
fireLatitude
protected void fireLatitude() -
fireLongitude
protected void fireLongitude() -
fireQuadrant
protected void fireQuadrant() -
updateFormat
-