Example usage for Java java.awt Scrollbar fields, constructors, methods, implement or subclass
The text is from its open source code.
int | HORIZONTAL A constant that indicates a horizontal scroll bar. |
Scrollbar(int orientation, int value, int visible, int minimum, int maximum) Constructs a new scroll bar with the specified orientation, initial value, visible amount, and minimum and maximum values. |
void | addAdjustmentListener(AdjustmentListener l) Adds the specified adjustment listener to receive instances of AdjustmentEvent from this scroll bar. |
int | getValue() Gets the current value of this scroll bar. |
void | setSize(int width, int height) Resizes this component so that it has width width and height height . |