| Package | Description |
|---|---|
| java.awt |
Contains all of the classes for creating user interfaces and for painting graphics and images.
|
| java.awt.event |
Provides interfaces and classes for dealing with different types of events fired by AWT components.
|
| javax.swing |
Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Scrollbar
The
Scrollbar class embodies a scroll bar, a familiar user-interface object.
|
class |
ScrollPaneAdjustable
This class represents the state of a horizontal or vertical scrollbar of a
ScrollPane.
|
| Modifier and Type | Method and Description |
|---|---|
Adjustable |
ScrollPane.getHAdjustable()
Returns the
ScrollPaneAdjustable object which represents the state of the horizontal scrollbar.
|
Adjustable |
ScrollPane.getVAdjustable()
Returns the
ScrollPaneAdjustable object which represents the state of the vertical scrollbar.
|
| Modifier and Type | Method and Description |
|---|---|
Adjustable |
AdjustmentEvent.getAdjustable()
Returns the
Adjustable object where this event originated.
|
| Constructor and Description | |
|---|---|
AdjustmentEvent(Adjustable
Constructs an
AdjustmentEvent object with the specified
Adjustable source, event type, adjustment type, and value.
|
|
AdjustmentEvent(Adjustable
Constructs an
AdjustmentEvent object with the specified Adjustable source, event type, adjustment type, and value.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JScrollBar
An implementation of a scrollbar.
|
protected class |
JScrollPane
By default
JScrollPane creates scrollbars that are instances of this class.
|