Interface MacroEditor

All Superinterfaces:
GuiEditor

public non-sealed interface MacroEditor extends GuiEditor
Edits a macro's commands and bind.
  • Method Details

    • commands

      List<String> commands()
    • editingIndex

      int editingIndex()
      Returns:
      Index of the command being edited in place, or -1
    • editing

      TextFieldState editing()
      Returns:
      The in-place edit field
    • addField

      TextFieldState addField()
      Returns:
      The field for a new command
    • edit

      void edit(int index)
    • commitEdit

      void commitEdit()
    • delete

      void delete(int index)
    • moveUp

      void moveUp(int index)
    • moveDown

      void moveDown(int index)
    • addCommand

      void addCommand()
    • bind

      Bind bind()
    • isBinding

      boolean isBinding()
    • startBinding

      void startBinding()
    • closeButton

      EditorButton closeButton()