Class Subpart.StringSubpart
- java.lang.Object
-
- org.openstreetmap.josm.gui.mappaint.mapcss.Subpart.StringSubpart
-
- All Implemented Interfaces:
Subpart
- Enclosing interface:
- Subpart
public static class Subpart.StringSubpart extends Object implements Subpart
Simple static subpart identifier. E.g. ::layer_1
-
-
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 String
id
-
Fields inherited from interface org.openstreetmap.josm.gui.mappaint.mapcss.Subpart
DEFAULT_SUBPART
-
-
Constructor Summary
Constructors Constructor Description StringSubpart(String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId(Environment env)
Gets the ID of the subpartString
toString()
-
-
-
Constructor Detail
-
StringSubpart
public StringSubpart(String id)
-
-
Method Detail
-
getId
public String getId(Environment env)
Description copied from interface:Subpart
Gets the ID of the subpart
-
-