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 StringBadDataReport. 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 EditablePieceFormattedExpressionConfigurer.ExpressionButton. pieceprotected EditablePieceFormattedExpressionConfigurer. pieceTargetprotected EditablePieceBeanShellExpressionConfigurer. targetprotected EditablePieceBeanShellFunctionMenu. targetMethods in VASSAL.configure with parameters of type EditablePiece Modifier and Type Method Description protected 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 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 classActionButtonA trait that acts like a button on a GamePiece, such that clicking on a particular area of the piece invokes a keyboard commandclassAreaOfEffectclassBasicPieceBasic class for representing a physical component of the game Can be a counter, a card, or an overlayclassCalculatedPropertyConditional Marker A marker with a variable value depending on conditions.classCloneThis trait adds a command that creates a duplicate of the selected GamepiececlassCounterGlobalKeyCommandAdds a menu item that applies aGlobalCommandto other piecesclassDeleteThis trait adds a command that creates a duplicate of the selected GamepiececlassDynamicPropertyTrait that contains a property accessible via getProperty() and updateable dynamically via key commandsclassEmbellishmentThe "Layer" trait.classEmbellishment0Embellishment has been extensively re-written for Vassal 3.2 changing both the behavior and the visual look of the configurer.classFootprintDisplays a movement trail indicating where a piece has been movedclassFreeRotatorA Decorator that rotates a GamePiece to an arbitrary angleclassGlobalHotKeyAdds a menu entry that fires a specified key event to the module window.classHideableclassImmobilizedDecorator that filters events to prevent a GamePiece from being selected and/or moved.classLabelerDisplays a text label, with content specified by the user at runtime.classMarkerA generic Decorator that retains in its state the value of a property.classMenuSeparatorThis trait adds a command that creates a duplicate of the selected GamepiececlassMovementMarkableA GamePiece with this trait will automatically be marked whenever it is moved.classNonRectangularA trait for assigning an arbitrary shape to aGamePiececlassObscurableclassPivotProvides commands to pivot a Game Piece around a given pointclassPlaceMarkerThis Decorator defines a key command to places another counter on top of this one.classPlaySoundA trait that plays a sound clipclassPropertySheetA Decorator class that endows a GamePiece with a dialog.classReplaceGamePiece trait that replaces a GamePiece with another oneclassReportStateA 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)classRestrictCommandsRestrictCommands Restrict the availability of Key Commands, depending on a Property Match String.classRestrictedA GamePiece with the Restricted trait can only be manipulated by the player playing a specific sideclassReturnToDeckGamePiece trait that returns a piece to aDrawPileclassSendToLocationThis trait adds a command that sends a piece to another location.classSetGlobalPropertyclassSubMenuA trait that groups menu items of other traits into a sub-menuclassTableInfoA Decorator class that endows a GamePiece with an editable spreadsheet (i.e.classTranslateGive a piece a command that moves it a fixed amount in a particular direction, optionally tracking the current rotation of the piece.classTriggerActionMacro Execute a series of Keystrokes against this same piece - Triggered by own KeyCommand or list of keystrokes - Match against an optional Property FilterclassUsePrototypeThis trait is a placeholder for a pre-defined series of traits specified in aPrototypeDefinitionobject.Methods in VASSAL.counters with parameters of type EditablePiece Modifier and Type Method Description protected static voidDecorator. reportDataError(EditablePiece piece, String message)protected static voidDecorator. reportDataError(EditablePiece piece, String message, String data)protected 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.i18n Modifier and Type Interface Description interfaceTranslatablePieceDecorators 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 EditablePieceExpressionBuilder. pieceTargetprotected EditablePieceFunctionBuilder. targetPieceConstructors 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 intFormattedString. getTextAsInt(PropertySource ps, String description, EditablePiece source)Expand a FormattedString using the supplied propertySource and parse it as an integer.