Uses of Class
org.openstreetmap.josm.data.preferences.sources.SourceEntry
-
Packages that use SourceEntry Package Description org.openstreetmap.josm.data.preferences.sources Provide classes to manage source of JOSM extensions that can be chosen in user preferences: map paint styles tagging presets validator rulesorg.openstreetmap.josm.data.validation.tests Provides the classes for JOSM data validation tests.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.loader Provides the GUI classes allowing map paint styles to be (re)loaded.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. -
-
Uses of SourceEntry in org.openstreetmap.josm.data.preferences.sources
Subclasses of SourceEntry in org.openstreetmap.josm.data.preferences.sources Modifier and Type Class Description class
ExtendedSourceEntry
Source entry with additional metadata.Methods in org.openstreetmap.josm.data.preferences.sources that return SourceEntry Modifier and Type Method Description SourceEntry
MapPaintPrefHelper. deserialize(Map<String,String> s)
SourceEntry
SourcePrefHelper. deserialize(Map<String,String> entryStr)
Deserializes the given map as a source entry.Methods in org.openstreetmap.josm.data.preferences.sources that return types with arguments of type SourceEntry Modifier and Type Method Description List<SourceEntry>
MapPaintPrefHelper. get()
List<SourceEntry>
SourcePrefHelper. get()
Returns the list of sources.Collection<SourceEntry>
SourceProvider. getSources()
Get the collection ofSourceEntry
s.Methods in org.openstreetmap.josm.data.preferences.sources with parameters of type SourceEntry Modifier and Type Method Description Map<String,String>
MapPaintPrefHelper. serialize(SourceEntry entry)
Map<String,String>
SourcePrefHelper. serialize(SourceEntry entry)
Serializes the given source entry as a map.Map<String,String>
ValidatorPrefHelper. serialize(SourceEntry entry)
Method parameters in org.openstreetmap.josm.data.preferences.sources with type arguments of type SourceEntry Modifier and Type Method Description private boolean
MapPaintPrefHelper. insertNewDefaults(List<SourceEntry> list)
If the selection of default styles changes in future releases, add the new entries to the user-configured list.boolean
SourcePrefHelper. put(Collection<? extends SourceEntry> entries)
Saves a list of sources to JOSM preferences.private List<Map<String,String>>
SourcePrefHelper. serializeList(Collection<? extends SourceEntry> entries)
Constructors in org.openstreetmap.josm.data.preferences.sources with parameters of type SourceEntry Constructor Description SourceEntry(SourceEntry e)
Constructs a newSourceEntry
. -
Uses of SourceEntry in org.openstreetmap.josm.data.validation.tests
Methods in org.openstreetmap.josm.data.validation.tests with parameters of type SourceEntry Modifier and Type Method Description static void
MapCSSTagChecker. reloadRule(SourceEntry rule)
Reload tagchecker rule. -
Uses of SourceEntry in org.openstreetmap.josm.gui.mappaint
Subclasses of SourceEntry in org.openstreetmap.josm.gui.mappaint Modifier and Type Class Description class
StyleSource
A mappaint style (abstract class).Methods in org.openstreetmap.josm.gui.mappaint with parameters of type SourceEntry Modifier and Type Method Description static StyleSource
MapPaintStyles. addStyle(SourceEntry entry)
Add a new map paint style.private static StyleSource
MapPaintStyles. fromSourceEntry(SourceEntry entry)
static void
MapPaintStyles. removeStyle(SourceEntry entry)
Remove a map paint style.Constructors in org.openstreetmap.josm.gui.mappaint with parameters of type SourceEntry Constructor Description StyleSource(SourceEntry entry)
Constructs a newStyleSource
-
Uses of SourceEntry in org.openstreetmap.josm.gui.mappaint.loader
Methods in org.openstreetmap.josm.gui.mappaint.loader with parameters of type SourceEntry Modifier and Type Method Description static void
MapPaintStyleLoader. reloadStyle(SourceEntry style)
Reload style. -
Uses of SourceEntry in org.openstreetmap.josm.gui.mappaint.mapcss
Subclasses of SourceEntry in org.openstreetmap.josm.gui.mappaint.mapcss Modifier and Type Class Description class
MapCSSStyleSource
This is a mappaint style that is based on MapCSS rules.Constructors in org.openstreetmap.josm.gui.mappaint.mapcss with parameters of type SourceEntry Constructor Description MapCSSStyleSource(SourceEntry entry)
Constructs a newMapCSSStyleSource
-
Uses of SourceEntry in org.openstreetmap.josm.gui.preferences
Fields in org.openstreetmap.josm.gui.preferences with type parameters of type SourceEntry Modifier and Type Field Description private List<SourceEntry>
SourceEditor.ActiveSourcesModel. data
private Map<String,SourceEntry>
SourceEditor.FancySourceEntryTableCellRenderer. entryByUrl
Methods in org.openstreetmap.josm.gui.preferences that return SourceEntry Modifier and Type Method Description SourceEntry
SourceEditor.ActiveSourcesModel. getValue(int index)
SourceEntry
SourceEditor.ActiveSourcesModel. setValue(int index, SourceEntry value)
Methods in org.openstreetmap.josm.gui.preferences that return types with arguments of type SourceEntry Modifier and Type Method Description Collection<SourceEntry>
SourceEditor. getActiveSources()
Returns the list of active sources.abstract Collection<? extends SourceEntry>
SourceEditor. getInitialSourcesList()
Load the list of source entries that the user has configured.List<SourceEntry>
SourceEditor.ActiveSourcesModel. getSources()
Returns the active sources.Methods in org.openstreetmap.josm.gui.preferences with parameters of type SourceEntry Modifier and Type Method Description void
SourceEditor.ActiveSourcesModel. addSource(SourceEntry entry)
Adds an active source.private static String
SourceEditor.SourceEntryTableCellRenderer. fromSourceEntry(SourceEntry entry)
protected String
SourceEditor. getTitleForSourceEntry(SourceEntry entry)
Returns the title of the given source entry.SourceEntry
SourceEditor.ActiveSourcesModel. setValue(int index, SourceEntry value)
Method parameters in org.openstreetmap.josm.gui.preferences with type arguments of type SourceEntry Modifier and Type Method Description void
SourceEditor.ActiveSourcesModel. setActiveSources(Collection<? extends SourceEntry> sources)
Sets active sources.void
SourceEditor.FancySourceEntryTableCellRenderer. updateSources(List<SourceEntry> sources)
Constructors in org.openstreetmap.josm.gui.preferences with parameters of type SourceEntry Constructor Description EditSourceEntryDialog(Component parent, String title, SourceEntry e)
Constructs a newEditSourceEntryDialog
. -
Uses of SourceEntry in org.openstreetmap.josm.gui.preferences.map
Methods in org.openstreetmap.josm.gui.preferences.map that return types with arguments of type SourceEntry Modifier and Type Method Description Collection<? extends SourceEntry>
MapPaintPreference.MapPaintSourceEditor. getInitialSourcesList()
Collection<? extends SourceEntry>
TaggingPresetPreference.TaggingPresetSourceEditor. getInitialSourcesList()
Methods in org.openstreetmap.josm.gui.preferences.map with parameters of type SourceEntry Modifier and Type Method Description protected String
MapPaintPreference.MapPaintSourceEditor. getTitleForSourceEntry(SourceEntry entry)
static String
MapPaintPreference. getTitleFromSourceEntry(SourceEntry entry)
Returns title from a source entry. -
Uses of SourceEntry in org.openstreetmap.josm.gui.preferences.validator
Methods in org.openstreetmap.josm.gui.preferences.validator that return types with arguments of type SourceEntry Modifier and Type Method Description Collection<? extends SourceEntry>
ValidatorTagCheckerRulesPreference.TagCheckerRulesSourceEditor. getInitialSourcesList()
Methods in org.openstreetmap.josm.gui.preferences.validator with parameters of type SourceEntry Modifier and Type Method Description protected String
ValidatorTagCheckerRulesPreference.TagCheckerRulesSourceEditor. getTitleForSourceEntry(SourceEntry entry)
-
Uses of SourceEntry in org.openstreetmap.josm.io
Fields in org.openstreetmap.josm.io with type parameters of type SourceEntry Modifier and Type Field Description private static Map<SourceType,Consumer<SourceEntry>>
FileWatcher. loaderMap
private Map<Path,SourceEntry>
FileWatcher. sourceMap
Methods in org.openstreetmap.josm.io that return types with arguments of type SourceEntry Modifier and Type Method Description static Consumer<SourceEntry>
FileWatcher. registerLoader(SourceType type, Consumer<SourceEntry> loader)
Registers a source loader, allowing dynamic reloading when an entry changes.Methods in org.openstreetmap.josm.io with parameters of type SourceEntry Modifier and Type Method Description void
FileWatcher. registerSource(SourceEntry src)
Registers a source for local file changes, allowing dynamic reloading.Method parameters in org.openstreetmap.josm.io with type arguments of type SourceEntry Modifier and Type Method Description static Consumer<SourceEntry>
FileWatcher. registerLoader(SourceType type, Consumer<SourceEntry> loader)
Registers a source loader, allowing dynamic reloading when an entry changes.
-