Crossfire JXClient, Trunk
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
com.realtime.crossfire.jxclient.gui.log.ShowSentCommandsCheckBoxOption Class Reference
Inheritance diagram for com.realtime.crossfire.jxclient.gui.log.ShowSentCommandsCheckBoxOption:
Inheritance graph
Collaboration diagram for com.realtime.crossfire.jxclient.gui.log.ShowSentCommandsCheckBoxOption:
Collaboration graph

Public Member Functions

boolean isDefaultChecked ()
 
 ShowSentCommandsCheckBoxOption (@NotNull final GuiManager guiManager)
 
- Public Member Functions inherited from com.realtime.crossfire.jxclient.settings.options.CheckBoxOption
String getTooltipText ()
 
boolean isChecked ()
 
void setChecked (final boolean checked)
 
void toggleChecked ()
 
- Public Member Functions inherited from com.realtime.crossfire.jxclient.settings.options.Option
void addOptionListener (@NotNull final OptionListener listener)
 
boolean inhibitSave ()
 
void removeOptionListener (@NotNull final OptionListener listener)
 

Protected Member Functions

void execute (final boolean checked)
 
- Protected Member Functions inherited from com.realtime.crossfire.jxclient.settings.options.CheckBoxOption
 CheckBoxOption (@NotNull final String tooltipText)
 
void fireStateChangedEvent ()
 

Private Attributes

final GuiManager guiManager
 

Detailed Description

A CheckBoxOption that enables/disables showing commands sent to the server in the messages dialog.

Author
Andreas Kirschbaum

Definition at line 34 of file ShowSentCommandsCheckBoxOption.java.

Constructor & Destructor Documentation

◆ ShowSentCommandsCheckBoxOption()

com.realtime.crossfire.jxclient.gui.log.ShowSentCommandsCheckBoxOption.ShowSentCommandsCheckBoxOption ( @NotNull final GuiManager  guiManager)

Creates a new instance.

Parameters
guiManagerthe gui manager to forward to

Definition at line 46 of file ShowSentCommandsCheckBoxOption.java.

References com.realtime.crossfire.jxclient.gui.log.ShowSentCommandsCheckBoxOption.guiManager.

Member Function Documentation

◆ execute()

void com.realtime.crossfire.jxclient.gui.log.ShowSentCommandsCheckBoxOption.execute ( final boolean  checked)
protected

Executes the action associated with this check box option. Must be implemented in subclasses.

Parameters
checkedwhether the checkbox option is checked

Reimplemented from com.realtime.crossfire.jxclient.settings.options.CheckBoxOption.

Definition at line 52 of file ShowSentCommandsCheckBoxOption.java.

References com.realtime.crossfire.jxclient.settings.options.CheckBoxOption.checked, com.realtime.crossfire.jxclient.gui.log.ShowSentCommandsCheckBoxOption.guiManager, and com.realtime.crossfire.jxclient.window.GuiManager.setShowSentCommands().

Here is the call graph for this function:

◆ isDefaultChecked()

boolean com.realtime.crossfire.jxclient.gui.log.ShowSentCommandsCheckBoxOption.isDefaultChecked ( )

Returns the default value of isChecked().

Returns
the default value

Reimplemented from com.realtime.crossfire.jxclient.settings.options.CheckBoxOption.

Definition at line 57 of file ShowSentCommandsCheckBoxOption.java.

Member Data Documentation

◆ guiManager

final GuiManager com.realtime.crossfire.jxclient.gui.log.ShowSentCommandsCheckBoxOption.guiManager
private

The documentation for this class was generated from the following file: