Package | Description |
---|---|
org.openstreetmap.josm.gui.mappaint |
Drawing system allowing to display and render OSM map data in a user-friendly and customizable way, through map styles.
Two implementations are provided: XML: this was the system used by default JOSM map style for a long time. |
org.openstreetmap.josm.gui.mappaint.mapcss |
Drawing system based on MapCSS map styles.
|
org.openstreetmap.josm.gui.mappaint.xml |
Drawing system based on XML map styles.
|
org.openstreetmap.josm.gui.preferences |
Provides generic classes for handling JOSM preferences.
|
org.openstreetmap.josm.gui.preferences.map |
Provides classes for handling map preferences.
|
org.openstreetmap.josm.gui.preferences.validator |
Provides classes for handling validator preferences.
|
org.openstreetmap.josm.io |
Modifier and Type | Class and Description |
---|---|
class |
StyleSource
A mappaint style (abstract class).
|
Modifier and Type | Method and Description |
---|---|
static Collection<Throwable> |
MapPaintStyles.addStyle(SourceEntry entry)
Add a new map paint style.
|
private static StyleSource |
MapPaintStyles.fromSourceEntry(SourceEntry entry) |
Constructor and Description |
---|
StyleSource(SourceEntry entry)
Constructs a new
StyleSource |
Modifier and Type | Class and Description |
---|---|
class |
MapCSSStyleSource
This is a mappaint style that is based on MapCSS rules.
|
Constructor and Description |
---|
MapCSSStyleSource(SourceEntry entry)
Constructs a new
MapCSSStyleSource |
Modifier and Type | Class and Description |
---|---|
class |
XmlStyleSource |
Constructor and Description |
---|
XmlStyleSource(SourceEntry entry) |
Modifier and Type | Class and Description |
---|---|
static class |
SourceEditor.ExtendedSourceEntry |
Modifier and Type | Field and Description |
---|---|
private List<SourceEntry> |
SourceEditor.ActiveSourcesModel.data |
private Map<String,SourceEntry> |
SourceEditor.SourceEntryListCellRenderer.entryByUrl |
Modifier and Type | Method and Description |
---|---|
abstract SourceEntry |
SourceEditor.SourcePrefHelper.deserialize(Map<String,String> entryStr) |
Modifier and Type | Method and Description |
---|---|
List<SourceEntry> |
SourceEditor.SourcePrefHelper.get()
Returns the list of sources.
|
Collection<SourceEntry> |
SourceEditor.getActiveSources() |
abstract Collection<? extends SourceEntry> |
SourceEditor.getInitialSourcesList()
Load the list of source entries that the user has configured.
|
List<SourceEntry> |
SourceEditor.ActiveSourcesModel.getSources() |
Collection<SourceEntry> |
SourceProvider.getSources() |
Modifier and Type | Method and Description |
---|---|
void |
SourceEditor.ActiveSourcesModel.addSource(SourceEntry entry) |
private static String |
SourceEditor.SourceEntryTableCellRenderer.fromSourceEntry(SourceEntry entry) |
protected String |
SourceEditor.getTitleForSourceEntry(SourceEntry entry) |
abstract Map<String,String> |
SourceEditor.SourcePrefHelper.serialize(SourceEntry entry) |
Modifier and Type | Method and Description |
---|---|
boolean |
SourceEditor.SourcePrefHelper.put(Collection<? extends SourceEntry> entries) |
void |
SourceEditor.ActiveSourcesModel.setActiveSources(Collection<? extends SourceEntry> sources) |
void |
SourceEditor.SourceEntryListCellRenderer.updateSources(List<SourceEntry> sources) |
Constructor and Description |
---|
EditSourceEntryDialog(Component parent,
String title,
SourceEntry e) |
SourceEntry(SourceEntry e)
Constructs a new
SourceEntry . |
Modifier and Type | Method and Description |
---|---|
SourceEntry |
TaggingPresetPreference.PresetPrefHelper.deserialize(Map<String,String> s) |
SourceEntry |
MapPaintPreference.MapPaintPrefHelper.deserialize(Map<String,String> s) |
Modifier and Type | Method and Description |
---|---|
List<SourceEntry> |
MapPaintPreference.MapPaintPrefHelper.get() |
Collection<? extends SourceEntry> |
TaggingPresetPreference.TaggingPresetSourceEditor.getInitialSourcesList() |
Collection<? extends SourceEntry> |
MapPaintPreference.MapPaintSourceEditor.getInitialSourcesList() |
Modifier and Type | Method and Description |
---|---|
protected String |
MapPaintPreference.MapPaintSourceEditor.getTitleForSourceEntry(SourceEntry entry) |
static String |
MapPaintPreference.getTitleFromSourceEntry(SourceEntry entry)
Returns title from a source entry.
|
Map<String,String> |
TaggingPresetPreference.PresetPrefHelper.serialize(SourceEntry entry) |
Map<String,String> |
MapPaintPreference.MapPaintPrefHelper.serialize(SourceEntry entry) |
Modifier and Type | Method and Description |
---|---|
private boolean |
MapPaintPreference.MapPaintPrefHelper.insertNewDefaults(List<SourceEntry> list)
If the selection of default styles changes in future releases, add
the new entries to the user-configured list.
|
Modifier and Type | Method and Description |
---|---|
SourceEntry |
ValidatorTagCheckerRulesPreference.RulePrefHelper.deserialize(Map<String,String> s) |
Modifier and Type | Method and Description |
---|---|
Collection<? extends SourceEntry> |
ValidatorTagCheckerRulesPreference.TagCheckerRulesSourceEditor.getInitialSourcesList() |
Modifier and Type | Method and Description |
---|---|
protected String |
ValidatorTagCheckerRulesPreference.TagCheckerRulesSourceEditor.getTitleForSourceEntry(SourceEntry entry) |
Map<String,String> |
ValidatorTagCheckerRulesPreference.RulePrefHelper.serialize(SourceEntry entry) |
Modifier and Type | Field and Description |
---|---|
private Map<Path,SourceEntry> |
FileWatcher.ruleMap |
Modifier and Type | Method and Description |
---|---|
private <T extends SourceEntry> |
FileWatcher.register(T obj,
Map<Path,T> map) |
Modifier and Type | Method and Description |
---|---|
void |
FileWatcher.registerValidatorRule(SourceEntry rule)
Registers a validator rule for local file changes, allowing dynamic reloading.
|