public class SpecialValueSpinnerModel extends javax.swing.SpinnerNumberModel
Constructor and Description |
---|
SpecialValueSpinnerModel() |
SpecialValueSpinnerModel(double value,
double minimum,
double maximum,
double stepSize,
double special,
java.lang.String specialText) |
SpecialValueSpinnerModel(int value,
int minimum,
int maximum,
int stepSize,
int special,
java.lang.String specialText) |
SpecialValueSpinnerModel(int special,
java.lang.String specialText) |
SpecialValueSpinnerModel(java.lang.Number value,
java.lang.Comparable minimum,
java.lang.Comparable maximum,
java.lang.Number stepSize,
java.lang.Number special,
java.lang.String specialText) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSpecialText()
Returns the special text which is display when special value is selected.
|
java.lang.Number |
getSpecialValue()
Returns the special value which is used to display special text.
|
getMaximum, getMinimum, getNextValue, getNumber, getPreviousValue, getStepSize, getValue, setMaximum, setMinimum, setStepSize, setValue
public SpecialValueSpinnerModel()
public SpecialValueSpinnerModel(int special, java.lang.String specialText)
public SpecialValueSpinnerModel(double value, double minimum, double maximum, double stepSize, double special, java.lang.String specialText)
public SpecialValueSpinnerModel(int value, int minimum, int maximum, int stepSize, int special, java.lang.String specialText)
public SpecialValueSpinnerModel(java.lang.Number value, java.lang.Comparable minimum, java.lang.Comparable maximum, java.lang.Number stepSize, java.lang.Number special, java.lang.String specialText)
public java.lang.Number getSpecialValue()
getSpecialText()
public java.lang.String getSpecialText()
getSpecialValue()