Class SpinnerNumberModel


  • public class SpinnerNumberModel
    extends java.lang.Object
    The javax.swing.SpinnerNumberModel clone
    Author:
    gianpiero.diblasi
    • Constructor Summary

      Constructors 
      Constructor Description
      SpinnerNumberModel​(double value, double minimum, double maximum, double stepSize)
      Creates the object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setJSSpinner​(JSSpinner spinner)
      Sets the spinner managed by this model
      • Methods inherited from class java.lang.Object

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

      • SpinnerNumberModel

        public SpinnerNumberModel​(double value,
                                  double minimum,
                                  double maximum,
                                  double stepSize)
        Creates the object
        Parameters:
        value - The value
        minimum - The minimum value
        maximum - The maximum value
        stepSize - The step
    • Method Detail

      • setJSSpinner

        public void setJSSpinner​(JSSpinner spinner)
        Sets the spinner managed by this model
        Parameters:
        spinner - The spinner