Example usage for Java javax.swing SpinnerDateModel fields, constructors, methods, implement or subclass
The text is from its open source code.
SpinnerDateModel() Constructs a SpinnerDateModel whose initial value is the current date, calendarField is equal to Calendar.DAY_OF_MONTH , and for which there are no start /end limits. | |
SpinnerDateModel(Date value, Comparable Creates a SpinnerDateModel that represents a sequence of dates between start and end . |
int | getCalendarField() Returns the Calendar field that is added to or subtracted from by the nextValue and previousValue methods. |
Date | getDate() Returns the current element in this sequence of Date s. |
Comparable | getEnd() Returns the last Date in the sequence. |
Comparable | getStart() Returns the first Date in the sequence. |
Object | getValue() Returns the current element in this sequence of Date s. |
void | setCalendarField(int calendarField) Changes the size of the date value change computed by the nextValue and previousValue methods. |
void | setStart(Comparable Changes the lower limit for Dates in this sequence. |
void | setValue(Object value) Sets the current Date for this sequence. |