Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
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. |
protected class |
List.AccessibleAWTList
This class implements accessibility support for the
List class. |
Modifier and Type | Method and Description |
---|---|
static ActionListener |
AWTEventMulticaster.add(ActionListener a,
ActionListener b)
Adds action-listener-a with action-listener-b and
returns the resulting multicast listener.
|
ActionListener[] |
TrayIcon.getActionListeners()
Returns an array of all the action listeners
registered on this
TrayIcon . |
ActionListener[] |
TextField.getActionListeners()
Returns an array of all the action listeners
registered on this textfield.
|
ActionListener[] |
MenuItem.getActionListeners()
Returns an array of all the action listeners
registered on this menu item.
|
ActionListener[] |
List.getActionListeners()
Returns an array of all the action listeners
registered on this list.
|
ActionListener[] |
Button.getActionListeners()
Returns an array of all the action listeners
registered on this button.
|
static ActionListener |
AWTEventMulticaster.remove(ActionListener l,
ActionListener oldl)
Removes the old action-listener from action-listener-l and
returns the resulting multicast listener.
|
Modifier and Type | Method and Description |
---|---|
static ActionListener |
AWTEventMulticaster.add(ActionListener a,
ActionListener b)
Adds action-listener-a with action-listener-b and
returns the resulting multicast listener.
|
void |
TrayIcon.addActionListener(ActionListener listener)
Adds the specified action listener to receive
ActionEvent s from this TrayIcon . |
void |
TextField.addActionListener(ActionListener l)
Adds the specified action listener to receive
action events from this text field.
|
void |
MenuItem.addActionListener(ActionListener l)
Adds the specified action listener to receive action events
from this menu item.
|
void |
List.addActionListener(ActionListener l)
Adds the specified action listener to receive action events from
this list.
|
void |
Button.addActionListener(ActionListener l)
Adds the specified action listener to receive action events from
this button.
|
static ActionListener |
AWTEventMulticaster.remove(ActionListener l,
ActionListener oldl)
Removes the old action-listener from action-listener-l and
returns the resulting multicast listener.
|
void |
TrayIcon.removeActionListener(ActionListener listener)
Removes the specified action listener.
|
void |
TextField.removeActionListener(ActionListener l)
Removes the specified action listener so that it no longer
receives action events from this text field.
|
void |
MenuItem.removeActionListener(ActionListener l)
Removes the specified action listener so it no longer receives
action events from this menu item.
|
void |
List.removeActionListener(ActionListener l)
Removes the specified action listener so that it no longer
receives action events from this list.
|
void |
Button.removeActionListener(ActionListener l)
Removes the specified action listener so that it no longer
receives action events from this button.
|