Class ShowSentCommandsCheckBoxOption


public class ShowSentCommandsCheckBoxOption extends CheckBoxOption
A CheckBoxOption that enables/disables showing commands sent to the server in the messages dialog.
  • Constructor Details

    • ShowSentCommandsCheckBoxOption

      public ShowSentCommandsCheckBoxOption(@NotNull @NotNull GuiManager guiManager)
      Creates a new instance.
      Parameters:
      guiManager - the gui manager to forward to
  • Method Details

    • execute

      protected void execute(boolean checked)
      Description copied from class: CheckBoxOption
      Executes the action associated with this check box option. Must be implemented in subclasses.
      Specified by:
      execute in class CheckBoxOption
      Parameters:
      checked - whether the checkbox option is checked
    • isDefaultChecked

      public boolean isDefaultChecked()
      Description copied from class: CheckBoxOption
      Returns the default value of CheckBoxOption.isChecked().
      Specified by:
      isDefaultChecked in class CheckBoxOption
      Returns:
      the default value