Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
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 |
AWTEventMulticaster
AWTEventMulticaster implements efficient and thread-safe multi-cast
event dispatching for the AWT events defined in the java.awt.event
package. |
Modifier and Type | Method and Description |
---|---|
static AdjustmentListener |
AWTEventMulticaster.add(AdjustmentListener a,
AdjustmentListener b)
Adds adjustment-listener-a with adjustment-listener-b and
returns the resulting multicast listener.
|
AdjustmentListener[] |
ScrollPaneAdjustable.getAdjustmentListeners()
Returns an array of all the adjustment listeners
registered on this
ScrollPaneAdjustable . |
AdjustmentListener[] |
Scrollbar.getAdjustmentListeners()
Returns an array of all the adjustment listeners
registered on this scrollbar.
|
static AdjustmentListener |
AWTEventMulticaster.remove(AdjustmentListener l,
AdjustmentListener oldl)
Removes the old adjustment-listener from adjustment-listener-l and
returns the resulting multicast listener.
|
Modifier and Type | Method and Description |
---|---|
static AdjustmentListener |
AWTEventMulticaster.add(AdjustmentListener a,
AdjustmentListener b)
Adds adjustment-listener-a with adjustment-listener-b and
returns the resulting multicast listener.
|
void |
ScrollPaneAdjustable.addAdjustmentListener(AdjustmentListener l)
Adds the specified adjustment listener to receive adjustment
events from this
ScrollPaneAdjustable . |
void |
Adjustable.addAdjustmentListener(AdjustmentListener l)
Adds a listener to receive adjustment events when the value of
the adjustable object changes.
|
void |
Scrollbar.addAdjustmentListener(AdjustmentListener l)
Adds the specified adjustment listener to receive instances of
AdjustmentEvent from this scroll bar. |
static AdjustmentListener |
AWTEventMulticaster.remove(AdjustmentListener l,
AdjustmentListener oldl)
Removes the old adjustment-listener from adjustment-listener-l and
returns the resulting multicast listener.
|
void |
ScrollPaneAdjustable.removeAdjustmentListener(AdjustmentListener l)
Removes the specified adjustment listener so that it no longer
receives adjustment events from this
ScrollPaneAdjustable . |
void |
Adjustable.removeAdjustmentListener(AdjustmentListener l)
Removes an adjustment listener.
|
void |
Scrollbar.removeAdjustmentListener(AdjustmentListener l)
Removes the specified adjustment listener so that it no longer
receives instances of
AdjustmentEvent from this scroll bar. |
Modifier and Type | Method and Description |
---|---|
AdjustmentListener[] |
JScrollBar.getAdjustmentListeners()
Returns an array of all the
AdjustmentListener s added
to this JScrollBar with addAdjustmentListener(). |
Modifier and Type | Method and Description |
---|---|
void |
JScrollBar.addAdjustmentListener(AdjustmentListener l)
Adds an AdjustmentListener.
|
void |
JScrollBar.removeAdjustmentListener(AdjustmentListener l)
Removes an AdjustmentEvent listener.
|
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, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.