Ignore:
Timestamp:
2017-06-09T22:13:45+02:00 (7 years ago)
Author:
michael2402
Message:

Document the gui.mappaint package

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/Keyword.java

    r11137 r12378  
    1414 */
    1515public class Keyword {
     16    /**
     17     * The string value for this keyword
     18     */
    1619    public final String val;
    1720
     21    /**
     22     * Create a new Keyword
     23     * @param val The string value that is written in the MapCSS file
     24     */
    1825    public Keyword(String val) {
    1926        this.val = val.toLowerCase(Locale.ENGLISH);
     
    3845    }
    3946
     47    /**
     48     * Automated text positioning
     49     */
    4050    public static final Keyword AUTO = new Keyword("auto");
     51    /**
     52     * Align text at the bottom
     53     */
    4154    public static final Keyword BOTTOM = new Keyword("bottom");
     55    /**
     56     * Align text at the center
     57     */
    4258    public static final Keyword CENTER = new Keyword("center");
     59    /**
     60     * Use default line width
     61     */
    4362    public static final Keyword DEFAULT = new Keyword("default");
     63    /**
     64     * Align to the right
     65     */
    4466    public static final Keyword RIGHT = new Keyword("right");
     67    /**
     68     * Thinnest line width
     69     */
    4570    public static final Keyword THINNEST = new Keyword("thinnest");
    4671}
Note: See TracChangeset for help on using the changeset viewer.