22 package com.realtime.crossfire.jxclient.settings.options;
24 import org.jetbrains.annotations.NotNull;
65 if (this.checked == checked) {
85 protected abstract void execute(
final boolean checked);
93 super.fireStateChangedEvent();
The base class for all options.
void setChecked(final boolean checked)
Sets the current state.
String getTooltipText()
Returns the tooltip text to explain this option.
final String tooltipText
The tooltip text to explain this option.
boolean checked
The current state.
boolean isChecked()
Returns the current state.
The base class for all check box options.
void fireStateChangedEvent()
void toggleChecked()
Toggles the checked state.
abstract boolean isDefaultChecked()
Returns the default value of isChecked().
abstract void execute(final boolean checked)
Executes the action associated with this check box option.
CheckBoxOption(@NotNull final String tooltipText)
Creates a new instance.