|
Crossfire JXClient, Trunk
R20561
|
A CheckBoxOption that enables/disables sound support. More...
Inheritance diagram for com.realtime.crossfire.jxclient.sound.SoundCheckBoxOption:
Collaboration diagram for com.realtime.crossfire.jxclient.sound.SoundCheckBoxOption:Public Member Functions | |
| boolean | isDefaultChecked () |
| SoundCheckBoxOption (@NotNull final SoundManager soundManager) | |
| Creates a new instance. More... | |
Public Member Functions inherited from com.realtime.crossfire.jxclient.settings.options.CheckBoxOption | |
| String | getTooltipText () |
| Returns the tooltip text to explain this option. More... | |
| boolean | isChecked () |
| Returns the current state. More... | |
| abstract boolean | isDefaultChecked () |
| Returns the default value of isChecked(). More... | |
| void | setChecked (final boolean checked) |
| Sets the current state. More... | |
| void | toggleChecked () |
| Toggles the checked state. More... | |
Public Member Functions inherited from com.realtime.crossfire.jxclient.settings.options.Option | |
| void | addOptionListener (@NotNull final OptionListener listener) |
| Adds a listener for state changes. More... | |
| boolean | inhibitSave () |
| Returns whether the option should not be saved. More... | |
| void | removeOptionListener (@NotNull final OptionListener listener) |
| Removes a listener for state changes. More... | |
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) | |
| Creates a new instance. More... | |
| abstract void | execute (final boolean checked) |
| Executes the action associated with this check box option. More... | |
| void | fireStateChangedEvent () |
Protected Member Functions inherited from com.realtime.crossfire.jxclient.settings.options.Option | |
| void | fireStateChangedEvent () |
| Notifies all listeners that the state has changed. More... | |
Private Attributes | |
| final SoundManager | soundManager |
| The SoundManager instance to affect. More... | |
A CheckBoxOption that enables/disables sound support.
Definition at line 31 of file SoundCheckBoxOption.java.
| com.realtime.crossfire.jxclient.sound.SoundCheckBoxOption.SoundCheckBoxOption | ( | @NotNull final SoundManager | soundManager | ) |
Creates a new instance.
| soundManager | the sound manager instance to affect |
Definition at line 43 of file SoundCheckBoxOption.java.
References com.realtime.crossfire.jxclient.sound.SoundCheckBoxOption.soundManager.
|
protected |
Definition at line 52 of file SoundCheckBoxOption.java.
References com.realtime.crossfire.jxclient.sound.SoundManager.setEnabled().
Here is the call graph for this function:| boolean com.realtime.crossfire.jxclient.sound.SoundCheckBoxOption.isDefaultChecked | ( | ) |
Definition at line 60 of file SoundCheckBoxOption.java.
|
private |
The SoundManager instance to affect.
Definition at line 37 of file SoundCheckBoxOption.java.
Referenced by com.realtime.crossfire.jxclient.sound.SoundCheckBoxOption.SoundCheckBoxOption().