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
|
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT
public static final java.lang.String DEFAULT
- See Also:
- Constant Field Values
SoundConfigurer
public SoundConfigurer(java.lang.String key,
java.lang.String name,
java.lang.String defaultResource)
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()