Class GlobalSetter
java.lang.Object
VASSAL.counters.GlobalCommand
VASSAL.counters.GlobalSetter
- All Implemented Interfaces:
Auditable
Variant on GlobalCommand for use with SetPieceProperty -- instead of sending a key, finds pieces and sets their properties
-
Nested Class Summary
Nested classes/interfaces inherited from class VASSAL.counters.GlobalCommand
GlobalCommand.IndexedFastmatchDeckPolicyManager, GlobalCommand.Visitor
-
Field Summary
Fields inherited from class VASSAL.counters.GlobalCommand
keyStroke, owner, parameters, reportFormat, reportSingle, selectFromDeck, selectFromDeckExpression, source, suppressSounds, target
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptiongetVisitor
(Command command, PieceFilter filter, KeyStroke keyStroke, AuditTrail audit, Auditable owner, int selectFromDeck) boolean
Allows subclasses like GlobalAttach to operate with no key command to sendMethods inherited from class VASSAL.counters.GlobalCommand
apply, apply, apply, apply, apply, apply, checkForMatchingAttachments, equals, getComponentName, getComponentTypeName, getKeyStroke, getParameters, getPropertySource, getReportFormat, getSelectFromDeck, getSelectFromDeckExpression, getTarget, hashCode, isReportSingle, isSuppressSounds, setKeyStroke, setKeyStroke, setParameters, setPropertySource, setRange, setReportFormat, setReportSingle, setSelectFromDeck, setSelectFromDeckExpression, setSuppressSounds, setTarget
-
Constructor Details
-
GlobalSetter
-
GlobalSetter
-
-
Method Details
-
isAbortIfNoCommand
public boolean isAbortIfNoCommand()Description copied from class:GlobalCommand
Allows subclasses like GlobalAttach to operate with no key command to send- Overrides:
isAbortIfNoCommand
in classGlobalCommand
- Returns:
- true if we should short-circuit (abort) the search if we have no key command to send
-
getVisitor
public GlobalCommandVisitor getVisitor(Command command, PieceFilter filter, KeyStroke keyStroke, AuditTrail audit, Auditable owner, int selectFromDeck) - Overrides:
getVisitor
in classGlobalCommand
-