public class ShowSentCommandsCheckBoxOption extends CheckBoxOption
CheckBoxOption
that enables/disables showing commands sent to the
server in the messages dialog.Constructor and Description |
---|
ShowSentCommandsCheckBoxOption(@NotNull GuiManager guiManager)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
execute(boolean checked)
Executes the action associated with this check box option.
|
boolean |
isDefaultChecked()
Returns the default value of
CheckBoxOption.isChecked() . |
fireStateChangedEvent, getTooltipText, isChecked, setChecked, toggleChecked
addOptionListener, inhibitSave, removeOptionListener
public ShowSentCommandsCheckBoxOption(@NotNull @NotNull GuiManager guiManager)
guiManager
- the gui manager to forward toprotected void execute(boolean checked)
CheckBoxOption
execute
in class CheckBoxOption
checked
- whether the checkbox option is checkedpublic boolean isDefaultChecked()
CheckBoxOption
CheckBoxOption.isChecked()
.isDefaultChecked
in class CheckBoxOption