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 source,
int id,
int type,
int value)
Constructs an
AdjustmentEvent object with the
specified Adjustable source, event type,
adjustment type, and value. |
AdjustmentEvent(Adjustable source,
int id,
int type,
int value,
boolean isAdjusting)
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.ScrollBar
By default
JScrollPane creates scrollbars
that are instances
of this class. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.