|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--shout3d.core.DeviceInput
An abstract class which is subclassed to create Shout3D DeviceInputs, such as MouseInput, KeyboardInput, and WindowInput
Field Summary | |
static int |
ALT_MASK
This flag indicates that the Alt key was down when the event occurred. |
static int |
CTRL_MASK
This flag indicates that the Control key was down when the event occurred. |
static int |
META_MASK
This flag indicates that the Meta key was down when the event occurred. |
int |
modifiers
Indicates any modifiers present with the key input. |
static int |
SHIFT_MASK
This flag indicates that the Shift key was down when the event occurred. |
double |
timeStamp
Time at which the input was received. |
Constructor Summary | |
DeviceInput()
Constructs this DeviceInput |
|
DeviceInput(double timeStamp,
int modifiers)
Constructs this DeviceInput |
Method Summary | |
java.lang.String |
getTypeName()
Gets a string representing this DeviceInput's type |
boolean |
isOfType(java.lang.String type)
Returns whether this deviceInput is of the same type, or a type derived from, the DeviceInput type given by the input string. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public double timeStamp
public int modifiers
public static final int SHIFT_MASK
public static final int CTRL_MASK
public static final int META_MASK
public static final int ALT_MASK
Constructor Detail |
public DeviceInput()
public DeviceInput(double timeStamp, int modifiers)
timeStamp
- this DeviceInput's time stampMethod Detail |
public java.lang.String getTypeName()
public boolean isOfType(java.lang.String type)
type
- the field type string
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |