Interface GUICommandFactory

All Known Implementing Classes:
GUICommandFactoryImpl

public interface GUICommandFactory
Factory for creating GUICommand instances from string representation.
  • Method Details

    • createCommandDecode

      GUICommand createCommandDecode(@NotNull @NotNull String encodedCommandString)
      Creates a new GUICommand instance from string representation.
      Parameters:
      encodedCommandString - the command string representation
      Returns:
      the new command instance
    • createCommand

      @NotNull @NotNull GUICommand createCommand(@NotNull @NotNull String commandString)
      Creates a new GUICommand instance from string representation.
      Parameters:
      commandString - the command string representation
      Returns:
      the new command instance
    • encode

      @NotNull @NotNull String encode(@NotNull @NotNull String command)
      Encodes a key binding if necessary.
      Parameters:
      command - the key binding
      Returns:
      the encoded key binding
    • decode

      @NotNull @NotNull String decode(@NotNull @NotNull String command)
      Decodes a key binding if necessary.
      Parameters:
      command - the key binding
      Returns:
      the decoded key binding