jplay
Class InputBase

java.lang.Object
  extended by jplay.InputBase
Direct Known Subclasses:
Keyboard, Mouse

public class InputBase
extends java.lang.Object

Class used to handle actions for buttons or for keys.


Field Summary
static int DETECT_EVERY_PRESS
          This behavior is responsible for detected the pressing of the button or of the key while it's pressing.
static int DETECT_INITIAL_PRESS_ONLY
          Behavior responsible for only allowing the detection of the first press of the button or of the click, after that, It's necessary release the button or the key for the next detection.
 
Constructor Summary
InputBase()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DETECT_EVERY_PRESS

public static final int DETECT_EVERY_PRESS
This behavior is responsible for detected the pressing of the button or of the key while it's pressing.

See Also:
Constant Field Values

DETECT_INITIAL_PRESS_ONLY

public static final int DETECT_INITIAL_PRESS_ONLY
Behavior responsible for only allowing the detection of the first press of the button or of the click, after that, It's necessary release the button or the key for the next detection.

See Also:
Constant Field Values
Constructor Detail

InputBase

public InputBase()