Changeset 17119 in josm for trunk/src


Ignore:
Timestamp:
2020-10-08T20:26:04+02:00 (4 years ago)
Author:
simon04
Message:

see #19819 - NamedColorProperty: update Javadoc, add unit test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/preferences/NamedColorProperty.java

    r17118 r17119  
    55import java.util.Arrays;
    66import java.util.List;
     7
     8import javax.swing.UIManager;
    79
    810import org.openstreetmap.josm.tools.CheckParameterUtil;
     
    3032    /**
    3133     * Construct a new {@code NamedColorProperty}.
     34     *
     35     * The priority for getting the color is: 1. a set property, 2. {@link UIManager#getColor}, 3. the given {@code defaultValue}
    3236     * @param category a category, can be any identifier, but the following values are recognized by
    3337     * the GUI preferences: {@link #COLOR_CATEGORY_GENERAL} and {@link #COLOR_CATEGORY_MAPPAINT}
Note: See TracChangeset for help on using the changeset viewer.