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, setStart
addChangeListener, fireStateChanged, getChangeListeners, getListeners, removeChangeListener
public Object getNextValue()
getNextValue
in interface SpinnerModel
getNextValue
in class SpinnerDateModel
public Object getPreviousValue()
getPreviousValue
in interface SpinnerModel
getPreviousValue
in class SpinnerDateModel
public Object getValue()
getValue
in interface SpinnerModel
getValue
in class SpinnerDateModel
public void setValue(Object value)
null
or not (super class setValue
doesn't accept null
value).setValue
in interface SpinnerModel
setValue
in class SpinnerDateModel
public boolean isNullable()
true
if this spinner model is nullable.public void setNullable(boolean nullable)
© Copyrights 2006-2016 Emmanuel PUYBARET / eTeks
Distributed under GNU General Public License