nextapp.echo.event
Class ItemEvent

java.lang.Object
  extended by java.util.EventObject
      extended by nextapp.echo.event.ItemEvent
All Implemented Interfaces:
java.io.Serializable

public class ItemEvent
extends java.util.EventObject

An event indicating an item has been selected or deselected

See Also:
ItemListener, Serialized Form

Field Summary
static int DESELECTED
           
static int SELECTED
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ItemEvent(java.lang.Object source, java.lang.Object item, int stateChange)
          Creates a ItemEvent object.
 
Method Summary
 java.lang.Object getItem()
          Returns the item whose state changed.
 int getStateChange()
          Returns the type of state change that occurred.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SELECTED

public static final int SELECTED
See Also:
Constant Field Values

DESELECTED

public static final int DESELECTED
See Also:
Constant Field Values
Constructor Detail

ItemEvent

public ItemEvent(java.lang.Object source,
                 java.lang.Object item,
                 int stateChange)
Creates a ItemEvent object.

Parameters:
source - The object generating the event.
Method Detail

getItem

public java.lang.Object getItem()
Returns the item whose state changed.


getStateChange

public int getStateChange()
Returns the type of state change that occurred.