Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR 216 (Maintenance Release)

Uses of Interface
java.awt.event.ItemListener

Packages that use ItemListener
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
 

Uses of ItemListener in java.awt
 

Classes in java.awt that implement ItemListener
 class AWTEventMulticaster
          A class which implements efficient and thread-safe multi-cast event dispatching for the AWT events defined in the java.awt.event package.
 

Methods in java.awt that return ItemListener
 ItemListener[] List.getItemListeners()
          Returns an array of all the item listeners registered on this list.
 ItemListener[] Checkbox.getItemListeners()
          Returns an array of all the item listeners registered on this checkbox.
 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.
static ItemListener AWTEventMulticaster.add(ItemListener a, ItemListener b)
          Adds item-listener-a with item-listener-b and returns the resulting multicast listener.
static ItemListener AWTEventMulticaster.remove(ItemListener l, ItemListener oldl)
          Removes the old item-listener from item-listener-l and returns the resulting multicast listener.
 

Methods in java.awt with parameters of type ItemListener
 void ItemSelectable.addItemListener(ItemListener l)
          Adds a listener to receive item events when the state of an item is changed by the user.
 void ItemSelectable.removeItemListener(ItemListener l)
          Removes an item listener.
 void List.addItemListener(ItemListener l)
          Adds the specified item listener to receive item events from this list.
 void List.removeItemListener(ItemListener l)
          Removes the specified item listener so that it no longer receives item events from this list.
 void Checkbox.addItemListener(ItemListener l)
          Adds the specified item listener to receive item events from this check box.
 void Checkbox.removeItemListener(ItemListener l)
          Removes the specified item listener so that the item listener no longer receives item events from this check box.
 void Choice.addItemListener(ItemListener l)
          Adds the specified item listener to receive item events from this Choice menu.
 void Choice.removeItemListener(ItemListener l)
          Removes the specified item listener so that it no longer receives 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 CheckboxMenuItem.removeItemListener(ItemListener l)
          Removes the specified item listener so that it no longer receives item events from this check box menu item.
static ItemListener AWTEventMulticaster.add(ItemListener a, ItemListener b)
          Adds item-listener-a with item-listener-b and returns the resulting multicast listener.
static ItemListener AWTEventMulticaster.remove(ItemListener l, ItemListener oldl)
          Removes the old item-listener from item-listener-l and returns the resulting multicast listener.
 


JSR 216 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 216 specification.