Package VASSAL.configure
Class ImageConfigurer
java.lang.Object
VASSAL.configure.Configurer
VASSAL.configure.FileConfigurer
VASSAL.configure.ImageConfigurer
public class ImageConfigurer extends FileConfigurer
A Configurer for
Image
values. Allows the user to select an
image file and writes it to a ArchiveWriter
.-
Field Summary
Fields Modifier and Type Field Description 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 ImageConfigurer(String key, String name, ArchiveWriter archive)
-
Method Summary
Modifier and Type Method Description protected void
addToArchive(File f)
protected FileChooser
initFileChooser()
Methods inherited from class VASSAL.configure.FileConfigurer
chooseNewValue, getControls, 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
-
-
Constructor Details
-
ImageConfigurer
-
-
Method Details
-
initFileChooser
- Overrides:
initFileChooser
in classFileConfigurer
-
addToArchive
- Overrides:
addToArchive
in classFileConfigurer
-