com.partnersoft.preferences.model
Class SoundPreferences

java.lang.Object
  extended by com.partnersoft.preferences.model.AbstractSubsystemPreferences
      extended by com.partnersoft.preferences.model.SoundPreferences
All Implemented Interfaces:
Coggable, SubsystemPreferences

public class SoundPreferences
extends AbstractSubsystemPreferences

SubsystemPreferences for sound behavior.

Copyright 2010 Partner Software, Inc.

Version:
$Id$
Author:
Paul Reavis

Constructor Summary
SoundPreferences(Cog state)
           
 
Method Summary
 boolean isSoundEnabled()
          If true, the Map Viewer is replete with annoying noises.
 void setSoundEnabled(boolean soundEnabled)
           
 Cog toCog()
          Returns the complete internal state of this object in the form of a Cog.
 
Methods inherited from class com.partnersoft.preferences.model.AbstractSubsystemPreferences
getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoundPreferences

public SoundPreferences(Cog state)
Method Detail

toCog

public Cog toCog()
Description copied from interface: Coggable
Returns the complete internal state of this object in the form of a Cog.

Specified by:
toCog in interface Coggable
Overrides:
toCog in class AbstractSubsystemPreferences
Returns:
Cog representing the internal state of this object

isSoundEnabled

public boolean isSoundEnabled()
If true, the Map Viewer is replete with annoying noises.


setSoundEnabled

public void setSoundEnabled(boolean soundEnabled)