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 classExtendedSourceEntrySource entry with additional metadata.Methods in org.openstreetmap.josm.data.preferences.sources that return SourceEntry Modifier and Type Method Description SourceEntryMapPaintPrefHelper. deserialize(java.util.Map<java.lang.String,java.lang.String> s)SourceEntrySourcePrefHelper. deserialize(java.util.Map<java.lang.String,java.lang.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 java.util.List<SourceEntry>MapPaintPrefHelper. get()java.util.List<SourceEntry>SourcePrefHelper. get()Returns the list of sources.java.util.Collection<SourceEntry>SourceProvider. getSources()Get the collection ofSourceEntrys.Methods in org.openstreetmap.josm.data.preferences.sources with parameters of type SourceEntry Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>MapPaintPrefHelper. serialize(SourceEntry entry)java.util.Map<java.lang.String,java.lang.String>SourcePrefHelper. serialize(SourceEntry entry)Serializes the given source entry as a map.java.util.Map<java.lang.String,java.lang.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 booleanMapPaintPrefHelper. 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.booleanSourcePrefHelper. put(java.util.Collection<? extends SourceEntry> entries)Saves a list of sources to JOSM preferences.private java.util.List<java.util.Map<java.lang.String,java.lang.String>>SourcePrefHelper. serializeList(java.util.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 voidMapCSSTagChecker. 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 classStyleSourceA mappaint style (abstract class).Methods in org.openstreetmap.josm.gui.mappaint with parameters of type SourceEntry Modifier and Type Method Description static 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 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 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.mapcss Modifier and Type Class Description classMapCSSStyleSourceThis 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 java.util.List<SourceEntry>SourceEditor.ActiveSourcesModel. dataprivate java.util.Map<java.lang.String,SourceEntry>SourceEditor.FancySourceEntryTableCellRenderer. entryByUrlMethods in org.openstreetmap.josm.gui.preferences that return SourceEntry Modifier and Type Method Description SourceEntrySourceEditor.ActiveSourcesModel. getValue(int index)SourceEntrySourceEditor.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 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()Returns the active sources.Methods in org.openstreetmap.josm.gui.preferences with parameters of type SourceEntry Modifier and Type Method Description voidSourceEditor.ActiveSourcesModel. addSource(SourceEntry entry)Adds an active source.private static java.lang.StringSourceEditor.SourceEntryTableCellRenderer. fromSourceEntry(SourceEntry entry)protected java.lang.StringSourceEditor. getTitleForSourceEntry(SourceEntry entry)Returns the title of the given source entry.SourceEntrySourceEditor.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 voidSourceEditor.ActiveSourcesModel. setActiveSources(java.util.Collection<? extends SourceEntry> sources)Sets active sources.voidSourceEditor.FancySourceEntryTableCellRenderer. updateSources(java.util.List<SourceEntry> sources)Constructors in org.openstreetmap.josm.gui.preferences with parameters of type SourceEntry Constructor Description EditSourceEntryDialog(java.awt.Component parent, java.lang.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 java.util.Collection<? extends SourceEntry>MapPaintPreference.MapPaintSourceEditor. getInitialSourcesList()java.util.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 java.lang.StringMapPaintPreference.MapPaintSourceEditor. getTitleForSourceEntry(SourceEntry entry)static java.lang.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 SourceEntry Modifier and Type Method Description java.util.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 java.lang.StringValidatorTagCheckerRulesPreference.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 java.util.Map<SourceType,java.util.function.Consumer<SourceEntry>>FileWatcher. loaderMapprivate java.util.Map<java.nio.file.Path,SourceEntry>FileWatcher. sourceMapMethods in org.openstreetmap.josm.io that return types with arguments of type SourceEntry Modifier and Type Method Description static java.util.function.Consumer<SourceEntry>FileWatcher. registerLoader(SourceType type, java.util.function.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 voidFileWatcher. 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 java.util.function.Consumer<SourceEntry>FileWatcher. registerLoader(SourceType type, java.util.function.Consumer<SourceEntry> loader)Registers a source loader, allowing dynamic reloading when an entry changes.
-