public class SoftKeyEvent extends Event
Modifier and Type | Field and Description |
---|---|
String |
action
This is the action for the button or for the selected menu item if available.
|
static int |
ACTION |
SoftKeyBar |
bar
This is the bar that generated the event.
|
Control |
proxy
If the SoftKey button or menu item was a proxy for another control (usually a button)
then this will be set to be that Control.
|
MenuItem |
selectedItem
If the event was caused by a menu item selection, then this will be that selected item.
|
int |
whichKey
This is the SoftKey that generated the event, starting from a value
of 1 for the left key.
|
Constructor and Description |
---|
SoftKeyEvent() |
Modifier and Type | Method and Description |
---|---|
boolean |
fireProxyAction()
If the SoftKeyEvent was generated by a button or menu item that is associated with
a proxy control, then call doAction() on that proxy and then return true.
|
clearPostData, getPostData, isReused, setPostData, setReused
_getFieldType, _getSetField, cache, compareTo, copied, copyFrom, equals, getCopy, getDeclaredField, getDeclaredFieldValue, getMyFieldList, getNew
public static final int ACTION
public SoftKeyBar bar
public int whichKey
public String action
public MenuItem selectedItem
public Control proxy