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.
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 TypeMethodDescriptionupdateLabel
(int value) Gets the updated label for the new slider value.
-
Method Details
-
updateLabel
Gets the updated label for the new slider value.- Parameters:
value
- the slider value- Returns:
- the label
-