public class CoordinatesEditorModel
extends org.jdesktop.beans.AbstractSerializableBean
| Modifier and Type | Field and Description |
|---|---|
protected Object |
bean
Bean where to push back data.
|
protected boolean |
displayZeroWhenNull
Display a zero on each coordinate componant when it is null.
|
protected boolean |
fillWithZero
Prefix any none null value with some zero.
|
protected CoordinateFormat |
format |
protected AbsoluteCoordinateEditorModel |
latitudeModel |
protected AbsoluteCoordinateEditorModel |
longitudeModel |
static String |
PROPERTY_DISPLAY_ZERO_WHEN_NULL |
static String |
PROPERTY_FILL_WITH_ZERO |
static String |
PROPERTY_FORMAT |
static String |
PROPERTY_LATITUDE |
static String |
PROPERTY_LONGITUDE |
static String |
PROPERTY_QUADRANT |
static String |
PROPERTY_SHOW_GLOBAL_RESET_BUTTON |
static String |
PROPERTY_SHOW_RESET_BUTTON |
protected String |
propertyLatitude
Name of the property of the bean to fire the change of the
latitudeModel. |
protected String |
propertyLongitude
Name of the property of the bean to fire the change of the
longitudeModel. |
protected String |
propertyQuadrant
Name of the property of the bean to fire the change of the
quadrant. |
protected Integer |
quadrant |
protected boolean |
showGlobalResetButton |
protected boolean |
showResetButton |
| Constructor and Description |
|---|
CoordinatesEditorModel() |
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListenerpublic static final String PROPERTY_LATITUDE
public static final String PROPERTY_LONGITUDE
public static final String PROPERTY_QUADRANT
public static final String PROPERTY_FORMAT
public static final String PROPERTY_SHOW_RESET_BUTTON
public static final String PROPERTY_SHOW_GLOBAL_RESET_BUTTON
public static final String PROPERTY_DISPLAY_ZERO_WHEN_NULL
public static final String PROPERTY_FILL_WITH_ZERO
protected final AbsoluteCoordinateEditorModel latitudeModel
protected final AbsoluteCoordinateEditorModel longitudeModel
protected Object bean
protected String propertyLatitude
latitudeModel.protected String propertyLongitude
longitudeModel.protected String propertyQuadrant
quadrant.protected Integer quadrant
protected CoordinateFormat format
protected boolean showResetButton
protected boolean showGlobalResetButton
protected boolean displayZeroWhenNull
protected boolean fillWithZero
public Object getBean()
public void setBean(Object bean)
public String getPropertyLatitude()
public void setPropertyLatitude(String propertyLatitude)
public String getPropertyLongitude()
public void setPropertyLongitude(String propertyLongitude)
public String getPropertyQuadrant()
public void setPropertyQuadrant(String propertyQuadrant)
public boolean isDisplayZeroWhenNull()
public void setDisplayZeroWhenNull(boolean displayZeroWhenNull)
public boolean isFillWithZero()
public void setFillWithZero(boolean fillWithZero)
public boolean isShowResetButton()
public void setShowResetButton(boolean showResetButton)
public boolean isShowGlobalResetButton()
public void setShowGlobalResetButton(boolean showGlobalResetButton)
public AbsoluteCoordinateEditorModel getLatitudeModel()
public AbsoluteCoordinateEditorModel getLongitudeModel()
public Float getLatitude()
public void setLatitude(Float latitude)
public Float getLongitude()
public void setLongitude(Float longitude)
public Integer getQuadrant()
public void setQuadrant(Integer quadrant)
public CoordinateFormat getFormat()
public void setFormat(CoordinateFormat format)
protected void fireLatitude()
protected void fireLongitude()
protected void fireQuadrant()
protected void updateFormat(CoordinateFormat format)
Copyright © 2008–2018 Ultreia.io. All rights reserved.