Changeset 17119 in josm for trunk/src/org/openstreetmap/josm/data
- Timestamp:
- 2020-10-08T20:26:04+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/preferences/NamedColorProperty.java
r17118 r17119 5 5 import java.util.Arrays; 6 6 import java.util.List; 7 8 import javax.swing.UIManager; 7 9 8 10 import org.openstreetmap.josm.tools.CheckParameterUtil; … … 30 32 /** 31 33 * 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} 32 36 * @param category a category, can be any identifier, but the following values are recognized by 33 37 * the GUI preferences: {@link #COLOR_CATEGORY_GENERAL} and {@link #COLOR_CATEGORY_MAPPAINT}
Note:
See TracChangeset
for help on using the changeset viewer.