 |
Crossfire JXClient, Trunk
|
Go to the documentation of this file.
23 package com.realtime.crossfire.jxclient.gui.commands;
27 import org.jetbrains.annotations.NotNull;
final boolean defaultChecked
The default value.
boolean isDefaultChecked()
Returns the default value of isChecked().
final String tooltipText
The tooltip text to explain this option.
CommandCheckBoxOption(final boolean defaultChecked, @NotNull final CommandList commandOn, @NotNull final CommandList commandOff, @NotNull final String tooltipText)
Creates a new instance.
final CommandList commandOn
The command list to execute when checked.
final CommandList commandOff
The command list to execute when unchecked.
void execute()
Execute the command list by calling GUICommand#execute() for each command in order.
A list of GUICommand instances.
A CheckBoxOption that executes CommandLists when checked/unchecked.
boolean checked
The current state.
The base class for all check box options.
void execute(final boolean checked)
Executes the action associated with this check box option.