Package VASSAL.configure
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
FieldsFields inherited from class VASSAL.configure.FileConfigurer
archive, editable, fc, p, startingDirectory, tfFields inherited from class VASSAL.configure.Configurer
changeSupport, context, contextLevel, frozen, hint, key, LIST_ENTRY_HIGHLIGHT_COLOR, name, NAME_PROPERTY, noUpdate, value -
Constructor Summary
ConstructorsConstructorDescriptionAudioClipConfigurer(String key, String name, ArchiveWriter archive) AudioClipConfigurer(String key, String name, ArchiveWriter archive, EditablePiece piece) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddToArchive(File f) GUI interface for setting the option in an editing windowprotected FileChooservoidSet the Object valuevoidSet the Object value from a StringMethods inherited from class VASSAL.configure.FileConfigurer
chooseNewValue, getFileValue, isEditable, main, setEditable, setLabelVisibleMethods 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:
initFileChooserin classFileConfigurer
-
addToArchive
- Overrides:
addToArchivein classFileConfigurer
-
getControls
Description copied from class:ConfigurerGUI interface for setting the option in an editing window- Overrides:
getControlsin classFileConfigurer
-
getValueString
- Overrides:
getValueStringin classFileConfigurer- Returns:
- a String representation of the Object value
-
setValue
Description copied from class:ConfigurerSet the Object value- Overrides:
setValuein classFileConfigurer
-
setValue
Description copied from class:ConfigurerSet the Object value from a String- Overrides:
setValuein classFileConfigurer
-