Class ConditionFactory.ExpressionCondition
java.lang.Object
org.openstreetmap.josm.gui.mappaint.mapcss.ConditionFactory.ExpressionCondition
- All Implemented Interfaces:
Condition
- Enclosing class:
- ConditionFactory
A condition that is fulfilled whenever the expression is evaluated to be true.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openstreetmap.josm.gui.mappaint.mapcss.Condition
Condition.Context, Condition.TagCondition -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanapplies(Environment env) Checks if the condition applies in the given MapCSSEnvironment.final ExpressionReturns the expression.toString()
-
Field Details
-
e
-
-
Constructor Details
-
ExpressionCondition
Constructs a newExpressionFactory- Parameters:
e- expression
-
-
Method Details
-
getExpression
Returns the expression.- Returns:
- the expression
- Since:
- 14484
-
applies
Description copied from interface:ConditionChecks if the condition applies in the given MapCSSEnvironment. -
toString
-