Package VASSAL.configure
Class PropertyExpression
java.lang.Object
VASSAL.configure.PropertyExpression
- All Implemented Interfaces:
PieceFilter
public class PropertyExpression extends Object implements PieceFilter
-
Field Summary
Fields Modifier and Type Field Description protected Expressionexpression -
Constructor Summary
Constructors Constructor Description PropertyExpression()PropertyExpression(String s) -
Method Summary
Modifier and Type Method Description booleanaccept(GamePiece piece)booleanaccept(GamePiece source, GamePiece piece)booleanequals(Object o)StringgetExpression()PieceFiltergetFilter()PieceFiltergetFilter(PropertySource source)booleanisNull()booleanisTrue(PropertySource ps)Evaluate the Property Expression as true/false using a supplied property sourcevoidsetExpression(String s)
-
Field Details
-
expression
-
-
Constructor Details
-
PropertyExpression
public PropertyExpression() -
PropertyExpression
-
-
Method Details
-
setExpression
-
getExpression
-
isNull
public boolean isNull() -
getFilter
-
getFilter
-
accept
- Specified by:
acceptin interfacePieceFilter
-
accept
-
equals
-
isTrue
Evaluate the Property Expression as true/false using a supplied property source- Parameters:
ps- Property Source *- Returns:
- boolean result
-