Package VASSAL.configure
Class PropertyExpression
java.lang.Object
VASSAL.configure.PropertyExpression
- All Implemented Interfaces:
PieceFilter
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
getFilter(PropertySource source)
int
hashCode()
boolean
isNull()
boolean
isTrue(PropertySource ps)
Evaluate the Property Expression as true/false using a supplied property sourcevoid
setExpression(String s)
-
Field Details
-
expression
-
-
Constructor Details
-
PropertyExpression
public PropertyExpression() -
PropertyExpression
-
-
Method Details
-
setExpression
-
getExpression
-
isNull
public boolean isNull() -
getFilter
-
getFilter
-
accept
- Specified by:
accept
in interfacePieceFilter
-
accept
-
hashCode
public int hashCode() -
equals
-
isTrue
Evaluate the Property Expression as true/false using a supplied property source- Parameters:
ps
- Property Source *- Returns:
- boolean result
-