Uses of Class
org.openstreetmap.josm.data.preferences.sources.SourceEntry
Packages that use SourceEntry
Package
Description
Provide classes to manage source of JOSM extensions that can be chosen in user preferences:
map paint styles
tagging presets
validator rules
Provides the classes for JOSM data validation tests.
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.
Two implementations are provided: XML: this was the system used by default JOSM map style for a long time.
Provides the GUI classes allowing map paint styles to be (re)loaded.
Drawing system based on MapCSS map styles.
Provides generic classes for handling JOSM preferences.
Provides classes for handling map preferences.
Provides classes for handling validator preferences.
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.sourcesModifier and TypeClassDescriptionclassSource entry with additional metadata.Methods in org.openstreetmap.josm.data.preferences.sources that return SourceEntryModifier and TypeMethodDescriptionMapPaintPrefHelper.deserialize(Map<String, String> s) 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 SourceEntryModifier and TypeMethodDescriptionMapPaintPrefHelper.get()SourcePrefHelper.get()Returns the list of sources.SourceProvider.getSources()Get the collection ofSourceEntrys.Methods in org.openstreetmap.josm.data.preferences.sources with parameters of type SourceEntryModifier and TypeMethodDescriptionMapPaintPrefHelper.serialize(SourceEntry entry) SourcePrefHelper.serialize(SourceEntry entry) Serializes the given source entry as a map.ValidatorPrefHelper.serialize(SourceEntry entry) Method parameters in org.openstreetmap.josm.data.preferences.sources with type arguments of type SourceEntryModifier and TypeMethodDescriptionprivate booleanMapPaintPrefHelper.insertNewDefaults(List<SourceEntry> list) If the selection of default styles changes in future releases, add the new entries to the user-configured list.booleanSourcePrefHelper.put(Collection<? extends SourceEntry> entries) Saves a list of sources to JOSM preferences.SourcePrefHelper.serializeList(Collection<? extends SourceEntry> entries) Constructors in org.openstreetmap.josm.data.preferences.sources with parameters of type SourceEntry -
Uses of SourceEntry in org.openstreetmap.josm.data.validation.tests
Methods in org.openstreetmap.josm.data.validation.tests with parameters of type SourceEntryModifier and TypeMethodDescriptionstatic voidMapCSSTagChecker.reloadRule(SourceEntry rule) Reload tagchecker rule. -
Uses of SourceEntry in org.openstreetmap.josm.gui.mappaint
Subclasses of SourceEntry in org.openstreetmap.josm.gui.mappaintMethods in org.openstreetmap.josm.gui.mappaint with parameters of type SourceEntryModifier and TypeMethodDescriptionstatic StyleSourceMapPaintStyles.addStyle(SourceEntry entry) Add a new map paint style.private static StyleSourceMapPaintStyles.fromSourceEntry(SourceEntry entry) static voidMapPaintStyles.removeStyle(SourceEntry entry) Remove a map paint style.Constructors in org.openstreetmap.josm.gui.mappaint with parameters of type SourceEntryModifierConstructorDescriptionprotectedStyleSource(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 SourceEntryModifier and TypeMethodDescriptionstatic voidMapPaintStyleLoader.reloadStyle(SourceEntry style) Reload style. -
Uses of SourceEntry in org.openstreetmap.josm.gui.mappaint.mapcss
Subclasses of SourceEntry in org.openstreetmap.josm.gui.mappaint.mapcssModifier and TypeClassDescriptionclassThis is a mappaint style that is based on MapCSS rules.Constructors in org.openstreetmap.josm.gui.mappaint.mapcss with parameters of type SourceEntryModifierConstructorDescriptionMapCSSStyleSource(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 SourceEntryModifier and TypeFieldDescriptionprivate List<SourceEntry>SourceEditor.ActiveSourcesModel.dataprivate final Map<String,SourceEntry> SourceEditor.FancySourceEntryTableCellRenderer.entryByUrlMethods in org.openstreetmap.josm.gui.preferences that return SourceEntryModifier and TypeMethodDescriptionSourceEditor.ActiveSourcesModel.getValue(int index) SourceEditor.ActiveSourcesModel.setValue(int index, SourceEntry value) Methods in org.openstreetmap.josm.gui.preferences that return types with arguments of type SourceEntryModifier and TypeMethodDescriptionSourceEditor.getActiveSources()Returns the list of active sources.abstract Collection<? extends SourceEntry>SourceEditor.getInitialSourcesList()Load the list of source entries that the user has configured.SourceEditor.ActiveSourcesModel.getSources()Returns the active sources.Methods in org.openstreetmap.josm.gui.preferences with parameters of type SourceEntryModifier and TypeMethodDescriptionvoidSourceEditor.ActiveSourcesModel.addSource(SourceEntry entry) Adds an active source.private static StringSourceEditor.SourceEntryTableCellRenderer.fromSourceEntry(SourceEntry entry) protected StringSourceEditor.getTitleForSourceEntry(SourceEntry entry) Returns the title of the given source entry.SourceEditor.ActiveSourcesModel.setValue(int index, SourceEntry value) Method parameters in org.openstreetmap.josm.gui.preferences with type arguments of type SourceEntryModifier and TypeMethodDescriptionvoidSourceEditor.ActiveSourcesModel.setActiveSources(Collection<? extends SourceEntry> sources) Sets active sources.voidSourceEditor.FancySourceEntryTableCellRenderer.updateSources(List<SourceEntry> sources) Constructors in org.openstreetmap.josm.gui.preferences with parameters of type SourceEntryModifierConstructorDescriptionEditSourceEntryDialog(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 SourceEntryModifier and TypeMethodDescriptionCollection<? extends SourceEntry>MapPaintPreference.MapPaintSourceEditor.getInitialSourcesList()Collection<? extends SourceEntry>TaggingPresetPreference.TaggingPresetSourceEditor.getInitialSourcesList()Methods in org.openstreetmap.josm.gui.preferences.map with parameters of type SourceEntryModifier and TypeMethodDescriptionprotected StringMapPaintPreference.MapPaintSourceEditor.getTitleForSourceEntry(SourceEntry entry) static StringMapPaintPreference.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 SourceEntryModifier and TypeMethodDescriptionCollection<? extends SourceEntry>ValidatorTagCheckerRulesPreference.TagCheckerRulesSourceEditor.getInitialSourcesList()Methods in org.openstreetmap.josm.gui.preferences.validator with parameters of type SourceEntryModifier and TypeMethodDescriptionprotected StringValidatorTagCheckerRulesPreference.TagCheckerRulesSourceEditor.getTitleForSourceEntry(SourceEntry entry) -
Uses of SourceEntry in org.openstreetmap.josm.io
Fields in org.openstreetmap.josm.io with type parameters of type SourceEntryModifier and TypeFieldDescriptionprivate static final Map<SourceType,Consumer<SourceEntry>> FileWatcher.loaderMapprivate final Map<Path,SourceEntry> FileWatcher.sourceMapMethods in org.openstreetmap.josm.io that return types with arguments of type SourceEntryModifier and TypeMethodDescriptionstatic 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 SourceEntryModifier and TypeMethodDescriptionvoidFileWatcher.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 SourceEntryModifier and TypeMethodDescriptionstatic Consumer<SourceEntry>FileWatcher.registerLoader(SourceType type, Consumer<SourceEntry> loader) Registers a source loader, allowing dynamic reloading when an entry changes.