Uses of Interface
VASSAL.counters.EditablePiece
Package | Description |
---|---|
VASSAL.build |
Provides classes for building Java instances automatically from XML
files.
|
VASSAL.configure |
Provides classes for building "Edit Property" dialogs, and for editing
GameModule 's and ModuleExtension 's. |
VASSAL.counters |
Provides classes that define game pieces.
|
VASSAL.i18n | |
VASSAL.script.expression | |
VASSAL.tools |
Contains various utility classes.
|
-
Uses of EditablePiece in VASSAL.build
Methods in VASSAL.build with parameters of type EditablePiece Modifier and Type Method Description protected static String
BadDataReport. getPieceName(EditablePiece piece)
Return the name of the piece.Constructors in VASSAL.build with parameters of type EditablePiece Constructor Description BadDataReport(EditablePiece piece, String message)
BadDataReport(EditablePiece piece, String message, String data)
BadDataReport(EditablePiece piece, String message, String data, Throwable cause)
Expanded Bad Data Report called by Traits. -
Uses of EditablePiece in VASSAL.configure
Fields in VASSAL.configure declared as EditablePiece Modifier and Type Field Description protected EditablePiece
FormattedExpressionConfigurer.ExpressionButton. piece
protected EditablePiece
FormattedExpressionConfigurer. pieceTarget
protected EditablePiece
BeanShellExpressionConfigurer. target
protected EditablePiece
BeanShellFunctionMenu. target
Methods in VASSAL.configure with parameters of type EditablePiece Modifier and Type Method Description protected void
BeanShellFunctionMenu. addPieceProps(JMenu menu, EditablePiece piece)
Added the property names from an Editable Piece into their own menuConstructors in VASSAL.configure with parameters of type EditablePiece Constructor Description BeanShellFunctionMenu(EditablePiece target, BeanShellExpressionConfigurer configurer)
ExpressionButton(Configurer config, int size, EditablePiece piece)
FormattedExpressionConfigurer(String key, String name, String s, EditablePiece p)
PropertyExpressionButton(Configurer config, int size, EditablePiece piece)
PropertyNameExpressionButton(Configurer config, int size, EditablePiece piece)
-
Uses of EditablePiece in VASSAL.counters
Classes in VASSAL.counters that implement EditablePiece Modifier and Type Class Description class
ActionButton
A trait that acts like a button on a GamePiece, such that clicking on a particular area of the piece invokes a keyboard commandclass
AreaOfEffect
class
BasicPiece
Basic class for representing a physical component of the game Can be a counter, a card, or an overlayclass
CalculatedProperty
Conditional Marker A marker with a variable value depending on conditions.class
Clone
This trait adds a command that creates a duplicate of the selected Gamepiececlass
CounterGlobalKeyCommand
Adds a menu item that applies aGlobalCommand
to other piecesclass
Delete
This trait adds a command that creates a duplicate of the selected Gamepiececlass
DynamicProperty
Trait that contains a property accessible via getProperty() and updateable dynamically via key commandsclass
Embellishment
The "Layer" trait.class
Embellishment0
Embellishment has been extensively re-written for Vassal 3.2 changing both the behavior and the visual look of the configurer.class
Footprint
Displays a movement trail indicating where a piece has been movedclass
FreeRotator
A Decorator that rotates a GamePiece to an arbitrary angleclass
GlobalHotKey
Adds a menu entry that fires a specified key event to the module window.class
Hideable
class
Immobilized
Decorator that filters events to prevent a GamePiece from being selected and/or moved.class
Labeler
Displays a text label, with content specified by the user at runtime.class
Marker
A generic Decorator that retains in its state the value of a property.class
MenuSeparator
This trait adds a command that creates a duplicate of the selected Gamepiececlass
MovementMarkable
A GamePiece with this trait will automatically be marked whenever it is moved.class
NonRectangular
A trait for assigning an arbitrary shape to aGamePiece
class
Obscurable
class
Pivot
Provides commands to pivot a Game Piece around a given pointclass
PlaceMarker
This Decorator defines a key command to places another counter on top of this one.class
PlaySound
A trait that plays a sound clipclass
PropertySheet
A Decorator class that endows a GamePiece with a dialog.class
Replace
GamePiece trait that replaces a GamePiece with another oneclass
ReportState
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
RestrictCommands Restrict the availability of Key Commands, depending on a Property Match String.class
Restricted
A GamePiece with the Restricted trait can only be manipulated by the player playing a specific sideclass
ReturnToDeck
GamePiece trait that returns a piece to aDrawPile
class
SendToLocation
This trait adds a command that sends a piece to another location.class
SetGlobalProperty
class
SubMenu
A trait that groups menu items of other traits into a sub-menuclass
TableInfo
A Decorator class that endows a GamePiece with an editable spreadsheet (i.e.class
Translate
Give a piece a command that moves it a fixed amount in a particular direction, optionally tracking the current rotation of the piece.class
TriggerAction
Macro Execute a series of Keystrokes against this same piece - Triggered by own KeyCommand or list of keystrokes - Match against an optional Property Filterclass
UsePrototype
This trait is a placeholder for a pre-defined series of traits specified in aPrototypeDefinition
object.Methods in VASSAL.counters with parameters of type EditablePiece Modifier and Type Method Description protected static void
Decorator. reportDataError(EditablePiece piece, String message)
protected static void
Decorator. reportDataError(EditablePiece piece, String message, String data)
protected static void
Decorator. reportDataError(EditablePiece piece, String message, String data, Throwable e)
Report a Data Error detected by a trait -
Uses of EditablePiece in VASSAL.i18n
Subinterfaces of EditablePiece in VASSAL.i18n Modifier and Type Interface Description interface
TranslatablePiece
Decorators that contain localizable elements must implement this interface -
Uses of EditablePiece in VASSAL.script.expression
Fields in VASSAL.script.expression declared as EditablePiece Modifier and Type Field Description protected EditablePiece
ExpressionBuilder. pieceTarget
protected EditablePiece
FunctionBuilder. targetPiece
Constructors in VASSAL.script.expression with parameters of type EditablePiece Constructor Description ExpressionBuilder(Configurer c, JDialog parent, EditablePiece piece)
FunctionBuilder(StringConfigurer c, JDialog parent, String function, String desc, String[] parmDesc, EditablePiece piece, String[] hints, BeanShellExpressionConfigurer.Option[] options, String selectedText)
PropertyExpressionBuilder(Configurer c, JDialog parent, EditablePiece piece)
PropertyNameExpressionBuilder(Configurer c, JDialog parent, EditablePiece piece)
-
Uses of EditablePiece in VASSAL.tools
Methods in VASSAL.tools with parameters of type EditablePiece Modifier and Type Method Description int
FormattedString. getTextAsInt(PropertySource ps, String description, EditablePiece source)
Expand a FormattedString using the supplied propertySource and parse it as an integer.