Interface SliderControl

All Superinterfaces:
EditorControl

public non-sealed interface SliderControl extends EditorControl
  • Method Summary

    Modifier and Type
    Method
    Description
     
    double
     
    double
    max()
     
    double
    min()
     
    void
    nudge(int direction, boolean large)
     
    void
     
    void
    slideTo(double value)
    Sets the value a slider position points at, rounded the way this control rounds.
    double
     

    Methods inherited from interface EditorControl

    label, row
  • Method Details

    • value

      double value()
    • min

      double min()
    • max

      double max()
    • fraction

      double fraction()
      Returns:
      Position of the value between min and max, 0 to 1
    • slideTo

      void slideTo(double value)
      Sets the value a slider position points at, rounded the way this control rounds.
    • nudge

      void nudge(int direction, boolean large)
      Parameters:
      direction - 1 or -1
      large - Ten steps instead of one
    • reset

      void reset()
    • formatted

      String formatted()