org.jagatoo.input.actions
Class AbstractLabeledInvokableInputAction

java.lang.Object
  extended by org.jagatoo.input.actions.AbstractInputAction
      extended by org.jagatoo.input.actions.AbstractInvokableInputAction
          extended by org.jagatoo.input.actions.AbstractLabeledInvokableInputAction
All Implemented Interfaces:
InputAction, InvokableInputAction, LabeledInputAction, LabeledInvokableInputAction
Direct Known Subclasses:
InputHandlerSuspendAction, MouseSmoothingSwitchAction

public abstract class AbstractLabeledInvokableInputAction
extends AbstractInvokableInputAction
implements LabeledInvokableInputAction

An InputAction can be bound to an arbitrary InputDevice's component. It is executed on a state-change.


Constructor Summary
AbstractLabeledInvokableInputAction(int ordinal, java.lang.String text)
           
 
Method Summary
 java.lang.String getLocalizedText()
          
 java.lang.String getText()
          
 
Methods inherited from class org.jagatoo.input.actions.AbstractInputAction
ordinal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jagatoo.input.actions.InvokableInputAction
invokeAction
 
Methods inherited from interface org.jagatoo.input.actions.InputAction
ordinal
 

Constructor Detail

AbstractLabeledInvokableInputAction

public AbstractLabeledInvokableInputAction(int ordinal,
                                           java.lang.String text)
Method Detail

getText

public final java.lang.String getText()

Specified by:
getText in interface LabeledInputAction
Returns:
a description-text for this InputAction.

getLocalizedText

public java.lang.String getLocalizedText()

Specified by:
getLocalizedText in interface LabeledInputAction
Returns:
a localozed descriptive text for this InputAction. You should prefer this method over LabeledInputAction.getText().