Uses of Package
VASSAL.counters

Packages that use VASSAL.counters
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 can be added to a Widget.
Provides classes that implement the "Command" design pattern.
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.
 
 
  • Classes in VASSAL.counters used by VASSAL.build
    Class
    Description
     
    The abstract class describing a generic 'Trait' of a full GamePiece.
    If class implementing GamePiece also implements the EditablePiece interface, then it can be manipulated from the Editor's Configuration Tree via the PieceDefiner dialog.
    Interface to deal with the behaviors of a physical component of the game, or a Trait of one.
     
  • Class
    Description
    Trait allowing creation of an "attachment" to one or more other pieces, which can then be sent GKCs very swiftly and whose properties can be easily read (and if a Dynamic Property can also be set with a Set Global Property trait)
    A collection of pieces that behaves like a deck, i.e.: Doesn't move.
    For Visitors that are aware of Deck types
    The abstract class describing a generic 'Trait' of a full GamePiece.
    Interface to deal with the behaviors of a physical component of the game, or a Trait of one.
    Specifies the type of GKC being configured (affects which Target options are allowed)
    An interface that defines how to draw GamePieces that are selected
    This is the GamePiece designer dialog.
    A filter for GamePieces Sample implementations include: PropertyExpression - used for "matching expressions" in Global Key Commands and the like RangeFilter - filters for pieces within range of a point BooleanOrPieceFilter - "OR"s two Filters together to make one Amazing Disjunctive Filter BooleanAndPieceFilter - "AND"s two Filters together and you'd better satisfy both CounterDetailViewer.Filter - Filter created from Mouseover Stack Viewer settings Inventory.Selector - Layered filter for Piece Inventory window
    This interface defines selection criteria for finding a GamePiece in a Map
    For implementing a somewhat modified Visitor pattern for GamePieces.
    For implementing a modified Visitor pattern on GamePieces.
    A Stack is a collection of pieces in the same location that can often be moved with a single drag-and-drop.
  • Class
    Description
    Interface to deal with the behaviors of a physical component of the game, or a Trait of one.
  • Class
    Description
     
    A collection of pieces that behaves like a deck, i.e.: Doesn't move.
    For Visitors that are aware of Deck types
    For handling Visitors that are aware of Deck types
    Interface to deal with the behaviors of a physical component of the game, or a Trait of one.
    The heart of all the different forms of Global Key Command, GlobalCommand handles sending a key command to multiple pieces, potentially on multiple maps, as long as they match its filtering condition.
    GlobalCommandTarget configures and stores the "Fast Match" parameters of Global Key Commands, allowing certain simple filters to be "pre-matched" without having to initiate the (relatively slower) BeanShell filters.
    Specifies the type of GKC being configured (affects which Target options are allowed)
    An interface that defines how to draw GamePieces that are selected
     
    Designates the piece as a "Mat" on which other pieces ("Cargo") can be placed.
    Designates the piece as "Cargo", which can be placed on a "Mat" to move along with it
    A filter for GamePieces Sample implementations include: PropertyExpression - used for "matching expressions" in Global Key Commands and the like RangeFilter - filters for pieces within range of a point BooleanOrPieceFilter - "OR"s two Filters together to make one Amazing Disjunctive Filter BooleanAndPieceFilter - "AND"s two Filters together and you'd better satisfy both CounterDetailViewer.Filter - Filter created from Mouseover Stack Viewer settings Inventory.Selector - Layered filter for Piece Inventory window
    This interface defines selection criteria for finding a GamePiece in a Map
     
    For implementing a somewhat modified Visitor pattern for GamePieces.
    For implementing a modified Visitor pattern on GamePieces.
    A Stack is a collection of pieces in the same location that can often be moved with a single drag-and-drop.
  • Class
    Description
    A collection of pieces that behaves like a deck, i.e.: Doesn't move.
    Interface to deal with the behaviors of a physical component of the game, or a Trait of one.
     
  • Class
    Description
    Trait that contains a property accessible via getProperty() and updatable dynamically via key commands
    Interface to deal with the behaviors of a physical component of the game, or a Trait of one.
  • Class
    Description
    Basic class for representing a physical component of the game.
  • Class
    Description
    Interface to deal with the behaviors of a physical component of the game, or a Trait of one.
  • Classes in VASSAL.counters used by VASSAL.command
    Class
    Description
    Interface to deal with the behaviors of a physical component of the game, or a Trait of one.
    For implementing a modified Visitor pattern on GamePieces.
  • Class
    Description
    Trait that contains a property accessible via getProperty() and updatable dynamically via key commands
    DynamicKeyCommand A class that represents an action to be performed on a Dynamic property
    If class implementing GamePiece also implements the EditablePiece interface, then it can be manipulated from the Editor's Configuration Tree via the PieceDefiner dialog.
    Interface to deal with the behaviors of a physical component of the game, or a Trait of one.
    GlobalCommandTarget configures and stores the "Fast Match" parameters of Global Key Commands, allowing certain simple filters to be "pre-matched" without having to initiate the (relatively slower) BeanShell filters.
    Defines ability of a player to access a GamePiece
    A filter for GamePieces Sample implementations include: PropertyExpression - used for "matching expressions" in Global Key Commands and the like RangeFilter - filters for pieces within range of a point BooleanOrPieceFilter - "OR"s two Filters together to make one Amazing Disjunctive Filter BooleanAndPieceFilter - "AND"s two Filters together and you'd better satisfy both CounterDetailViewer.Filter - Filter created from Mouseover Stack Viewer settings Inventory.Selector - Layered filter for Piece Inventory window
    A standardised Panel for use by Trait configurers
    A standardised MigLayout for use by Trait configurers
  • Classes in VASSAL.counters used by VASSAL.counters
    Class
    Description
    A Trait (aka Decorator that acts like a button on a GamePiece, such that clicking on a particular area of the piece invokes a key command
    Registers mouse listeners with Maps and other components.
     
     
    Trait allowing creation of an "attachment" to one or more other pieces, which can then be sent GKCs very swiftly and whose properties can be easily read (and if a Dynamic Property can also be set with a Set Global Property trait)
    This trait overrides the $BasicName$ property provided by the "Basic Piece", allowing a module designer decking to define pieces entirely by prototype to safely ignore and leave empty the Basic Piece.
    Comparison Modes for property match
    Records the bounding boxes of GamePieces.
    Conditional Marker A marker with a variable value depending on conditions.
    This trait adds a command that creates a duplicate of the selected Gamepiece
    A trait that exists in a Piece Definition, but is not included when the piece is created in a real game.
    Trait that sends a Key Command to other pieces, selected with various filters.
    A collection of pieces that behaves like a deck, i.e.: Doesn't move.
    An object that parses expression strings from the config window
    For Visitors that are aware of Deck types
    For handling Visitors that are aware of Deck types
    The abstract class describing a generic 'Trait' of a full GamePiece.
    This trait adds a command that creates a duplicate of the selected Gamepiece
    Implements a trait to allow a piece to be deselected from the KeyBuffer in response to a Key Command.
     
    Trait that contains a property accessible via getProperty() and updatable dynamically via key commands
    DynamicKeyCommand A class that represents an action to be performed on a Dynamic property
    If class implementing GamePiece also implements the EditablePiece interface, then it can be manipulated from the Editor's Configuration Tree via the PieceDefiner dialog.
    d/b/a "Layer" The "Layer" trait.
    Gives information about what kinds of events a GamePiece will respond to
    Displays a movement trail indicating where a piece has been moved
    d/b/a "Can Rotate" A Decorator that rotates a GamePiece to an arbitrary angle
    Interface to deal with the behaviors of a physical component of the game, or a Trait of one.
    Variant on GlobalCommand for use with Attachment -- instead of sending a key, finds pieces and attaches them
    The heart of all the different forms of Global Key Command, GlobalCommand handles sending a key command to multiple pieces, potentially on multiple maps, as long as they match its filtering condition.
    Class to track the acceptance count of pieces from multiple Decks
    GlobalCommandTarget configures and stores the "Fast Match" parameters of Global Key Commands, allowing certain simple filters to be "pre-matched" without having to initiate the (relatively slower) BeanShell filters.
    Comparison Modes for property match
    Specifies the type of GKC being configured (affects which Target options are allowed)
    Specifies the kind of target matching
    When processing a GlobalCommand (either a Global Key Command or an Attachment command), this applies the "additional properties filter"
    Adds a menu entry that fires a specified key event to the module window.
    Variant on GlobalCommand for use with SetPieceProperty -- instead of sending a key, finds pieces and sets their properties
     
    An interface that defines how to draw GamePieces that are selected
    The KeyBuffer is the list of "currently selected pieces" in the VASSAL UI (map windows).
     
     
    Designates the piece as a "Mat" on which other pieces ("Cargo") can be placed.
    Designates the piece as "Cargo", which can be placed on a "Mat" to move along with it
    This trait puts a menu separator bar in the context menu for the piece
    d/b/a "Mark When Moved" A GamePiece with this trait will automatically be marked whenever it is moved.
     
    Allows a single trait to generate multiple context menu commands, using a set of filtered map locations.
    Defines ability of a player to access a GamePiece
    Utility class for cloning GamePieces
    This is the GamePiece designer dialog.
    Contents of the Copy/Paste buffer for traits in the editor
     
    A filter for GamePieces Sample implementations include: PropertyExpression - used for "matching expressions" in Global Key Commands and the like RangeFilter - filters for pieces within range of a point BooleanOrPieceFilter - "OR"s two Filters together to make one Amazing Disjunctive Filter BooleanAndPieceFilter - "AND"s two Filters together and you'd better satisfy both CounterDetailViewer.Filter - Filter created from Mouseover Stack Viewer settings Inventory.Selector - Layered filter for Piece Inventory window
    This interface defines selection criteria for finding a GamePiece in a Map
     
     
    An iterator for GamePieces.
    For implementing a somewhat modified Visitor pattern for GamePieces.
    For implementing a modified Visitor pattern on GamePieces.
    d/b/a "Can Pivot" Provides commands to pivot a Game Piece around a given point
    This Decorator defines a key command to places another counter on top of this one.
     
    Access is granted if GameModule.getUserId() matches
    A trait that plays a sound clip
    Interface for classes that can export the names and values of the properties they maintain
    GamePiece trait that replaces a GamePiece with another one
    d/b/a "Report Action" 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)
    RestrictCommands Restrict the availability of Key Commands, depending on a Property Match String
    d/b/a "Restricted Access" A GamePiece with the Restricted trait can only be manipulated by the player playing a specific side
    This trait adds a command that sends a piece to another location.
     
     
     
    Access is granted if PlayerRoster.getMySide() matches
    A Stack is a collection of pieces in the same location that can often be moved with a single drag-and-drop.
    GamePieces may implement this interface to implement "merge" functionality of their state.
    A trait that groups menu items of other traits into a sub-menu
    A standardised Panel for use by Trait configurers
    A standardised MigLayout for use by Trait configurers
    d/b/a "Move Fixed Distance" Give a piece a command that moves it a fixed amount in a particular direction, optionally tracking the current rotation of the piece.
    Batches up all the movement commands resulting from a single KeyEvent and executes them at once.
    Macro Execute a series of Keystrokes against this same piece - Triggered by own KeyCommand or list of keystrokes - Match against an optional Property Filter
    d/b/a "Prototype" This trait is a placeholder for a pre-defined series of traits specified in a PrototypeDefinition object.
  • Classes in VASSAL.counters used by VASSAL.i18n
    Class
    Description
    If class implementing GamePiece also implements the EditablePiece interface, then it can be manipulated from the Editor's Configuration Tree via the PieceDefiner dialog.
    Interface to deal with the behaviors of a physical component of the game, or a Trait of one.
    This Decorator defines a key command to places another counter on top of this one.
  • Classes in VASSAL.counters used by VASSAL.script
    Class
    Description
    The abstract class describing a generic 'Trait' of a full GamePiece.
    Interface to deal with the behaviors of a physical component of the game, or a Trait of one.
  • Class
    Description
    If class implementing GamePiece also implements the EditablePiece interface, then it can be manipulated from the Editor's Configuration Tree via the PieceDefiner dialog.
    Interface to deal with the behaviors of a physical component of the game, or a Trait of one.
    A filter for GamePieces Sample implementations include: PropertyExpression - used for "matching expressions" in Global Key Commands and the like RangeFilter - filters for pieces within range of a point BooleanOrPieceFilter - "OR"s two Filters together to make one Amazing Disjunctive Filter BooleanAndPieceFilter - "AND"s two Filters together and you'd better satisfy both CounterDetailViewer.Filter - Filter created from Mouseover Stack Viewer settings Inventory.Selector - Layered filter for Piece Inventory window
  • Class
    Description
    Interface to deal with the behaviors of a physical component of the game, or a Trait of one.
    A Stack is a collection of pieces in the same location that can often be moved with a single drag-and-drop.
  • Classes in VASSAL.counters used by VASSAL.tools
    Class
    Description
    If class implementing GamePiece also implements the EditablePiece interface, then it can be manipulated from the Editor's Configuration Tree via the PieceDefiner dialog.
  • Class
    Description
    Interface to deal with the behaviors of a physical component of the game, or a Trait of one.
  • Class
    Description
    The abstract class describing a generic 'Trait' of a full GamePiece.
    Trait that contains a property accessible via getProperty() and updatable dynamically via key commands
    d/b/a "Layer" The "Layer" trait.
    d/b/a "Can Rotate" A Decorator that rotates a GamePiece to an arbitrary angle
    Interface to deal with the behaviors of a physical component of the game, or a Trait of one.
    d/b/a "Mark When Moved" A GamePiece with this trait will automatically be marked whenever it is moved.
    d/b/a "Mask" Trait that lets some traits of a piece be hidden "from some players, some of the time".
    A Decorator class that endows a GamePiece with a dialog.
    d/b/a "Prototype" This trait is a placeholder for a pre-defined series of traits specified in a PrototypeDefinition object.