public class MenuEvent extends ControlEvent
Modifier and Type | Field and Description |
---|---|
static int |
ABORTED |
static int |
CLICKED |
static int |
DESELECTED |
Menu |
menu
This is the Menu that generated the event, which is not necessarily the "target" for the
event.
|
static int |
NEXT_MENU_LEFT |
static int |
NEXT_MENU_RIGHT |
static int |
SELECTED |
Object |
selectedItem
This is relevant only when the event type is SELECTED, DESELECTED or CLICKED.
|
static int |
SELECTION_CHANGED |
action, CANCELLED, EXITED, exitKey, exitKeyModifiers, FOCUS_IN, FOCUS_OUT, MENU_SHOWN, oldOrNewFocus, OPERATION_CANCELLED, POPUP_CLOSED, PRESSED, START_CUSTOM_EVENTS, STRUCTURE_CHANGED, TIMER
Constructor and Description |
---|
MenuEvent(int type,
Control target,
Object item) |
clearPostData, getPostData, isReused, setPostData, setReused
_getFieldType, _getSetField, cache, compareTo, copied, copyFrom, equals, getCopy, getDeclaredField, getDeclaredFieldValue, getMyFieldList, getNew
public static final int SELECTED
public static final int DESELECTED
public static final int CLICKED
public static final int ABORTED
public static final int SELECTION_CHANGED
public static final int NEXT_MENU_RIGHT
public static final int NEXT_MENU_LEFT
public Object selectedItem
public Menu menu