com.google.gwt.widgetideas.client
Interface SliderBar.LabelFormatter
- Enclosing class:
- SliderBar
public static interface SliderBar.LabelFormatter
A formatter used to format the labels displayed in the widget.
Method Summary |
java.lang.String |
formatLabel(SliderBar slider,
double value)
Generate the text to display in each label based on the label's value. |
formatLabel
java.lang.String formatLabel(SliderBar slider,
double value)
- Generate the text to display in each label based on the label's value.
Override this method to change the text displayed within the SliderBar.
- Parameters:
slider
- the Slider barvalue
- the value the label displays
- Returns:
- the text to display for the label