VASSAL.configure
Class SoundConfigurer

java.lang.Object
  |
  +--VASSAL.configure.Configurer
        |
        +--VASSAL.configure.SoundConfigurer

public class SoundConfigurer
extends Configurer

Configurer for specifying an AudioClip


Field Summary
static java.lang.String DEFAULT
           
 
Fields inherited from class VASSAL.configure.Configurer
changeSupport, frozen, key, name, NAME_PROPERTY, noUpdate, value
 
Constructor Summary
SoundConfigurer(java.lang.String key, java.lang.String name, java.lang.String defaultResource)
           
 
Method Summary
 void chooseClip()
           
 java.awt.Component getControls()
          GUI interface for setting the option in an editing window
 java.lang.String getValueString()
           
 void play()
           
 void setValue(java.lang.String s)
          Set the Object value from a String
 
Methods inherited from class VASSAL.configure.Configurer
addPropertyChangeListener, fireUpdate, getKey, getName, getValue, isFrozen, setFrozen, setName, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final java.lang.String DEFAULT
See Also:
Constant Field Values
Constructor Detail

SoundConfigurer

public SoundConfigurer(java.lang.String key,
                       java.lang.String name,
                       java.lang.String defaultResource)
Method Detail

getControls

public java.awt.Component getControls()
Description copied from class: Configurer
GUI interface for setting the option in an editing window

Specified by:
getControls in class Configurer

getValueString

public java.lang.String getValueString()
Specified by:
getValueString in class Configurer
Returns:
a String representation of the Object value

setValue

public void setValue(java.lang.String s)
Description copied from class: Configurer
Set the Object value from a String

Specified by:
setValue in class Configurer

play

public void play()

chooseClip

public void chooseClip()