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.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 |
Provides the classes for JOSM input/output support.
|
Modifier and Type | Class and Description |
---|---|
class |
StyleSource
A mappaint style (abstract class).
|
Modifier and Type | Method and Description |
---|---|
static StyleSource |
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 |
---|---|
static class |
SourceEditor.ExtendedSourceEntry |
Modifier and Type | Field and Description |
---|---|
private java.util.List<SourceEntry> |
SourceEditor.ActiveSourcesModel.data |
private java.util.Map<java.lang.String,SourceEntry> |
SourceEditor.SourceEntryListCellRenderer.entryByUrl |
Modifier and Type | Method and Description |
---|---|
abstract SourceEntry |
SourceEditor.SourcePrefHelper.deserialize(java.util.Map<java.lang.String,java.lang.String> entryStr)
Deserializes the given map as a source entry.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<SourceEntry> |
SourceEditor.SourcePrefHelper.get()
Returns the list of sources.
|
java.util.Collection<SourceEntry> |
SourceEditor.getActiveSources()
Returns the list of active sources.
|
abstract java.util.Collection<? extends SourceEntry> |
SourceEditor.getInitialSourcesList()
Load the list of source entries that the user has configured.
|
java.util.List<SourceEntry> |
SourceEditor.ActiveSourcesModel.getSources() |
java.util.Collection<SourceEntry> |
SourceProvider.getSources() |
Modifier and Type | Method and Description |
---|---|
void |
SourceEditor.ActiveSourcesModel.addSource(SourceEntry entry) |
private static java.lang.String |
SourceEditor.SourceEntryTableCellRenderer.fromSourceEntry(SourceEntry entry) |
protected java.lang.String |
SourceEditor.getTitleForSourceEntry(SourceEntry entry) |
abstract java.util.Map<java.lang.String,java.lang.String> |
SourceEditor.SourcePrefHelper.serialize(SourceEntry entry)
Serializes the given source entry as a map.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SourceEditor.SourcePrefHelper.put(java.util.Collection<? extends SourceEntry> entries)
Saves a list of sources to JOSM preferences.
|
void |
SourceEditor.ActiveSourcesModel.setActiveSources(java.util.Collection<? extends SourceEntry> sources) |
void |
SourceEditor.SourceEntryListCellRenderer.updateSources(java.util.List<SourceEntry> sources) |
Constructor and Description |
---|
EditSourceEntryDialog(java.awt.Component parent,
java.lang.String title,
SourceEntry e) |
SourceEntry(SourceEntry e)
Constructs a new
SourceEntry . |
Modifier and Type | Method and Description |
---|---|
SourceEntry |
TaggingPresetPreference.PresetPrefHelper.deserialize(java.util.Map<java.lang.String,java.lang.String> s) |
SourceEntry |
MapPaintPreference.MapPaintPrefHelper.deserialize(java.util.Map<java.lang.String,java.lang.String> s) |
Modifier and Type | Method and Description |
---|---|
java.util.List<SourceEntry> |
MapPaintPreference.MapPaintPrefHelper.get() |
java.util.Collection<? extends SourceEntry> |
TaggingPresetPreference.TaggingPresetSourceEditor.getInitialSourcesList() |
java.util.Collection<? extends SourceEntry> |
MapPaintPreference.MapPaintSourceEditor.getInitialSourcesList() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
MapPaintPreference.MapPaintSourceEditor.getTitleForSourceEntry(SourceEntry entry) |
static java.lang.String |
MapPaintPreference.getTitleFromSourceEntry(SourceEntry entry)
Returns title from a source entry.
|
java.util.Map<java.lang.String,java.lang.String> |
TaggingPresetPreference.PresetPrefHelper.serialize(SourceEntry entry) |
java.util.Map<java.lang.String,java.lang.String> |
MapPaintPreference.MapPaintPrefHelper.serialize(SourceEntry entry) |
Modifier and Type | Method and Description |
---|---|
private boolean |
MapPaintPreference.MapPaintPrefHelper.insertNewDefaults(java.util.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(java.util.Map<java.lang.String,java.lang.String> s) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<? extends SourceEntry> |
ValidatorTagCheckerRulesPreference.TagCheckerRulesSourceEditor.getInitialSourcesList() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
ValidatorTagCheckerRulesPreference.TagCheckerRulesSourceEditor.getTitleForSourceEntry(SourceEntry entry) |
java.util.Map<java.lang.String,java.lang.String> |
ValidatorTagCheckerRulesPreference.RulePrefHelper.serialize(SourceEntry entry) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.nio.file.Path,SourceEntry> |
FileWatcher.ruleMap |
Modifier and Type | Method and Description |
---|---|
private <T extends SourceEntry> |
FileWatcher.register(T obj,
java.util.Map<java.nio.file.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.
|