|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
com.jmex.bui.event.BEvent
com.jmex.bui.event.InputEvent
public class InputEvent
Contains information common to all input (keyboard and mouse) events. This includes the state of the modifier keys at the time the event was generated.
| Field Summary | |
|---|---|
protected int |
_modifiers
|
static int |
ALT_DOWN_MASK
A modifier mask indicating that the alt key was down at the time this event was generated. |
static int |
BUTTON1_DOWN_MASK
A modifier mask indicating that the first mouse button was down at the time this event was generated. |
static int |
BUTTON2_DOWN_MASK
A modifier mask indicating that the second mouse button was down at the time this event was generated. |
static int |
BUTTON3_DOWN_MASK
A modifier mask indicating that the third mouse button was down at the time this event was generated. |
static int |
CTRL_DOWN_MASK
A modifier mask indicating that the control key was down at the time this event was generated. |
static int |
META_DOWN_MASK
A modifier mask indicating that the meta key (Windows Logo key on some keyboards) was down at the time this event was generated. |
static int |
SHIFT_DOWN_MASK
A modifier mask indicating that the shift key was down at the time this event was generated. |
| Fields inherited from class com.jmex.bui.event.BEvent |
|---|
_when |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
protected |
InputEvent(Object source,
long when,
int modifiers)
|
| Method Summary | |
|---|---|
int |
getModifiers()
Returns the modifier mask associated with this event. |
protected void |
toString(StringBuffer buf)
|
| Methods inherited from class com.jmex.bui.event.BEvent |
|---|
dispatch, getWhen, propagateUpHierarchy, toString |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int BUTTON1_DOWN_MASK
public static final int BUTTON2_DOWN_MASK
public static final int BUTTON3_DOWN_MASK
public static final int SHIFT_DOWN_MASK
public static final int CTRL_DOWN_MASK
public static final int ALT_DOWN_MASK
public static final int META_DOWN_MASK
protected int _modifiers
| Constructor Detail |
|---|
protected InputEvent(Object source,
long when,
int modifiers)
| Method Detail |
|---|
public int getModifiers()
protected void toString(StringBuffer buf)
toString in class BEvent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||