|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jagatoo.input.events.InputEvent
org.jagatoo.input.events.ControllerEvent
public abstract class ControllerEvent
Abstract base class for all Controller events.
| Nested Class Summary | |
|---|---|
static class |
ControllerEvent.SubType
|
| Nested classes/interfaces inherited from class org.jagatoo.input.events.InputEvent |
|---|
InputEvent.Type |
| Constructor Summary | |
|---|---|
protected |
ControllerEvent(Controller controller,
ControllerEvent.SubType subType,
DeviceComponent component,
long when,
long lastWhen)
Create a new event. |
protected |
ControllerEvent(ControllerEvent.SubType subType)
Creates a ControllerEvent with default values. |
| Method Summary | |
|---|---|
Controller |
getController()
The Controller device, that caused the event. |
ControllerEvent.SubType |
getSubType()
|
protected void |
set(Controller controller,
ControllerEvent.SubType subType,
DeviceComponent component,
long when,
long lastWhen)
Sets the fields of this ControllerEvent. |
protected void |
set(ControllerEvent e)
Sets the fields of this ControllerEvent to match the given ControllerEvent. |
abstract java.lang.String |
toString()
|
| Methods inherited from class org.jagatoo.input.events.InputEvent |
|---|
getComponent, getLastWhen, getType, getWhen, set, set |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected ControllerEvent(Controller controller,
ControllerEvent.SubType subType,
DeviceComponent component,
long when,
long lastWhen)
controller - subType - component - when - lastWhen - protected ControllerEvent(ControllerEvent.SubType subType)
| Method Detail |
|---|
public final ControllerEvent.SubType getSubType()
public final Controller getController()
public abstract java.lang.String toString()
toString in class InputEventInputEvent as a String.
protected void set(Controller controller,
ControllerEvent.SubType subType,
DeviceComponent component,
long when,
long lastWhen)
protected void set(ControllerEvent e)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||