|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectewe.ui.Event
ewe.ui.ControlEvent
ControlEvent is an event posted by a control.
| Field Summary | |
String |
action
If the event is a PRESSED event, and an mButton generated the event, then this value will be equal to the "action" value of the button, or the button's text if its action is null. |
static int |
CANCELLED
The event type for a Cancel event (e.g. |
static int |
EXITED
The event type for a Exit event (i.e. |
int |
exitKey
This is set if one of the exit keys was pressed. |
int |
exitKeyModifiers
This is set if one of the exit keys was pressed. |
static int |
FOCUS_IN
The event type for a focus in event. |
static int |
FOCUS_OUT
The event type for a focus out event. |
static int |
MENU_SHOWN
The event type for when a control shows its associated menu. |
Control |
oldOrNewFocus
If the event is a FOCUS_IN then this is the control that is losing focus. |
static int |
OPERATION_CANCELLED
|
static int |
POPUP_CLOSED
|
static int |
PRESSED
The event type for a pressed event. |
static int |
TIMER
The event type for a timer event. |
| Fields inherited from class ewe.ui.Event |
consumed, events, flags, target, timeStamp, type, window |
| Constructor Summary | |
ControlEvent()
|
|
ControlEvent(int type,
Control c)
Constructs a control event of the given type. |
|
| Methods inherited from class ewe.ui.Event |
toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode |
| Field Detail |
public static final int PRESSED
public static final int FOCUS_IN
public static final int FOCUS_OUT
public static final int TIMER
public static final int CANCELLED
public static final int EXITED
public static final int MENU_SHOWN
public static final int OPERATION_CANCELLED
public static final int POPUP_CLOSED
public int exitKey
public int exitKeyModifiers
public Control oldOrNewFocus
public String action
| Constructor Detail |
public ControlEvent()
public ControlEvent(int type,
Control c)
type - the type of eventc - the target control
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||