Package | Description |
---|---|
org.openstreetmap.josm.data |
Provides the classes for JOSM managed data.
|
org.openstreetmap.josm.data.preferences |
Provides the classes for storing JOSM user preferences.
|
org.openstreetmap.josm.gui.preferences.display |
Provides classes for handling display preferences.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,ColorInfo> |
Preferences.getAllNamedColors()
Get all named colors, including customized and the default ones.
|
Modifier and Type | Method and Description |
---|---|
static ColorInfo |
ColorInfo.fromPref(java.util.List<java.lang.String> lst,
boolean isDefault)
Constructs a new
ColorInfo from raw preference value. |
Modifier and Type | Field and Description |
---|---|
(package private) ColorInfo |
ColorPreference.ColorEntry.info |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,ColorInfo> |
ColorPreference.getColors()
Returns a map with the colors in the table (key = preference key, value = color info).
|
Modifier and Type | Method and Description |
---|---|
void |
ColorPreference.setColors(java.util.Map<java.lang.String,ColorInfo> colorMap)
Set the colors to be shown in the preference table.
|
Constructor and Description |
---|
ColorEntry(java.lang.String key,
ColorInfo info) |