public class NullableSpinnerNumberModel
extends javax.swing.AbstractSpinnerModel
implements java.io.Serializable
Constructor and Description |
---|
NullableSpinnerNumberModel() |
NullableSpinnerNumberModel(java.lang.Double value,
double minimum,
double maximum,
double stepSize) |
NullableSpinnerNumberModel(java.lang.Integer value,
int minimum,
int maximum,
int stepSize) |
NullableSpinnerNumberModel(java.lang.Number value) |
NullableSpinnerNumberModel(java.lang.Number value,
java.lang.Comparable minimum,
java.lang.Comparable maximum,
java.lang.Number stepSize) |
Modifier and Type | Method and Description |
---|---|
java.lang.Comparable |
getMaximum() |
java.lang.Comparable |
getMinimum() |
java.lang.Object |
getNextValue() |
java.lang.Number |
getNumber() |
java.lang.Object |
getPreviousValue() |
java.lang.Number |
getStepSize() |
java.lang.Object |
getValue() |
void |
setMaximum(java.lang.Comparable maximum) |
void |
setMinimum(java.lang.Comparable minimum) |
void |
setStepSize(java.lang.Number stepSize) |
void |
setValue(java.lang.Object value) |
public NullableSpinnerNumberModel(java.lang.Number value, java.lang.Comparable minimum, java.lang.Comparable maximum, java.lang.Number stepSize)
public NullableSpinnerNumberModel(java.lang.Integer value, int minimum, int maximum, int stepSize)
public NullableSpinnerNumberModel(java.lang.Double value, double minimum, double maximum, double stepSize)
public NullableSpinnerNumberModel(java.lang.Number value)
public NullableSpinnerNumberModel()
public void setMinimum(java.lang.Comparable minimum)
public java.lang.Comparable getMinimum()
public void setMaximum(java.lang.Comparable maximum)
public java.lang.Comparable getMaximum()
public void setStepSize(java.lang.Number stepSize)
public java.lang.Number getStepSize()
public java.lang.Object getNextValue()
getNextValue
in interface javax.swing.SpinnerModel
public java.lang.Object getPreviousValue()
getPreviousValue
in interface javax.swing.SpinnerModel
public java.lang.Number getNumber()
public java.lang.Object getValue()
getValue
in interface javax.swing.SpinnerModel
public void setValue(java.lang.Object value)
setValue
in interface javax.swing.SpinnerModel