Crossfire JXClient, Trunk
|
Public Member Functions | |
boolean | isDefaultChecked () |
SoundMusicCheckBoxOption (@NotNull final SoundManager soundManager) | |
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 SoundManager | soundManager |
A CheckBoxOption that enables/disables background music.
Definition at line 32 of file SoundMusicCheckBoxOption.java.
com.realtime.crossfire.jxclient.sound.SoundMusicCheckBoxOption.SoundMusicCheckBoxOption | ( | @NotNull final SoundManager | soundManager | ) |
Creates a new instance.
soundManager | the sound manager instance to affect |
Definition at line 44 of file SoundMusicCheckBoxOption.java.
References com.realtime.crossfire.jxclient.sound.SoundMusicCheckBoxOption.soundManager.
|
protected |
Executes the action associated with this check box option. Must be implemented in subclasses.
checked | whether the checkbox option is checked |
Reimplemented from com.realtime.crossfire.jxclient.settings.options.CheckBoxOption.
Definition at line 50 of file SoundMusicCheckBoxOption.java.
References com.realtime.crossfire.jxclient.settings.options.CheckBoxOption.checked, com.realtime.crossfire.jxclient.sound.SoundManager.setMusicEnabled(), and com.realtime.crossfire.jxclient.sound.SoundMusicCheckBoxOption.soundManager.
boolean com.realtime.crossfire.jxclient.sound.SoundMusicCheckBoxOption.isDefaultChecked | ( | ) |
Returns the default value of isChecked().
Reimplemented from com.realtime.crossfire.jxclient.settings.options.CheckBoxOption.
Definition at line 55 of file SoundMusicCheckBoxOption.java.
|
private |
The SoundManager instance to affect.
Definition at line 38 of file SoundMusicCheckBoxOption.java.
Referenced by com.realtime.crossfire.jxclient.sound.SoundMusicCheckBoxOption.execute(), and com.realtime.crossfire.jxclient.sound.SoundMusicCheckBoxOption.SoundMusicCheckBoxOption().