Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.awt.event.ItemEvent

Availability: JDK 1.1

public class ItemEvent extends AWTEvent {
   // Public Constructor
      public ItemEvent(ItemSelectable source, int id, Object item, int stateChange);
   // Constants
      public static final int DESELECTED;
      public static final int ITEM_FIRST;
      public static final int ITEM_LAST;
      public static final int ITEM_STATE_CHANGED;
      public static final int SELECTED;
   // Public Instance Methods
      public Object getItem();
      public ItemSelectable getItemSelectable();
      public int getStateChange();
      public String paramString();  // Overrides AWTEvent.paramString()
}
Passed To:
AWTEventMulticaster.itemStateChanged(), Checkbox.processItemEvent(), CheckboxMenuItem.processItemEvent(), Choice.processItemEvent(), ItemListener.itemStateChanged(), List.processItemEvent().

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.