public interface BindingFactory
| Modifier and Type | Method and Description |
|---|---|
Binding |
createKeyBinding(TriggerSequence sequence,
ParameterizedCommand command,
java.lang.String schemeId,
java.lang.String contextId)
Create a binding between the sequence and the command
|
KeySequence |
getKeySequenceInstance() |
KeySequence |
getKeySequenceInstance(KeyLookup keylookup,
java.lang.String sequence)
Create a key sequence from the string representation
|
KeySequence |
getKeySequenceInstance(KeySequence keySequence,
KeyStroke stroke)
Create a sequence from a stroke
|
KeyStroke |
getKeyStrokeInstance(KeyLookup lookup,
int modifierKeys,
int naturalKey)
Create a keystroke from basic data
|
KeySequence getKeySequenceInstance(KeyLookup keylookup, java.lang.String sequence) throws ParseException
keylookup - the key lookupsequence - the sequence stringParseException - if the string can not be parsedKeySequence getKeySequenceInstance()
KeySequence getKeySequenceInstance(KeySequence keySequence, KeyStroke stroke)
keySequence - the original sequencestroke - the strokeBinding createKeyBinding(TriggerSequence sequence, ParameterizedCommand command, java.lang.String schemeId, java.lang.String contextId)
sequence - the sequencecommand - the commandschemeId - the schemecontextId - the context id