Package VASSAL.counters
Class BooleanOrPieceFilter
java.lang.Object
VASSAL.counters.BooleanOrPieceFilter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.boolean
Test if a piece matches the filter and provide Expression auditing facilitiesboolean
accept
(GamePiece piece, Auditable owner, AuditTrail audit) Test if a piece matches the filter and provide Expression auditing facilities
-
Constructor Details
-
BooleanOrPieceFilter
-
-
Method Details
-
accept
Deprecated.Description copied from interface:PieceFilter
Test if a piece matches the filter. This sig should only be used for filters that can not have Expressions as a component of the filter and thus have no Expression Auditing requirementts- Specified by:
accept
in interfacePieceFilter
- Parameters:
piece
- piece- Returns:
- true if piece match filter
-
accept
Description copied from interface:PieceFilter
Test if a piece matches the filter and provide Expression auditing facilities- Specified by:
accept
in interfacePieceFilter
- Parameters:
piece
- piece to testowner
- owner of the filterfieldKey
- EMesage key of the field holding the filter expression- Returns:
-
accept
Description copied from interface:PieceFilter
Test if a piece matches the filter and provide Expression auditing facilities- Specified by:
accept
in interfacePieceFilter
- Parameters:
piece
- piece to testowner
- owner of the filteraudit
- Audit Trail to record evaluation of the filter- Returns:
-
getFilter1
-
getFilter2
-