Package VASSAL.counters
Class MassPieceLoader
java.lang.Object
VASSAL.counters.MassPieceLoader
Class to load a directory full of images and create counters
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static Stringprotected static intprotected ConfigureTreeprotected static intprotected static intprotected VASSAL.counters.MassPieceLoader.MassLoaderDialogprotected static Colorprotected static Stringprotected static Stringprotected static intprotected static Stringprotected static Stringprotected static intprotected static intprotected Configurable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddImageToModule(String name)Add the named image to the moduleprotected StringgetPieceName(String baseName)Maintain a record of all names changed by the user for image basenames.voidload()
-
Field Details
-
DESC_COL
protected static final int DESC_COL- See Also:
- Constant Field Values
-
NAME_COL
protected static final int NAME_COL- See Also:
- Constant Field Values
-
IMAGE_COL
protected static final int IMAGE_COL- See Also:
- Constant Field Values
-
SKIP_COL
protected static final int SKIP_COL- See Also:
- Constant Field Values
-
COPIES_COL
protected static final int COPIES_COL- See Also:
- Constant Field Values
-
COLUMN_COUNT
protected static final int COLUMN_COUNT- See Also:
- Constant Field Values
-
EDITABLE_COLOR
-
target
-
configureTree
-
dialog
protected VASSAL.counters.MassPieceLoader.MassLoaderDialog dialog -
ENDS_WITH
- See Also:
- Constant Field Values
-
INCLUDES
- See Also:
- Constant Field Values
-
MATCHES
- See Also:
- Constant Field Values
-
EQUALS
- See Also:
- Constant Field Values
-
BASE_IMAGE
- See Also:
- Constant Field Values
-
-
Constructor Details
-
MassPieceLoader
-
-
Method Details
-
load
public void load() -
addImageToModule
Add the named image to the module- Parameters:
name- Image name
-
getPieceName
Maintain a record of all names changed by the user for image basenames. Default name is image name with image suffix stripped.- Parameters:
baseName- Image name- Returns:
- user modified name
-