public class NullableSpinnerTimeModel
extends javax.swing.SpinnerDateModel
implements java.io.Serializable
Constructor and Description |
---|
NullableSpinnerTimeModel() |
NullableSpinnerTimeModel(java.util.Date value,
java.lang.Comparable start,
java.lang.Comparable end,
int calendarField) |
Modifier and Type | Method and Description |
---|---|
int |
getCalendarField() |
java.util.Date |
getDate() |
java.lang.Comparable |
getEnd() |
java.lang.Object |
getNextValue() |
java.lang.Object |
getPreviousValue() |
java.lang.Comparable |
getStart() |
java.sql.Time |
getTime() |
java.lang.Object |
getValue() |
void |
setCalendarField(int calendarField) |
void |
setEnd(java.lang.Comparable end) |
void |
setStart(java.lang.Comparable start) |
void |
setValue(java.lang.Object value) |
public NullableSpinnerTimeModel(java.util.Date value, java.lang.Comparable start, java.lang.Comparable end, int calendarField)
public NullableSpinnerTimeModel()
public void setStart(java.lang.Comparable start)
setStart
in class javax.swing.SpinnerDateModel
public java.lang.Comparable getStart()
getStart
in class javax.swing.SpinnerDateModel
public void setEnd(java.lang.Comparable end)
setEnd
in class javax.swing.SpinnerDateModel
public java.lang.Comparable getEnd()
getEnd
in class javax.swing.SpinnerDateModel
public void setCalendarField(int calendarField)
setCalendarField
in class javax.swing.SpinnerDateModel
public int getCalendarField()
getCalendarField
in class javax.swing.SpinnerDateModel
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.util.Date getDate()
getDate
in class javax.swing.SpinnerDateModel
public java.sql.Time getTime()
public java.lang.Object getValue()
getValue
in interface javax.swing.SpinnerModel
getValue
in class javax.swing.SpinnerDateModel
public void setValue(java.lang.Object value)
setValue
in interface javax.swing.SpinnerModel
setValue
in class javax.swing.SpinnerDateModel