public static class NullableSpinner.NullableSpinnerDateModel
extends javax.swing.SpinnerDateModel
null values.| Constructor and Description |
|---|
NullableSpinnerDateModel() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getNextValue() |
java.lang.Object |
getPreviousValue() |
java.lang.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(java.lang.Object value)
Sets model value.
|
getCalendarField, getDate, getEnd, getStart, setCalendarField, setEnd, setStartpublic java.lang.Object getNextValue()
getNextValue in interface javax.swing.SpinnerModelgetNextValue in class javax.swing.SpinnerDateModelpublic java.lang.Object getPreviousValue()
getPreviousValue in interface javax.swing.SpinnerModelgetPreviousValue in class javax.swing.SpinnerDateModelpublic java.lang.Object getValue()
getValue in interface javax.swing.SpinnerModelgetValue in class javax.swing.SpinnerDateModelpublic void setValue(java.lang.Object value)
null
or not (super class setValue doesn't accept null value).setValue in interface javax.swing.SpinnerModelsetValue in class javax.swing.SpinnerDateModelpublic boolean isNullable()
true if this spinner model is nullable.public void setNullable(boolean nullable)

© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License