Class ShowSentCommandsCheckBoxOption
java.lang.Object
com.realtime.crossfire.jxclient.settings.options.Option
com.realtime.crossfire.jxclient.settings.options.CheckBoxOption
com.realtime.crossfire.jxclient.gui.log.ShowSentCommandsCheckBoxOption
A
CheckBoxOption that enables/disables showing commands sent to the
server in the messages dialog.-
Constructor Summary
ConstructorsConstructorDescriptionShowSentCommandsCheckBoxOption(@NotNull GuiManager guiManager) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(boolean checked) Executes the action associated with this check box option.booleanReturns the default value ofCheckBoxOption.isChecked().Methods inherited from class com.realtime.crossfire.jxclient.settings.options.CheckBoxOption
fireStateChangedEvent, getTooltipText, isChecked, setChecked, toggleCheckedMethods inherited from class com.realtime.crossfire.jxclient.settings.options.Option
addOptionListener, inhibitSave, removeOptionListener
-
Constructor Details
-
ShowSentCommandsCheckBoxOption
Creates a new instance.- Parameters:
guiManager- the gui manager to forward to
-
-
Method Details
-
execute
protected void execute(boolean checked) Description copied from class:CheckBoxOptionExecutes the action associated with this check box option. Must be implemented in subclasses.- Specified by:
executein classCheckBoxOption- Parameters:
checked- whether the checkbox option is checked
-
isDefaultChecked
public boolean isDefaultChecked()Description copied from class:CheckBoxOptionReturns the default value ofCheckBoxOption.isChecked().- Specified by:
isDefaultCheckedin classCheckBoxOption- Returns:
- the default value
-