Uses of Interface
VASSAL.counters.EditablePiece
Packages that use EditablePiece
Package
Description
Provides classes for building Java instances automatically from XML
files.
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 EditablePiece in VASSAL.build
Methods in VASSAL.build with parameters of type EditablePieceModifier and TypeMethodDescriptionprotected static StringBadDataReport.getPieceName(EditablePiece piece) Return the name of the piece.Constructors in VASSAL.build with parameters of type EditablePieceModifierConstructorDescriptionBadDataReport(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 EditablePieceModifier and TypeFieldDescriptionprotected EditablePieceFormattedExpressionConfigurer.ExpressionButton.pieceprotected EditablePieceFormattedExpressionConfigurer.pieceTargetprotected EditablePieceAudioClipConfigurer.sourcePieceprotected EditablePieceBeanShellExpressionConfigurer.targetprotected EditablePieceBeanShellFunctionMenu.targetMethods in VASSAL.configure with parameters of type EditablePieceModifier and TypeMethodDescriptionprotected voidBeanShellFunctionMenu.addPieceProps(JMenu menu, EditablePiece piece) Added the property names from an Editable Piece into their own menuConstructors in VASSAL.configure with parameters of type EditablePieceModifierConstructorDescriptionAudioClipConfigurer(String key, String name, ArchiveWriter archive, EditablePiece piece) 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 EditablePieceModifier and TypeClassDescriptionclassA Trait (akaDecoratorthat acts like a button on a GamePiece, such that clicking on a particular area of the piece invokes a key commandclassclassTrait 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)classThis 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.classBasic class for representing a physical component of the game.classTrait to draw a colored border around a piececlassConditional Marker A marker with a variable value depending on conditions.classThis trait adds a command that creates a duplicate of the selected GamepiececlassA trait that exists in a Piece Definition, but is not included when the piece is created in a real game.classTrait that sends a Key Command to other pieces, selected with various filters.classThe abstract class describing a generic 'Trait' of a full GamePiece.classThis trait adds a command that creates a duplicate of the selected GamepiececlassImplements a trait to allow a piece to be deselected from the KeyBuffer in response to a Key Command.classTrait that contains a property accessible via getProperty() and updatable dynamically via key commandsclassd/b/a "Layer" The "Layer" trait.classEmbellishment has been extensively re-written for Vassal 3.2 changing both the behavior and the visual look of the configurer.classDisplays a movement trail indicating where a piece has been movedclassd/b/a "Can Rotate" A Decorator that rotates a GamePiece to an arbitrary angleclassAdds a menu entry that fires a specified key event to the module window.classclassd/b/a "Does Not Stack" Decorator that filters events to prevent a GamePiece from being selected and/or moved.classd/b/a "Text Label" Displays a text label, with content specified by the user at runtime.classA generic Decorator that retains in its state the value of a property.classDesignates the piece as a "Mat" on which other pieces ("Cargo") can be placed.classDesignates the piece as "Cargo", which can be placed on a "Mat" to move along with itclassThis trait puts a menu separator bar in the context menu for the piececlassd/b/a "Mark When Moved" A GamePiece with this trait will automatically be marked whenever it is moved.classAllows a single trait to generate multiple context menu commands, using a set of filtered map locations.classA trait for assigning an arbitrary shape to aGamePiececlassd/b/a "Mask" Trait that lets some traits of a piece be hidden "from some players, some of the time".classd/b/a "Can Pivot" Provides commands to pivot a Game Piece around a given pointclassThis Decorator defines a key command to places another counter on the same map as this one, normally on top but stack adjustment and offsets may be specified too.classA trait that plays a sound clipclassA Decorator class that endows a GamePiece with a dialog.classGamePiece trait that replaces a GamePiece with another oneclassd/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)classRestrictCommands Restrict the availability of Key Commands, depending on a Property Match Stringclassd/b/a "Restricted Access" A GamePiece with the Restricted trait can only be manipulated by the player playing a specific sideclassGamePiece trait that returns a piece to aDrawPileclassThis trait adds a command that sends a piece to another location.classclassclassA trait that groups menu items of other traits into a sub-menuclassd/b/a "Spreadsheet" A Decorator class that endows a GamePiece with an editable spreadsheet (i.e.classA trait to expose a translated string as a readable/displayable property.classd/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.classMacro Execute a series of Keystrokes against this same piece - Triggered by own KeyCommand or list of keystrokes - Match against an optional Property Filterclassd/b/a "Prototype" This trait is a placeholder for a pre-defined series of traits specified in aPrototypeDefinitionobject.Methods in VASSAL.counters with parameters of type EditablePieceModifier and TypeMethodDescriptionprotected static voidDecorator.reportDataError(EditablePiece piece, String message) Report a Data Error detected by a traitprotected static voidDecorator.reportDataError(EditablePiece piece, String message, String data) Report a Data Error detected by a traitprotected static voidDecorator.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.i18nModifier and TypeInterfaceDescriptioninterfaceDecorators that contain localizable elements must implement this interface -
Uses of EditablePiece in VASSAL.script.expression
Fields in VASSAL.script.expression declared as EditablePieceModifier and TypeFieldDescriptionprotected EditablePieceExpressionBuilder.pieceTargetprotected EditablePieceFunctionBuilder.targetPieceConstructors in VASSAL.script.expression with parameters of type EditablePieceModifierConstructorDescriptionExpressionBuilder(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 EditablePieceModifier and TypeMethodDescriptionintFormattedString.getTextAsInt(PropertySource ps, String description, EditablePiece source) Expand a FormattedString using the supplied propertySource and parse it as an integer.intFormattedString.getTextAsInt(PropertySource ps, String description, EditablePiece source, Auditable owner, AuditTrail audit)