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 |
Checkbox.AccessibleAWTCheckbox
This class implements accessibility support for the
Checkbox class. |
protected class |
List.AccessibleAWTList
This class implements accessibility support for the
List class. |
Modifier and Type | Method and Description |
---|---|
static ItemListener |
AWTEventMulticaster.add(ItemListener a,
ItemListener b)
Adds item-listener-a with item-listener-b and
returns the resulting multicast listener.
|
ItemListener[] |
List.getItemListeners()
Returns an array of all the item listeners
registered on this list.
|
ItemListener[] |
Choice.getItemListeners()
Returns an array of all the item listeners
registered on this choice.
|
ItemListener[] |
CheckboxMenuItem.getItemListeners()
Returns an array of all the item listeners
registered on this checkbox menuitem.
|
ItemListener[] |
Checkbox.getItemListeners()
Returns an array of all the item listeners
registered on this checkbox.
|
static ItemListener |
AWTEventMulticaster.remove(ItemListener l,
ItemListener oldl)
Removes the old item-listener from item-listener-l and
returns the resulting multicast listener.
|
Modifier and Type | Method and Description |
---|---|
static ItemListener |
AWTEventMulticaster.add(ItemListener a,
ItemListener b)
Adds item-listener-a with item-listener-b and
returns the resulting multicast listener.
|
void |
List.addItemListener(ItemListener l)
Adds the specified item listener to receive item events from
this list.
|
void |
ItemSelectable.addItemListener(ItemListener l)
Adds a listener to receive item events when the state of an item is
changed by the user.
|
void |
Choice.addItemListener(ItemListener l)
Adds the specified item listener to receive item events from
this
Choice menu. |
void |
CheckboxMenuItem.addItemListener(ItemListener l)
Adds the specified item listener to receive item events from
this check box menu item.
|
void |
Checkbox.addItemListener(ItemListener l)
Adds the specified item listener to receive item events from
this check box.
|
static ItemListener |
AWTEventMulticaster.remove(ItemListener l,
ItemListener oldl)
Removes the old item-listener from item-listener-l and
returns the resulting multicast listener.
|
void |
List.removeItemListener(ItemListener l)
Removes the specified item listener so that it no longer
receives item events from this list.
|
void |
ItemSelectable.removeItemListener(ItemListener l)
Removes an item listener.
|
void |
Choice.removeItemListener(ItemListener l)
Removes the specified item listener so that it no longer receives
item events from this
Choice menu. |
void |
CheckboxMenuItem.removeItemListener(ItemListener l)
Removes the specified item listener so that it no longer receives
item events from this check box menu item.
|
void |
Checkbox.removeItemListener(ItemListener l)
Removes the specified item listener so that the item listener
no longer receives item events from this check box.
|