Class LogSlider

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants

public class LogSlider extends JSlider
Simple logarithmic slider. Goes from 1 to a specified maximum, only returning integer values.
Since:
19 Jan 2005
Author:
Mark Taylor
See Also:
  • Constructor Details

    • LogSlider

      public LogSlider(int max)
      Constructor.
      Parameters:
      max - maximum value
  • Method Details

    • setMaximum1

      public void setMaximum1(int max)
      Sets the maximum.
      Parameters:
      max - maximum value
    • getValue1

      public int getValue1()
      Returns the current value.
      Returns:
      value
    • setValue1

      public void setValue1(int val)
      Sets the current value.
      Parameters:
      val - value
    • getMaximum1

      public int getMaximum1()
      Returns the current maximum.
      Returns:
      max