public class CoordinatesEditorModel
extends org.jdesktop.beans.AbstractSerializableBean
| Modifier and Type | Field and Description |
|---|---|
protected Serializable |
bean
Bean where to push back data.
|
protected boolean |
displayZeroWhenNull
Display a zero on each coordinate componant when it is null.
|
protected CoordinateFormat |
format |
protected AbsoluteCoordinateEditorModel |
latitudeModel |
protected AbsoluteCoordinateEditorModel |
longitudeModel |
static String |
PROPERTY_DISPLAY_ZERO_WHEN_NULL |
static String |
PROPERTY_FORMAT |
static String |
PROPERTY_LATITUDE |
static String |
PROPERTY_LONGITUDE |
static String |
PROPERTY_QUADRANT |
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 |
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_DISPLAY_ZERO_WHEN_NULL
protected final AbsoluteCoordinateEditorModel latitudeModel
protected final AbsoluteCoordinateEditorModel longitudeModel
protected Serializable bean
protected String propertyLatitude
latitudeModel.protected String propertyLongitude
longitudeModel.protected String propertyQuadrant
quadrant.protected Integer quadrant
protected CoordinateFormat format
protected boolean showResetButton
protected boolean displayZeroWhenNull
public Serializable getBean()
public void setBean(Serializable 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 isShowResetButton()
public void setShowResetButton(boolean showResetButton)
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–2015 CodeLutin. All rights reserved.