Class AudioClipConfigurer
java.lang.Object
VASSAL.configure.Configurer
VASSAL.configure.FileConfigurer
VASSAL.configure.AudioClipConfigurer
Class for selecting an AudioClip while editing a module and adding it to
module
- Author:
- rkinney
-
Nested Class Summary
Nested classes/interfaces inherited from class VASSAL.configure.Configurer
Configurer.ContextLevel
-
Field Summary
Fields inherited from class VASSAL.configure.FileConfigurer
archive, editable, fc, p, startingDirectory, tf
Fields inherited from class VASSAL.configure.Configurer
changeSupport, context, contextLevel, frozen, hint, key, LIST_ENTRY_HIGHLIGHT_COLOR, name, NAME_PROPERTY, noUpdate, value
-
Constructor Summary
ConstructorDescriptionAudioClipConfigurer
(String key, String name, ArchiveWriter archive) AudioClipConfigurer
(String key, String name, ArchiveWriter archive, EditablePiece piece) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addToArchive
(File f) GUI interface for setting the option in an editing windowprotected FileChooser
void
Set the Object valuevoid
Set the Object value from a StringMethods inherited from class VASSAL.configure.FileConfigurer
chooseNewValue, getFileValue, isEditable, main, setEditable, setLabelVisible
Methods inherited from class VASSAL.configure.Configurer
addFocusListener, addPropertyChangeListener, fireUpdate, getContext, getContextLevel, getHint, getKey, getName, getScreenSize, getValue, initCustomControls, isFrozen, isHighlighted, isPieceContext, removeFocusListener, removePropertyChangeListener, repack, repack, requestFocus, setContext, setContext, setContext, setContextLevel, setEnabled, setFrozen, setHighlighted, setHint, setHintKey, setLabelVisibile, setName
-
Field Details
-
resourceDirPref
-
button
-
sourcePiece
-
-
Constructor Details
-
AudioClipConfigurer
-
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
-
getValueString
- Overrides:
getValueString
in classFileConfigurer
- Returns:
- a String representation of the Object value
-
setValue
Description copied from class:Configurer
Set the Object value- Overrides:
setValue
in classFileConfigurer
-
setValue
Description copied from class:Configurer
Set the Object value from a String- Overrides:
setValue
in classFileConfigurer
-