Class ImageSelector

java.lang.Object
VASSAL.configure.Configurer
VASSAL.configure.ImageSelector
All Implemented Interfaces:
ItemListener, EventListener

public class ImageSelector extends Configurer implements ItemListener
Allows a user to select from the images currently available in a module, or to open a File Dialog to import a new image. Designed to be a drop-in replacement for ImagePicker, except implemented as a proper Configurer. The value stored is the name of the image file (no pathname).
  • Constructor Details

    • ImageSelector

      public ImageSelector(String key, String name, String val, int maxWidth, int maxheight)
    • ImageSelector

      public ImageSelector(String key, String name, String val)
    • ImageSelector

      public ImageSelector(String key, String name)
    • ImageSelector

      public ImageSelector(String val, int maxWidth, int maxheight)
    • ImageSelector

      public ImageSelector(String val)
    • ImageSelector

      public ImageSelector()
  • Method Details