Package VASSAL.build

Class AbstractFolder

java.lang.Object
All Implemented Interfaces:
AutoConfigurable, Buildable, Configurable, PropertyNameSource, ComponentDescription, ValidityChecker, Translatable, Auditable, ImageSearchTarget, SearchTarget
Direct Known Subclasses:
DeckSubFolder, GlobalPropertyFolder, MapSubFolder, ModuleSubFolder, PrototypeFolder

public abstract class AbstractFolder extends AbstractConfigurable implements ComponentDescription
Abstract class for a Folder component that can contain/organize a particular type of configurable(s). Classes extending AbstractFolder should implement getAllowableConfigureComponents() to include the allowable contained components (and include itself so that folders can be nested). Components that can be *contained* in folders will need to be call AbstractBuildable#getNonFolderAncestor() to find their "functional parent".