org.jagatoo.input.actions
Interface InvokableInputAction
- All Superinterfaces:
- InputAction
- All Known Subinterfaces:
- LabeledInvokableInputAction
- All Known Implementing Classes:
- AbstractInvokableInputAction, AbstractLabeledInvokableInputAction, InputActionCommand, InputHandlerSuspendAction, MouseSmoothingSwitchAction
public interface InvokableInputAction
- extends InputAction
An InputAction can be bound to an arbitrary InputDevice's component.
It is executed on a state-change.
|
Method Summary |
java.lang.String |
invokeAction(InputDevice device,
DeviceComponent comp,
int delta,
int state,
long nanoTime)
This method is invoked when the bound InputDevice changed its state. |
invokeAction
java.lang.String invokeAction(InputDevice device,
DeviceComponent comp,
int delta,
int state,
long nanoTime)
throws InputSystemException
- This method is invoked when the bound InputDevice changed its state.
- Parameters:
device - the bound devicecomp - the bound device componentdelta - the delta of the previous and current statestate - the current statenanoTime -
- Returns:
- a success message (implementation dependent)
- Throws:
InputSystemException