Class Keyword
- java.lang.Object
-
- org.openstreetmap.josm.gui.mappaint.Keyword
-
public class Keyword extends java.lang.Object
A MapCSS keyword. For example "round" is a keyword inlinecap: round;
Keywords are similar to a Java enum value. In accordance with the CSS specification, they are parsed case insensitive.
-
-
Field Summary
Fields Modifier and Type Field Description static KeywordAUTOAutomated text positioningstatic KeywordBOTTOMAlign text at the bottomstatic KeywordCENTERAlign text at the centerstatic KeywordDEFAULTUse default line widthstatic KeywordRIGHTAlign to the rightstatic KeywordTHINNESTThinnest line widthjava.lang.StringvalThe string value for this keyword
-
Constructor Summary
Constructors Constructor Description Keyword(java.lang.String val)Create a new Keyword
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()java.lang.StringtoString()
-