Package com.macrofocus.properties.swing
Class PropertyNumberSpinnerModel<V extends java.lang.Number>
- java.lang.Object
-
- javax.swing.AbstractSpinnerModel
-
- javax.swing.SpinnerNumberModel
-
- com.macrofocus.properties.swing.PropertyNumberSpinnerModel<V>
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.SpinnerModel
public class PropertyNumberSpinnerModel<V extends java.lang.Number> extends javax.swing.SpinnerNumberModel
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PropertyNumberSpinnerModel(MutableProperty<V> property)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getNextValue()
java.lang.Object
getPreviousValue()
V
getValue()
void
setValue(java.lang.Object value)
-
Methods inherited from class javax.swing.SpinnerNumberModel
getMaximum, getMinimum, getNumber, getStepSize, setMaximum, setMinimum, setStepSize
-
-
-
-
Constructor Detail
-
PropertyNumberSpinnerModel
public PropertyNumberSpinnerModel(MutableProperty<V> property)
-
-
Method Detail
-
getValue
public V getValue()
- Specified by:
getValue
in interfacejavax.swing.SpinnerModel
- Overrides:
getValue
in classjavax.swing.SpinnerNumberModel
-
setValue
public void setValue(java.lang.Object value)
- Specified by:
setValue
in interfacejavax.swing.SpinnerModel
- Overrides:
setValue
in classjavax.swing.SpinnerNumberModel
-
getNextValue
public java.lang.Object getNextValue()
- Specified by:
getNextValue
in interfacejavax.swing.SpinnerModel
- Overrides:
getNextValue
in classjavax.swing.SpinnerNumberModel
-
getPreviousValue
public java.lang.Object getPreviousValue()
- Specified by:
getPreviousValue
in interfacejavax.swing.SpinnerModel
- Overrides:
getPreviousValue
in classjavax.swing.SpinnerNumberModel
-
-