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.
|
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 MouseWheelListener |
AWTEventMulticaster.add(MouseWheelListener a,
MouseWheelListener b)
Adds mouse-wheel-listener-a with mouse-wheel-listener-b and
returns the resulting multicast listener.
|
MouseWheelListener[] |
Component.getMouseWheelListeners()
Returns an array of all the mouse wheel listeners
registered on this component.
|
static MouseWheelListener |
AWTEventMulticaster.remove(MouseWheelListener l,
MouseWheelListener oldl)
Removes the old mouse-wheel-listener from mouse-wheel-listener-l
and returns the resulting multicast listener.
|
Modifier and Type | Method and Description |
---|---|
static MouseWheelListener |
AWTEventMulticaster.add(MouseWheelListener a,
MouseWheelListener b)
Adds mouse-wheel-listener-a with mouse-wheel-listener-b and
returns the resulting multicast listener.
|
void |
Component.addMouseWheelListener(MouseWheelListener l)
Adds the specified mouse wheel listener to receive mouse wheel events
from this component.
|
static MouseWheelListener |
AWTEventMulticaster.remove(MouseWheelListener l,
MouseWheelListener oldl)
Removes the old mouse-wheel-listener from mouse-wheel-listener-l
and returns the resulting multicast listener.
|
void |
Component.removeMouseWheelListener(MouseWheelListener l)
Removes the specified mouse wheel listener so that it no longer
receives mouse wheel events from this component.
|
Modifier and Type | Class and Description |
---|---|
class |
MouseAdapter
An abstract adapter class for receiving mouse events.
|