Class ConditionFactory.ClassCondition
- java.lang.Object
-
- org.openstreetmap.josm.gui.mappaint.mapcss.ConditionFactory.ClassCondition
-
- All Implemented Interfaces:
Condition
- Enclosing class:
- ConditionFactory
public static class ConditionFactory.ClassCondition extends Object implements Condition
Class condition.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openstreetmap.josm.gui.mappaint.mapcss.Condition
Condition.Context, Condition.TagCondition
-
-
Constructor Summary
Constructors Constructor Description ClassCondition(String id, boolean not)
Constructs a newClassCondition
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
applies(Environment env)
Checks if the condition applies in the given MapCSSEnvironment
.String
toString()
-
-
-
Constructor Detail
-
ClassCondition
public ClassCondition(String id, boolean not)
Constructs a newClassCondition
.- Parameters:
id
- idnot
- negation or not
-
-
Method Detail
-
applies
public boolean applies(Environment env)
Description copied from interface:Condition
Checks if the condition applies in the given MapCSSEnvironment
.
-
-