Class TemporaryInternetFilesPanel.PowerOfSpinnerNumberModel

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

    private static class TemporaryInternetFilesPanel.PowerOfSpinnerNumberModel
    extends javax.swing.SpinnerNumberModel
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<java.lang.Long> powersOf  
      • Fields inherited from class javax.swing.AbstractSpinnerModel

        listenerList
    • Constructor Summary

      Constructors 
      Constructor Description
      PowerOfSpinnerNumberModel​(java.lang.Long initialCacheSize, java.lang.Long cacheMinSize, java.lang.Long cacheMaxSize, java.lang.Long spinnerStepSize)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Long getNextValue()  
      java.lang.Long getPreviousValue()  
      • Methods inherited from class javax.swing.SpinnerNumberModel

        getMaximum, getMinimum, getNumber, getStepSize, getValue, setMaximum, setMinimum, setStepSize, setValue
      • 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
    • Field Detail

      • powersOf

        private final java.util.List<java.lang.Long> powersOf
    • Constructor Detail

      • PowerOfSpinnerNumberModel

        public PowerOfSpinnerNumberModel​(java.lang.Long initialCacheSize,
                                         java.lang.Long cacheMinSize,
                                         java.lang.Long cacheMaxSize,
                                         java.lang.Long spinnerStepSize)
    • Method Detail

      • getNextValue

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

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