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 inherited from class VASSAL.configure.FileConfigurer
archive, p, tf
 
Fields inherited from class VASSAL.configure.Configurer
changeSupport, frozen, key, name, NAME_PROPERTY, noUpdate, value
 
Constructor Summary
ImageConfigurer(java.lang.String key, java.lang.String name, ArchiveWriter archive)
           
 
Method Summary
 void chooseNewValue()
           
 java.awt.Component getControls()
          GUI interface for setting the option in an editing window
 void setValue(java.lang.Object o)
          Set the Object value
 
Methods inherited from class VASSAL.configure.FileConfigurer
fileValue, getValueString, main, setValue
 
Methods inherited from class VASSAL.configure.Configurer
addPropertyChangeListener, fireUpdate, getKey, getName, getValue, isFrozen, setFrozen, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageConfigurer

public ImageConfigurer(java.lang.String key,
                       java.lang.String name,
                       ArchiveWriter archive)
Method Detail

chooseNewValue

public void chooseNewValue()
Overrides:
chooseNewValue in class FileConfigurer

setValue

public void setValue(java.lang.Object o)
Description copied from class: Configurer
Set the Object value

Overrides:
setValue in class FileConfigurer

getControls

public java.awt.Component getControls()
Description copied from class: Configurer
GUI interface for setting the option in an editing window

Overrides:
getControls in class FileConfigurer