Package VASSAL.build
package VASSAL.build
Provides classes for building Java instances automatically from XML
files. This is a home-grown XML-Java binding used to build a
GameModule
from the module file. Every XML element in
the buildFile corresponds to the name of a class in the
build
package hierarchy. If a class can contain other
Buildable
instances as sub-components, those
sub-component classes will be contained in a corresponding package. For
example, the VASSAL.build.module.map
package contains
classes that are valid sub-components of the Map
class.
- See Also:
Buildable
-
InterfaceDescriptionA class that implements AutoConfigurable can use the
AutoConfigurer
class to automatically build a property editor.A Buildable is an object which can be initialized from an XML configuration file (e.g.An object that implements the Configurable interface, in addition to being built from a configuration XML file (because this class ultimately extendsBuildable
, can be manipulated by the user directly in the VASSAL module editor via the Configuration window.GameModule and ModuleExtension are the top-level components and must provide some Namespace services for generated GamePiece Identifiers.A component that exposes properties -
ClassDescriptionAbstract implementation of the
Buildable
interface.An abstract implementation of theConfigurable
interface.Creates an item that is both configurable w/ an edit boxAbstractConfigurable
and buildable from the XML buildFileAbstractBuildable
, but which also has a Toolbar launch button.Configures the toolbar's button icon.General-purpose condition indicating that VASSAL has encountered data that's inconsistent with the current module.This class holds static convenience methods for buildingBuildable
objects.The GameModule class is the base class for a VASSAL module.Build a cross-reference of all GpId-able elements in a module or ModuleExtension, Check for missing, duplicate or illegal GamePieceId's Update if necessaryA general-purpose configurable GUI container Widgets areConfigurable
objects that represent AWT components. -
ExceptionDescriptionAn Exception indicating that an illegal operation was performed when building a Buildable component.