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);
}
Aggregations