Class PropertyNumberSpinnerModel<V extends java.lang.Number>

  • 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
    • 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.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
      • 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

      • PropertyNumberSpinnerModel

        public PropertyNumberSpinnerModel​(MutableProperty<V> property)
    • Method Detail

      • getValue

        public V 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
      • 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