22 package com.realtime.crossfire.jxclient.gui.commands;
26 import org.jetbrains.annotations.NotNull;
final CommandList commandOn
The command list to execute when checked.
A CheckBoxOption that executes CommandLists when checked/unchecked.
CommandCheckBoxOption(@NotNull final CommandList commandOn, @NotNull final CommandList commandOff, @NotNull final String tooltipText)
Creates a new instance.
final String tooltipText
The tooltip text to explain this option.
final CommandList commandOff
The command list to execute when unchecked.
boolean checked
The current state.
boolean isDefaultChecked()
A list of GUICommand instances.
The base class for all check box options.
void execute()
Execute the command list by calling GUICommand#execute() for each command in order.
void execute(final boolean checked)