Search in sources :

Example 1 with VisSlider

use of com.kotcrab.vis.ui.widget.VisSlider in project vis-ui by kotcrab.

the class TestVertical method addVisWidgets.

private void addVisWidgets() {
    VisProgressBar progressbar = new VisProgressBar(0, 100, 1, true);
    VisSlider slider = new VisSlider(0, 100, 1, true);
    VisSlider sliderDisabled = new VisSlider(0, 100, 1, true);
    progressbar.setValue(50);
    slider.setValue(50);
    sliderDisabled.setValue(50);
    sliderDisabled.setDisabled(true);
    VisTable progressbarTable = new VisTable(true);
    progressbarTable.add(progressbar);
    progressbarTable.add(slider);
    progressbarTable.add(sliderDisabled);
    add(progressbarTable);
}
Also used : VisProgressBar(com.kotcrab.vis.ui.widget.VisProgressBar) VisTable(com.kotcrab.vis.ui.widget.VisTable) VisSlider(com.kotcrab.vis.ui.widget.VisSlider)

Aggregations

VisProgressBar (com.kotcrab.vis.ui.widget.VisProgressBar)1 VisSlider (com.kotcrab.vis.ui.widget.VisSlider)1 VisTable (com.kotcrab.vis.ui.widget.VisTable)1