public class KeyboardInputModeRecognizerBinding extends KeyboardInputModeBinding
KeyboardInputMode
's factory methods that can be
used to remove()
the created recognizer binding again.
Instances of this class can only be obtained from
and KeyboardInputMode.addRecognizerBinding(IEventRecognizer, ICommand, java.lang.Object)
.
Modifier and Type | Method and Description |
---|---|
ICommand |
getCommand()
Gets the
ICommand that is associated with this binding. |
Object |
getCommandParameter()
Gets the command parameter to use for execution of the command.
|
IEventRecognizer |
getEventRecognizer()
Gets the event recognizing function bound by this instance.
|
void |
remove()
Removes the binding represented by this instance from the
KeyboardInputMode it has been created for. |
getKeyboardInputMode
public ICommand getCommand()
ICommand
that is associated with this binding.getCommand
in class KeyboardInputModeBinding
public final Object getCommandParameter()
public IEventRecognizer getEventRecognizer()
public void remove()
KeyboardInputMode
it has been created for.
Once this method has been called, the instance can be
remove
in class KeyboardInputModeBinding