public static class MapPaintPreference.MapPaintPrefHelper extends SourceEditor.SourcePrefHelper
| Modifier and Type | Field and Description |
|---|---|
static MapPaintPreference.MapPaintPrefHelper |
INSTANCE
The unique instance.
|
| Constructor and Description |
|---|
MapPaintPrefHelper()
Constructs a new
MapPaintPrefHelper. |
| Modifier and Type | Method and Description |
|---|---|
SourceEntry |
deserialize(Map<String,String> s) |
List<SourceEntry> |
get() |
Collection<SourceEditor.ExtendedSourceEntry> |
getDefault() |
private boolean |
insertNewDefaults(List<SourceEntry> list)
If the selection of default styles changes in future releases, add
the new entries to the user-configured list.
|
Map<String,String> |
serialize(SourceEntry entry) |
putpublic static final MapPaintPreference.MapPaintPrefHelper INSTANCE
public MapPaintPrefHelper()
MapPaintPrefHelper.public List<SourceEntry> get()
get in class SourceEditor.SourcePrefHelperprivate boolean insertNewDefaults(List<SourceEntry> list)
public Collection<SourceEditor.ExtendedSourceEntry> getDefault()
getDefault in class SourceEditor.SourcePrefHelperpublic Map<String,String> serialize(SourceEntry entry)
serialize in class SourceEditor.SourcePrefHelperpublic SourceEntry deserialize(Map<String,String> s)
deserialize in class SourceEditor.SourcePrefHelper