Class ConditionFactory.RoleCondition
java.lang.Object
org.openstreetmap.josm.gui.mappaint.mapcss.ConditionFactory.RoleCondition
- All Implemented Interfaces:
Condition
- Enclosing class:
- ConditionFactory
Role condition.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openstreetmap.josm.gui.mappaint.mapcss.Condition
Condition.Context, Condition.TagCondition -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final ConditionFactory.Op(package private) final String -
Constructor Summary
ConstructorsConstructorDescriptionRoleCondition(String role, ConditionFactory.Op op) Constructs a newRoleCondition. -
Method Summary
Modifier and TypeMethodDescriptionbooleanapplies(Environment env) Checks if the condition applies in the given MapCSSEnvironment.
-
Field Details
-
role
-
op
-
-
Constructor Details
-
RoleCondition
Constructs a newRoleCondition.- Parameters:
role- roleop- operation
-
-
Method Details
-
applies
Description copied from interface:ConditionChecks if the condition applies in the given MapCSSEnvironment.
-