public static class NullableSpinner.NullableSpinnerDateModel extends SpinnerDateModel
null values.listenerList| Constructor and Description |
|---|
NullableSpinnerDateModel() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getNextValue() |
Object |
getPreviousValue() |
Object |
getValue() |
boolean |
isNullable()
Returns
true if this spinner model is nullable. |
void |
setNullable(boolean nullable)
Sets whether this spinner model is nullable.
|
void |
setValue(Object value)
Sets model value.
|
getCalendarField, getDate, getEnd, getStart, setCalendarField, setEnd, setStartaddChangeListener, fireStateChanged, getChangeListeners, getListeners, removeChangeListenerpublic Object getNextValue()
getNextValue in interface SpinnerModelgetNextValue in class SpinnerDateModelpublic Object getPreviousValue()
getPreviousValue in interface SpinnerModelgetPreviousValue in class SpinnerDateModelpublic Object getValue()
getValue in interface SpinnerModelgetValue in class SpinnerDateModelpublic void setValue(Object value)
null
or not (super class setValue doesn't accept null value).setValue in interface SpinnerModelsetValue in class SpinnerDateModelpublic boolean isNullable()
true if this spinner model is nullable.public void setNullable(boolean nullable)

© Copyrights 2006-2017 Emmanuel PUYBARET / eTeks
Distributed under GNU General Public License