站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Interface java.awt.event.ItemListener - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

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. 
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.swing.plaf.basic Provides user interface objects built according to the Basic look-and-feel. 
 

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
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 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.
 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 ItemSelectable.addItemListener(ItemListener l)
          Add a listener to recieve item events when the state of an item changes.
 void ItemSelectable.removeItemListener(ItemListener l)
          Removes an item listener.
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.
 

Uses of ItemListener in javax.swing
 

Classes in javax.swing that implement ItemListener
protected  class DefaultCellEditor.EditorDelegate
           
protected  class JCheckBox.AccessibleJCheckBox
          The class used to obtain the accessible role for this object.
protected  class JRadioButton.AccessibleJRadioButton
          The class used to obtain the accessible role for this object.
protected  class JToggleButton.AccessibleJToggleButton
          The class used to obtain the accessible role for this object.
 

Fields in javax.swing declared as ItemListener
protected  ItemListener AbstractButton.itemListener
           
 

Methods in javax.swing that return ItemListener
protected  ItemListener AbstractButton.createItemListener()
           
 

Methods in javax.swing with parameters of type ItemListener
 void AbstractButton.addItemListener(ItemListener l)
          adds an ItemListener to the checkbox
 void AbstractButton.removeItemListener(ItemListener l)
          removes an ItemListener from the button
 void ButtonModel.addItemListener(ItemListener l)
          Adds an ItemListener to the button.
 void ButtonModel.removeItemListener(ItemListener l)
          Removes an ItemListener from the button.
 void JComboBox.addItemListener(ItemListener aListener)
          Adds an ItemListener.
 void JComboBox.removeItemListener(ItemListener aListener)
          Removes an ItemListener
 void DefaultButtonModel.addItemListener(ItemListener l)
          Adds an ItemListener to the button.
 void DefaultButtonModel.removeItemListener(ItemListener l)
          Removes an ItemListener from the button.
 

Uses of ItemListener in javax.swing.plaf.basic
 

Classes in javax.swing.plaf.basic that implement ItemListener
 class BasicComboBoxUI.ItemHandler
          This listener watches for changes to the selection in the combo box and updates the display of the currently selected item.
protected  class BasicComboPopup.ItemHandler
          This listener watches for changes in the JComboBox's selection.
 

Fields in javax.swing.plaf.basic declared as ItemListener
protected  ItemListener BasicComboPopup.itemListener
           
protected  ItemListener BasicComboBoxUI.itemListener
           
 

Methods in javax.swing.plaf.basic that return ItemListener
protected  ItemListener BasicComboPopup.createItemListener()
          Creates an item listener that watches for changes in the selected item in the JComboBox.
protected  ItemListener BasicComboBoxUI.createItemListener()
          Creates the item listener that watches for updates in the current selection so that it can update the display.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.