All Packages Class Hierarchy This Package Previous Next Index
Class com.bulletproof.gui.event.ItemEvent
java.lang.Object
|
+----com.bulletproof.gui.GUIEvent
|
+----com.bulletproof.gui.event.ItemEvent
- public class ItemEvent
- extends GUIEvent
The action semantic event.
- See Also:
- ActionListener
-
DESELECTED
-
The item de-selected state change type.
-
ITEM_FIRST
- Marks the first integer id for the range of item event ids.
-
ITEM_LAST
- Marks the last integer id for the range of item event ids.
-
ITEM_STATE_CHANGED
-
The item state changed event type.
-
SELECTED
- The item selected state change type.
-
ItemEvent(ItemSelectable, int, Object, int)
- Constructs a ItemSelectEvent object with the specified ItemSelectable source,
type, item, and item select state.
-
getItem()
- Returns the item where the event occurred.
-
getItemSelectable()
- Returns the ItemSelectable object where this event originated.
-
getStateChange()
- Returns the state change type which generated the event.
ITEM_FIRST
public static final int ITEM_FIRST
- Marks the first integer id for the range of item event ids.
ITEM_LAST
public static final int ITEM_LAST
- Marks the last integer id for the range of item event ids.
ITEM_STATE_CHANGED
public static final int ITEM_STATE_CHANGED
- The item state changed event type.
SELECTED
public static final int SELECTED
- The item selected state change type.
DESELECTED
public static final int DESELECTED
- The item de-selected state change type.
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
public ItemSelectable getItemSelectable()
- Returns the ItemSelectable object where this event originated.
getItem
public Object getItem()
- Returns the item where the event occurred.
getStateChange
public int getStateChange()
- Returns the state change type which generated the event.
- See Also:
- SELECTED, DESELECTED
All Packages Class Hierarchy This Package Previous Next Index