BBjSlider::setLabels
Description
In BBj 10.0 and higher, this method sets the custom labels for a BBjSlider.
Syntax
Return Value |
Method |
void |
setLabels(Map<Integer,String> labels) |
Parameters
Variable |
Description |
labels |
A Java Map<Integer,String> structure, where the Integer key is the slider position of the corresponding String label. |
Return Value
None.
Remarks
If custom labels are not defined, the slider generates labels corresponding to the integer values of the major ticks. The labels are reset if setMajorTickSpacing() is called.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.