Interface Condition.TagCondition
-
- All Superinterfaces:
Condition
- All Known Implementing Classes:
ConditionFactory.KeyCondition
,ConditionFactory.KeyRegexpCondition
,ConditionFactory.KeyValueCondition
,ConditionFactory.KeyValueRegexpCondition
,ConditionFactory.RegexpKeyValueRegexpCondition
,ConditionFactory.SimpleKeyValueCondition
- Enclosing interface:
- Condition
public static interface Condition.TagCondition extends Condition
This is a condition that can be converted to a tag- Since:
- 10674 (ToTagConvertable), 17642 (TagCondition)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openstreetmap.josm.gui.mappaint.mapcss.Condition
Condition.Context, Condition.TagCondition
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description boolean
applies(Tagged tagged)
Checks if the condition applies in the givenTagged
element.default boolean
applies(Environment e)
Checks if the condition applies in the given MapCSSEnvironment
.Tag
asTag(Tagged tagged)
Converts the current condition to a tag
-
-
-
Method Detail
-
applies
default boolean applies(Environment e)
Description copied from interface:Condition
Checks if the condition applies in the given MapCSSEnvironment
.
-
applies
boolean applies(Tagged tagged)
Description copied from interface:Condition
Checks if the condition applies in the givenTagged
element.
-
-