Uses of Interface
VASSAL.build.module.properties.PropertySource
Packages that use PropertySource
Package
Description
Provides classes for building Java instances automatically from XML
files.
Contains classes that may be added to a
GameModule
.Contains classes that may be added to a
Map
.Contains classes that may be added to a
MapGrid
.Contains classes that can be added to a
Widget
.Provides classes for building "Edit Property" dialogs, and for editing
GameModule
's and ModuleExtension
's.Provides classes that define game pieces.
Contains various utility classes.
-
Uses of PropertySource in VASSAL.build
Classes in VASSAL.build that implement PropertySourceModifier and TypeClassDescriptionclass
The GameModule class is the base class for a VASSAL module. -
Uses of PropertySource in VASSAL.build.module
Classes in VASSAL.build.module that implement PropertySourceModifier and TypeClassDescriptionclass
Holds static information of and a reference to a gamepiece.class
The Map is the main component for displaying and containingGamePiece
s during play.class
class
A Map that may be configured to be visible only a particular side.Methods in VASSAL.build.module with parameters of type PropertySourceModifier and TypeMethodDescriptionPrototypeDefinition.getPiece(PropertySource props)
For the case when the piece definition is a Message Format, expand the definition using the given properties -
Uses of PropertySource in VASSAL.build.module.map
Classes in VASSAL.build.module.map that implement PropertySourceFields in VASSAL.build.module.map declared as PropertySourceModifier and TypeFieldDescriptionprotected PropertySource
MassKeyCommand.propertySource
protected PropertySource
DrawPile.source
Methods in VASSAL.build.module.map with parameters of type PropertySourceConstructors in VASSAL.build.module.map with parameters of type PropertySource -
Uses of PropertySource in VASSAL.build.module.map.boardPicker.board.mapgrid
Classes in VASSAL.build.module.map.boardPicker.board.mapgrid that implement PropertySource -
Uses of PropertySource in VASSAL.build.module.properties
Subinterfaces of PropertySource in VASSAL.build.module.propertiesModifier and TypeInterfaceDescriptionstatic interface
static interface
Classes in VASSAL.build.module.properties that implement PropertySourceModifier and TypeClassDescriptionclass
Adds a toolbar button that changes the value of a global propertyclass
Dummy component that acts as a simple container for GlobalProperty componentsclass
Adds a global property to a Map or Moduleclass
Adds a global property to a Map or Moduleclass
Dummy component that acts as a simple container for GlobalProperty componentsclass
For property names of the form sum(name), returns the value of the named property summed over a list of pieces.class
Fields in VASSAL.build.module.properties declared as PropertySourceModifier and TypeFieldDescriptionprotected PropertySource
GlobalProperty.propertySource
protected PropertySource
GlobalTranslatableMessage.propertySource
Methods in VASSAL.build.module.properties that return PropertySourceModifier and TypeMethodDescriptionChangePropertyButton.getPropertySource()
IncrementProperty.Constraints.getPropertySource()
PropertyPrompt.Constraints.getPropertySource()
-
Uses of PropertySource in VASSAL.build.widget
Classes in VASSAL.build.widget that implement PropertySource -
Uses of PropertySource in VASSAL.configure
Methods in VASSAL.configure with parameters of type PropertySourceModifier and TypeMethodDescriptionPropertyExpression.getFilter(PropertySource source)
boolean
PropertyExpression.isTrue(PropertySource ps)
Evaluate the Property Expression as true/false using a supplied property source -
Uses of PropertySource in VASSAL.counters
Subinterfaces of PropertySource in VASSAL.countersModifier and TypeInterfaceDescriptioninterface
If class implementing GamePiece also implements the EditablePiece interface, then it can be manipulated from the Editor's Configuration Tree via thePieceDefiner
dialog.interface
Interface to deal with the behaviors of a physical component of the game, or a Trait of one.interface
Interface for classes that can exporty the names and values of the properties they maintainClasses in VASSAL.counters that implement PropertySourceModifier and TypeClassDescriptionclass
A Trait (akaDecorator
that acts like a button on a GamePiece, such that clicking on a particular area of the piece invokes a key commandclass
class
Basic class for representing a physical component of the game.class
Conditional Marker A marker with a variable value depending on conditions.class
This trait adds a command that creates a duplicate of the selected Gamepiececlass
Trait that sends a Key Command to other pieces, selected with various filters.class
A collection of pieces that behaves like a deck, i.e.: Doesn't move.class
The abstract class describing a generic 'Trait' of a full GamePiece.class
This trait adds a command that creates a duplicate of the selected Gamepiececlass
Implements a trait to allow a piece to be deselected from the KeyBuffer in response to a Key Command.class
Trait that contains a property accessible via getProperty() and updatable dynamically via key commandsclass
The "Layer" trait.class
Embellishment has been extensively re-written for Vassal 3.2 changing both the behavior and the visual look of the configurer.class
Displays a movement trail indicating where a piece has been movedclass
A Decorator that rotates a GamePiece to an arbitrary angleclass
Adds a menu entry that fires a specified key event to the module window.class
class
Decorator that filters events to prevent a GamePiece from being selected and/or moved.class
Displays a text label, with content specified by the user at runtime.class
A generic Decorator that retains in its state the value of a property.class
This trait adds a command that creates a duplicate of the selected Gamepiececlass
A GamePiece with this trait will automatically be marked whenever it is moved.class
A trait for assigning an arbitrary shape to aGamePiece
class
class
Provides commands to pivot a Game Piece around a given pointclass
This Decorator defines a key command to places another counter on top of this one.class
A trait that plays a sound clipclass
A Decorator class that endows a GamePiece with a dialog.class
GamePiece trait that replaces a GamePiece with another oneclass
A GamePiece with this trait will echo the piece's current name when any of a given key commands are pressed (and after they take effect)class
RestrictCommands Restrict the availability of Key Commands, depending on a Property Match String.class
A GamePiece with the Restricted trait can only be manipulated by the player playing a specific sideclass
GamePiece trait that returns a piece to aDrawPile
class
This trait adds a command that sends a piece to another location.class
class
A Stack is a collection of pieces in the same location that can often be moved with a single drag-and-drop.class
A trait that groups menu items of other traits into a sub-menuclass
A Decorator class that endows a GamePiece with an editable spreadsheet (i.e.class
A trait to expose a translated string as a readable/displayable property.class
Give a piece a command that moves it a fixed amount in a particular direction, optionally tracking the current rotation of the piece.class
Macro Execute a series of Keystrokes against this same piece - Triggered by own KeyCommand or list of keystrokes - Match against an optional Property Filterclass
This trait is a placeholder for a pre-defined series of traits specified in aPrototypeDefinition
object.Fields in VASSAL.counters declared as PropertySourceModifier and TypeFieldDescriptionprotected PropertySource
Deck.propertySource
protected PropertySource
GlobalCommand.source
Methods in VASSAL.counters that return PropertySourceMethods in VASSAL.counters with parameters of type PropertySourceModifier and TypeMethodDescriptionvoid
Deck.setPropertySource(PropertySource source)
Sets the Deck's property sourcevoid
GlobalCommand.setPropertySource(PropertySource ps)
Constructors in VASSAL.counters with parameters of type PropertySourceModifierConstructorDescriptionDeck(String type, PropertySource source)
Deprecated, for removal: This API element is subject to removal in a future version.Deck(GameModule gameModule, String type, PropertySource source)
Creates an empty deck using specified type information -
Uses of PropertySource in VASSAL.i18n
Subinterfaces of PropertySource in VASSAL.i18nModifier and TypeInterfaceDescriptioninterface
Decorators that contain localizable elements must implement this interface -
Uses of PropertySource in VASSAL.launch
Classes in VASSAL.launch that implement PropertySourceModifier and TypeClassDescriptionclass
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of PropertySource in VASSAL.script
Fields in VASSAL.script declared as PropertySourceMethods in VASSAL.script with parameters of type PropertySourceModifier and TypeMethodDescriptionActionScript.evaluate(PropertySource target)
ExpressionInterpreter.evaluate(PropertySource ps)
Evaluate the expression, setting the value of any undefined values to the matching Vassal property value.ExpressionInterpreter.evaluate(PropertySource ps, boolean localized)
GeneralScript.evaluate(PropertySource target)
ScriptInterpreter.evaluate(String statement, PropertySource source)
ExpressionInterpreter.sumLocation(String property, PropertySource ps)
SumLocation(property) function Total the value of the named property in all counters in the same location as the specified piece.ExpressionInterpreter.sumStack(String property, PropertySource ps)
SumStack(property) function Total the value of the named property in all counters in the same stack as the specified piece. -
Uses of PropertySource in VASSAL.script.expression
Methods in VASSAL.script.expression with parameters of type PropertySourceModifier and TypeMethodDescriptionBeanShellExpression.evaluate(PropertySource ps, Map<String,String> properties, boolean localized)
Evaluate this expression using a BeanShell InterpreterExpression.evaluate(PropertySource ps)
Expression.evaluate(PropertySource ps, boolean localized)
Expression.evaluate(PropertySource ps, Map<String,String> properties, boolean localized)
Each subclass must implement evaluate() to evaluate itselfFormattedStringExpression.evaluate(PropertySource ps, Map<String,String> properties, boolean localized)
Evaluate this expression.PropertyMatchExpression.evaluate(PropertySource ps, Map<String,String> properties, boolean localized)
SinglePropertyExpression.evaluate(PropertySource ps, Map<String,String> properties, boolean localized)
BeanShellExpression.getFilter(PropertySource ps)
Return a PieceFilter that selects GamePieces that cause this expression to evaluate to trueExpression.getFilter(PropertySource ps)
Return a PieceFilter using the expression.PropertyMatchExpression.getFilter(PropertySource ps)
Expression.tryEvaluate(PropertySource ps)
Evaluate an expression with data warning support built inExpression.tryEvaluate(PropertySource ps, boolean localized)
Evaluate an expression with data warning support built inExpression.tryEvaluate(PropertySource ps, Map<String,String> properties, boolean localized)
Evaluate an expression with data warning support built in -
Uses of PropertySource in VASSAL.tools
Methods in VASSAL.tools that return PropertySourceMethods in VASSAL.tools with parameters of type PropertySourceModifier and TypeMethodDescriptionFormattedString.getLocalizedText(PropertySource ps)
FormattedString.getText(PropertySource ps)
Return the resulting string after substituting properties Also, if any property keys match a property in the given GamePiece, substitute the value of that propertyprotected String
FormattedString.getText(PropertySource ps, boolean localized)
FormattedString.getText(PropertySource ps, String def)
Return the resulting string after substituting properties Also, if any property keys match a property in the given GamePiece, substitute the value of that property.int
FormattedString.getTextAsInt(PropertySource ps, String description, AbstractConfigurable source)
int
FormattedString.getTextAsInt(PropertySource ps, String description, EditablePiece source)
Expand a FormattedString using the supplied propertySource and parse it as an integer.void
FormattedString.setDefaultProperties(PropertySource defaultProperties)
Constructors in VASSAL.tools with parameters of type PropertySourceModifierConstructorDescriptionFormattedString(String formatString, PropertySource defaultProperties)
FormattedString(PropertySource defaultProperties)
Deck(GameModule, String, PropertySource)