|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
org.karora.cooee.app.event.ActionEvent
org.karora.cooee.ng.model.ActionEventEx
public class ActionEventEx
ActionEventEx extends ActionEvent and provides information about what meta key was pressed at the time the user raised this event.
| Field Summary | |
|---|---|
static int |
METAKEY_ALT
Used to indicate whether the 'alt' key was depressed during the firing of the event. |
static int |
METAKEY_CONTROL
Used to indicate whether the 'ctrl' key was depressed during the firing of the event. |
static int |
METAKEY_META
Used to indicate whether the 'meta' key was depressed during the firing of the event. |
static int |
METAKEY_NONE
Used to indicate that NO meta key was pressed during the event. |
static int |
METAKEY_SHIFT
Used to indicate whether the 'shift' key was depressed during the firing of the event. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ActionEventEx(java.lang.Object source,
java.lang.String command)
Constructs a ActionEventEx |
|
ActionEventEx(java.lang.Object source,
java.lang.String command,
int metaKeyInfo)
Constructs a ActionEventEx |
|
| Method Summary | |
|---|---|
int |
getMetaKeyInfo()
|
| Methods inherited from class org.karora.cooee.app.event.ActionEvent |
|---|
getActionCommand |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int METAKEY_NONE
public static final int METAKEY_ALT
public static final int METAKEY_SHIFT
public static final int METAKEY_CONTROL
public static final int METAKEY_META
| Constructor Detail |
|---|
public ActionEventEx(java.lang.Object source,
java.lang.String command)
ActionEventEx
source - -
the source of the eventcommand - -
the command associated with the event
public ActionEventEx(java.lang.Object source,
java.lang.String command,
int metaKeyInfo)
ActionEventEx
source - -
the source of the eventcommand - -
the command associated with the eventmetaKeyInfo - -
the metaKey information in play when the event was raised.
This can be one of the following
| Method Detail |
|---|
public int getMetaKeyInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||