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, setStart
public java.lang.Object getNextValue()
getNextValue
in interface javax.swing.SpinnerModel
getNextValue
in class javax.swing.SpinnerDateModel
public java.lang.Object getPreviousValue()
getPreviousValue
in interface javax.swing.SpinnerModel
getPreviousValue
in class javax.swing.SpinnerDateModel
public java.lang.Object getValue()
getValue
in interface javax.swing.SpinnerModel
getValue
in class javax.swing.SpinnerDateModel
public void setValue(java.lang.Object value)
null
or not (super class setValue
doesn't accept null
value).setValue
in interface javax.swing.SpinnerModel
setValue
in class javax.swing.SpinnerDateModel
public boolean isNullable()
true
if this spinner model is nullable.public void setNullable(boolean nullable)
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License