Interface WLabeledSlider.LabelUpdater

Enclosing class:
WLabeledSlider
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface WLabeledSlider.LabelUpdater
A label updater updates the label of a slider based on the current value.

Useful for situations when you want to have display values on the slider.

  • Method Summary

    Modifier and Type
    Method
    Description
    updateLabel(int value)
    Gets the updated label for the new slider value.
  • Method Details

    • updateLabel

      Text updateLabel(int value)
      Gets the updated label for the new slider value.
      Parameters:
      value - the slider value
      Returns:
      the label