Package VASSAL.configure
Class AudioClipConfigurer
java.lang.Object
VASSAL.configure.Configurer
VASSAL.configure.FileConfigurer
VASSAL.configure.AudioClipConfigurer
public class AudioClipConfigurer extends FileConfigurer
Class for selecting an AudioClip while editing a module and adding it to
module
- Author:
- rkinney
-
Field Summary
Fields Modifier and Type Field Description protected FormattedExpressionConfigurer.ExpressionButton
button
protected static DirectoryConfigurer
resourceDirPref
Fields inherited from class VASSAL.configure.FileConfigurer
archive, editable, fc, p, startingDirectory, tf
Fields inherited from class VASSAL.configure.Configurer
changeSupport, frozen, key, name, NAME_PROPERTY, noUpdate, value
-
Constructor Summary
Constructors Constructor Description AudioClipConfigurer(String key, String name, ArchiveWriter archive)
-
Method Summary
Modifier and Type Method Description protected void
addToArchive(File f)
Component
getControls()
GUI interface for setting the option in an editing windowprotected FileChooser
initFileChooser()
Methods inherited from class VASSAL.configure.FileConfigurer
chooseNewValue, getFileValue, getValueString, isEditable, main, setEditable, setValue, setValue
Methods inherited from class VASSAL.configure.Configurer
addPropertyChangeListener, fireUpdate, getKey, getName, getValue, isFrozen, removePropertyChangeListener, setFrozen, setName
-
Field Details
-
resourceDirPref
-
button
-
-
Constructor Details
-
AudioClipConfigurer
-
-
Method Details
-
initFileChooser
- Overrides:
initFileChooser
in classFileConfigurer
-
addToArchive
- Overrides:
addToArchive
in classFileConfigurer
-
getControls
Description copied from class:Configurer
GUI interface for setting the option in an editing window- Overrides:
getControls
in classFileConfigurer
-