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 java.lang.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 java.lang.String
id
-
Fields inherited from interface org.openstreetmap.josm.gui.mappaint.mapcss.Subpart
DEFAULT_SUBPART
-
-
Constructor Summary
Constructors Constructor Description StringSubpart(java.lang.String 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 java.lang.String id
-
-
Constructor Detail
-
StringSubpart
public StringSubpart(java.lang.String 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
-
-