public interface GUICommandFactory
GUICommand
instances from string
representation.Modifier and Type | Method and Description |
---|---|
GUICommand |
createCommand(java.lang.String commandString)
Creates a new
GUICommand instance from string representation. |
GUICommand |
createCommandDecode(java.lang.String encodedCommandString)
Creates a new
GUICommand instance from string representation. |
java.lang.String |
decode(java.lang.String command)
Decodes a key binding if necessary.
|
java.lang.String |
encode(java.lang.String command)
Encodes a key binding if necessary.
|
@NotNull GUICommand createCommand(@NotNull java.lang.String commandString)
GUICommand
instance from string representation.commandString
- the command string representationGUICommand createCommandDecode(@NotNull java.lang.String encodedCommandString)
GUICommand
instance from string representation.encodedCommandString
- the command string representation@NotNull java.lang.String decode(@NotNull java.lang.String command)
command
- the key binding@NotNull java.lang.String encode(@NotNull java.lang.String command)
command
- the key binding