All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class java.awt.event.ItemEvent
java.lang.Object
   |
   +----java.util.EventObject
           |
           +----java.awt.AWTEvent
                   |
                   +----java.awt.event.ItemEvent
  -  public class ItemEvent
  -  extends AWTEvent
		
The item event emitted by ItemSelectable objects.
 This event is generated when an item is selected or de-selected.
    -  See Also:
    
-  ItemSelectable, ItemListener
   
  -   DESELECTED DESELECTED
-  
 The item de-selected state change type.
  
-   ITEM_FIRST ITEM_FIRST
-   Marks the first integer id for the range of item event ids.
  
-   ITEM_LAST ITEM_LAST
-   Marks the last integer id for the range of item event ids.
  
-   ITEM_STATE_CHANGED ITEM_STATE_CHANGED
-  
 The item state changed event type.
  
-   SELECTED SELECTED
-   The item selected state change type.
   
  -   ItemEvent(ItemSelectable, int, Object, int) ItemEvent(ItemSelectable, int, Object, int)
-   Constructs a ItemSelectEvent object with the specified ItemSelectable source,
 type, item, and item select state.
   
  -   getItem() getItem()
-   Returns the item where the event occurred.
  
-   getItemSelectable() getItemSelectable()
-   Returns the ItemSelectable object where this event originated.
  
-   getStateChange() getStateChange()
-   Returns the state change type which generated the event.
  
-   paramString() paramString()
-  
   
 ITEM_FIRST
ITEM_FIRST
 public static final int ITEM_FIRST
  -  Marks the first integer id for the range of item event ids.
 
 ITEM_LAST
ITEM_LAST
 public static final int ITEM_LAST
  -  Marks the last integer id for the range of item event ids.
 
 ITEM_STATE_CHANGED
ITEM_STATE_CHANGED
 public static final int ITEM_STATE_CHANGED
  -  The item state changed event type.
 
 SELECTED
SELECTED
 public static final int SELECTED
  -  The item selected state change type.
 
 DESELECTED
DESELECTED
 public static final int DESELECTED
  -  The item de-selected state change type.
 
   
 ItemEvent
ItemEvent
 public ItemEvent(ItemSelectable source,
                  int id,
                  Object item,
                  int stateChange)
  -  Constructs a ItemSelectEvent object with the specified ItemSelectable source,
 type, item, and item select state.
   
- 
    -  Parameters:
    
-  source - the ItemSelectable object where the event originated
  
 
   
 getItemSelectable
getItemSelectable
 public ItemSelectable getItemSelectable()
  -  Returns the ItemSelectable object where this event originated.
 
 getItem
getItem
 public Object getItem()
  -  Returns the item where the event occurred.
 
 getStateChange
getStateChange
 public int getStateChange()
  -  Returns the state change type which generated the event.
   
- 
    -  See Also:
    
-  SELECTED, DESELECTED
  
 
 paramString
paramString
 public String paramString()
  - 
    -  Overrides:
    
-  paramString in class AWTEvent
  
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index
Submit a bug or feature