Class PropertySpinnerModel

  • All Implemented Interfaces:
    java.io.Serializable, javax.swing.SpinnerModel

    public class PropertySpinnerModel
    extends javax.swing.SpinnerNumberModel
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class javax.swing.AbstractSpinnerModel

        listenerList
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Comparable getMaximum()  
      java.lang.Comparable getMinimum()  
      java.lang.Object getNextValue()  
      java.lang.Object getPreviousValue()  
      java.lang.Number getStepSize()  
      java.lang.Object getValue()  
      void setProperty​(MutableProperty property)  
      void setStepSize​(java.lang.Number stepSize)  
      void setValue​(java.lang.Object value)  
      • Methods inherited from class javax.swing.SpinnerNumberModel

        getNumber, setMaximum, setMinimum
      • Methods inherited from class javax.swing.AbstractSpinnerModel

        addChangeListener, fireStateChanged, getChangeListeners, getListeners, removeChangeListener
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PropertySpinnerModel

        public PropertySpinnerModel​(MutableProperty property)
      • PropertySpinnerModel

        public PropertySpinnerModel​(MutableProperty property,
                                    java.lang.Number stepSize,
                                    java.lang.Number min,
                                    java.lang.Number max)
    • Method Detail

      • getValue

        public java.lang.Object getValue()
        Specified by:
        getValue in interface javax.swing.SpinnerModel
        Overrides:
        getValue in class javax.swing.SpinnerNumberModel
      • setValue

        public void setValue​(java.lang.Object value)
        Specified by:
        setValue in interface javax.swing.SpinnerModel
        Overrides:
        setValue in class javax.swing.SpinnerNumberModel
      • getStepSize

        public java.lang.Number getStepSize()
        Overrides:
        getStepSize in class javax.swing.SpinnerNumberModel
      • setStepSize

        public void setStepSize​(java.lang.Number stepSize)
        Overrides:
        setStepSize in class javax.swing.SpinnerNumberModel
      • getMinimum

        public java.lang.Comparable getMinimum()
        Overrides:
        getMinimum in class javax.swing.SpinnerNumberModel
      • getMaximum

        public java.lang.Comparable getMaximum()
        Overrides:
        getMaximum in class javax.swing.SpinnerNumberModel
      • getNextValue

        public java.lang.Object getNextValue()
        Specified by:
        getNextValue in interface javax.swing.SpinnerModel
        Overrides:
        getNextValue in class javax.swing.SpinnerNumberModel
      • getPreviousValue

        public java.lang.Object getPreviousValue()
        Specified by:
        getPreviousValue in interface javax.swing.SpinnerModel
        Overrides:
        getPreviousValue in class javax.swing.SpinnerNumberModel