Example usage for Java java.awt.event ItemEvent fields, constructors, methods, implement or subclass
The text is from its open source code.
int | ITEM_FIRST The first number in the range of ids used for item events. |
int | ITEM_LAST The last number in the range of ids used for item events. |
int | ITEM_STATE_CHANGED This event id indicates that an item's state changed. |
int | SELECTED This state-change value indicates that an item was selected. |
int | DESELECTED This state-change-value indicates that a selected item was deselected. |
ItemEvent(ItemSelectable source, int id, Object item, int stateChange) Constructs an ItemEvent object. |
int | getID() Returns the event type. |
Object | getItem() Returns the item affected by the event. |
ItemSelectable | getItemSelectable() Returns the originator of the event. |
Object | getSource() The object on which the Event initially occurred. |
int | getStateChange() Returns the type of state change (selected or deselected). |
String | paramString() Returns a parameter string identifying this item event. |
String | toString() Returns a String representation of this object. |