Class Subpart.ExpressionSubpart
- java.lang.Object
-
- org.openstreetmap.josm.gui.mappaint.mapcss.Subpart.ExpressionSubpart
-
- All Implemented Interfaces:
Subpart
- Enclosing interface:
- Subpart
public static class Subpart.ExpressionSubpart extends java.lang.Object implements Subpart
Subpart identifier given by an expression. E.g. ::(concat("layer_", prop("i", "default")))
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openstreetmap.josm.gui.mappaint.mapcss.Subpart
Subpart.ExpressionSubpart, Subpart.StringSubpart
-
-
Field Summary
Fields Modifier and Type Field Description private Expression
id
-
Fields inherited from interface org.openstreetmap.josm.gui.mappaint.mapcss.Subpart
DEFAULT_SUBPART
-
-
Constructor Summary
Constructors Constructor Description ExpressionSubpart(Expression id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getId(Environment env)
Gets the ID of the subpartjava.lang.String
toString()
-
-
-
Field Detail
-
id
private final Expression id
-
-
Constructor Detail
-
ExpressionSubpart
public ExpressionSubpart(Expression id)
-
-
Method Detail
-
getId
public java.lang.String getId(Environment env)
Description copied from interface:Subpart
Gets the ID of the subpart
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-