public class DateTimeEditorModel
extends org.jdesktop.beans.AbstractSerializableBean
| Modifier and Type | Field and Description |
|---|---|
protected Serializable |
bean
Optional bean where to push back dates.
|
protected Calendar |
calendar |
protected Calendar |
calendarMinute |
protected Date |
date
Full date (date + time)
|
protected boolean |
fillState
State to be able to custom the model.
|
static String |
PROPERTY_DATE |
static String |
PROPERTY_DAY_DATE |
static String |
PROPERTY_TIME_DATE |
static String |
PROPERTY_TIME_IN_MINUTES |
static String |
PROPERTY_VALUE_IS_ADJUSTING |
protected String |
propertyDate
Optional bean property where to push back the full date.
|
protected String |
propertyDayDate
Optional bean property where to push back the day date.
|
protected String |
propertyTimeDate
Optional bean property where to push back the time date.
|
protected boolean |
valueIsAdjusting
To stop propagate events when we are doing some modifications on the model.
|
| Constructor and Description |
|---|
DateTimeEditorModel() |
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListenerpublic static final String PROPERTY_DAY_DATE
public static final String PROPERTY_TIME_DATE
public static final String PROPERTY_TIME_IN_MINUTES
public static final String PROPERTY_DATE
public static final String PROPERTY_VALUE_IS_ADJUSTING
protected Serializable bean
protected String propertyDayDate
protected String propertyTimeDate
protected String propertyDate
protected Date date
protected boolean fillState
false by the DateTimeEditorHandler.init(DateTimeEditor).protected boolean valueIsAdjusting
protected final Calendar calendar
protected final Calendar calendarMinute
public String getPropertyDayDate()
public void setPropertyDayDate(String propertyDayDate)
public String getPropertyTimeDate()
public void setPropertyTimeDate(String propertyTimeDate)
public String getPropertyDate()
public void setPropertyDate(String propertyDate)
public Serializable getBean()
public void setBean(Serializable bean)
public boolean isValueIsAdjusting()
public void setValueIsAdjusting(boolean valueIsAdjusting)
public void setHour(Integer hour)
public void setMinute(Integer minute)
public Integer getTimeInMinutes()
public void setTimeInMinutes(Integer time)
public Date getTimeDate()
public void setTimeDate(Date timeDate)
public Date getDayDate()
public void setDayDate(Date dayDate)
public Date getDate()
public void setDate(Date date)
protected void fireTimeDate(Date oldDate)
protected void fireTimeInMinutes(Integer oldDate)
protected void fireDayDate(Date oldDate)
protected void fireDate(Date oldDate)
protected void fireValueIsAdjusting(boolean oldValue)
Copyright © 2008–2014 CodeLutin. All rights reserved.