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 rules
|
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.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ExtendedSourceEntry> |
MapPaintPrefHelper.getDefault() |
abstract java.util.Collection<ExtendedSourceEntry> |
SourcePrefHelper.getDefault()
Returns the default sources provided by JOSM core.
|
java.util.Collection<ExtendedSourceEntry> |
ValidatorPrefHelper.getDefault() |
java.util.Collection<ExtendedSourceEntry> |
PresetPrefHelper.getDefault() |
Modifier and Type | Method and Description |
---|---|
int |
ExtendedSourceEntry.compareTo(ExtendedSourceEntry o) |
Modifier and Type | Method and Description |
---|---|
private void |
ValidatorPrefHelper.addDefault(java.util.List<ExtendedSourceEntry> defaults,
java.lang.String filename,
java.lang.String title,
java.lang.String description) |
Modifier and Type | Field and Description |
---|---|
private java.util.List<ExtendedSourceEntry> |
SourceEditor.AvailableSourcesListModel.data |
protected javax.swing.JList<ExtendedSourceEntry> |
SourceEditor.lstAvailableSources
the list of available sources
|
private java.util.List<ExtendedSourceEntry> |
SourceEditor.SourceLoader.sources |
Modifier and Type | Method and Description |
---|---|
ExtendedSourceEntry |
SourceEditor.AvailableSourcesListModel.getElementAt(int index) |
Modifier and Type | Method and Description |
---|---|
abstract java.util.Collection<ExtendedSourceEntry> |
SourceEditor.getDefault()
Get the default list of entries (used when resetting the list).
|
java.util.List<ExtendedSourceEntry> |
SourceEditor.AvailableSourcesListModel.getSelected()
Returns the selected sources.
|
java.util.Collection<ExtendedSourceEntry> |
SourceEditor.loadAndGetAvailableSources()
Synchronously loads available sources and returns the parsed list.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
SourceEditor.SourceEntryListCellRenderer.getListCellRendererComponent(javax.swing.JList<? extends ExtendedSourceEntry> list,
ExtendedSourceEntry value,
int index,
boolean isSelected,
boolean cellHasFocus) |
Modifier and Type | Method and Description |
---|---|
void |
SourceEditor.ActiveSourcesModel.addExtendedSourceEntries(java.util.List<ExtendedSourceEntry> sources)
Adds multiple sources.
|
java.awt.Component |
SourceEditor.SourceEntryListCellRenderer.getListCellRendererComponent(javax.swing.JList<? extends ExtendedSourceEntry> list,
ExtendedSourceEntry value,
int index,
boolean isSelected,
boolean cellHasFocus) |
void |
SourceEditor.AvailableSourcesListModel.setSources(java.util.List<ExtendedSourceEntry> sources)
Sets the source list.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ExtendedSourceEntry> |
MapPaintPreference.MapPaintSourceEditor.getDefault() |
java.util.Collection<ExtendedSourceEntry> |
TaggingPresetPreference.TaggingPresetSourceEditor.getDefault() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ExtendedSourceEntry> |
ValidatorTagCheckerRulesPreference.TagCheckerRulesSourceEditor.getDefault() |