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 final Stringprotected static final intprotected ConfigureTreeprotected static final intprotected static final intprotected VASSAL.counters.MassPieceLoader.MassLoaderDialogprotected static final Colorprotected static final Stringprotected static final Stringprotected static final intprotected static final Stringprotected static final Stringprotected static final intprotected static final 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
-
SKIP_COL
protected static final int SKIP_COL- See Also:
-
DESC_COL
protected static final int DESC_COL- See Also:
-
IMAGE_COL
protected static final int IMAGE_COL- See Also:
-
NAME_COL
protected static final int NAME_COL- See Also:
-
COPIES_COL
protected static final int COPIES_COL- See Also:
-
COLUMN_COUNT
protected static final int COLUMN_COUNT- See Also:
-
EDITABLE_COLOR
-
target
-
configureTree
-
dialog
protected VASSAL.counters.MassPieceLoader.MassLoaderDialog dialog -
ENDS_WITH
- See Also:
-
INCLUDES
- See Also:
-
MATCHES
- See Also:
-
EQUALS
- See Also:
-
BASE_IMAGE
- See Also:
-
-
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
-