public class ScrollBar
  Comment     Returned-by     Constructor-argument     Method-argument     Field-type     Type-bound     Links  

Either a horizontal or vertical bar with increment and decrement buttons and a "thumb" with which the user can interact. Typically not used alone but used for building up more complicated controls such as the ScrollPane and ListView.

ScrollBar sets focusTraversable to false.

This example creates a vertical ScrollBar :

 import javafx.scene.control.ScrollBar;

 ScrollBar s1 = new ScrollBar();
Implementation of ScrollBar According to JavaFX UI Control API Specification

extends Control

Since:  JavaFX 2.0