Example usage for javafx.scene.control Slider setId

List of usage examples for javafx.scene.control Slider setId

Introduction

In this page you can find the example usage for javafx.scene.control Slider setId.

Prototype

public final void setId(String value) 

Source Link

Usage

From source file:AudioPlayer3.java

private Slider createSlider(String id) {
    final Slider slider = new Slider(0.0, 1.0, 0.1);
    slider.setId(id);
    slider.setValue(0);//from w w w. ja v  a 2  s .c  om
    return slider;
}