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