Package | Description |
---|---|
org.openstreetmap.josm.corrector |
Provides the classes for JOSM
tag correctors . |
org.openstreetmap.josm.data.osm |
Provides the classes for OSM data:
Primitives :
Node ,
Way ,
Relation
Users
Tags
Changesets
Utilities classes
|
org.openstreetmap.josm.data.validation.tests |
Provides the classes for JOSM data validation tests.
|
org.openstreetmap.josm.gui.conflict.tags |
Provides the classes for resolving conflicts between OSM tags.
|
org.openstreetmap.josm.gui.datatransfer.importers |
Provides the classes for the transfer support controllers allowing cut/copy/paste operations.
|
org.openstreetmap.josm.gui.dialogs.properties |
Toggle dialog allowing to display/edit tags and relation memberships of currently selected OSM objects.
|
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.tagging |
Provides classes for handling edition of OSM tags: tag tables, tag editors.
|
org.openstreetmap.josm.gui.tagging.presets |
Provides classes for handling tagging presets.
|
org.openstreetmap.josm.gui.tagging.presets.items |
Provides classes for handling tagging presets items.
|
Modifier and Type | Method and Description |
---|---|
static Tag |
ReverseWayTagCorrector.TagSwitcher.apply(java.lang.String key,
java.lang.String value)
Reverses a given tag (key=value).
|
static Tag |
ReverseWayTagCorrector.TagSwitcher.apply(Tag tag)
Reverses a given tag.
|
Modifier and Type | Method and Description |
---|---|
static Tag |
ReverseWayTagCorrector.TagSwitcher.apply(Tag tag)
Reverses a given tag.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Tag,java.lang.Integer> |
TagCollection.tags |
Modifier and Type | Method and Description |
---|---|
static Tag |
Tag.ofString(java.lang.String s)
This constructs a
Tag by splitting s on the first equality sign. |
Modifier and Type | Method and Description |
---|---|
java.util.List<Tag> |
TagCollection.asList()
Replies the tags of this tag collection as list.
|
java.util.Set<Tag> |
TagCollection.asSet()
Replies the tags of this tag collection as set
|
private java.util.stream.Stream<Tag> |
TagCollection.generateStreamForKey(java.lang.String key)
Get a stram for the given key.
|
java.util.List<Tag> |
TagMap.getTags()
Gets a list of all tags contained in this map.
|
java.util.Iterator<Tag> |
TagCollection.iterator()
Replies an iterator to iterate over the tags in this collection
|
Modifier and Type | Method and Description |
---|---|
void |
TagCollection.add(Tag tag)
Adds a tag to the tag collection.
|
boolean |
TagCollection.contains(Tag tag)
Replies true if the this tag collection contains
tag . |
int |
TagCollection.getTagOccurence(Tag tag)
Gets the number of this this tag was added to the collection.
|
default void |
Tagged.put(Tag tag)
Sets a key/value pairs
|
void |
TagCollection.remove(Tag tag)
Removes a specific tag from the tag collection.
|
void |
TagCollection.setUniqueForKey(Tag tag)
Sets a unique tag for the key of this tag.
|
Modifier and Type | Method and Description |
---|---|
void |
TagCollection.add(java.util.Collection<Tag> tags)
Adds a collection of tags to the tag collection.
|
boolean |
TagCollection.containsAll(java.util.Collection<Tag> tags)
Replies true if this tag collection contains all tags in
tags . |
void |
TagCollection.remove(java.util.Collection<Tag> tags)
Removes a collection of tags from the tag collection.
|
Constructor and Description |
---|
Tag(Tag tag)
Creates clone of the tag
tag . |
Constructor and Description |
---|
TagCollection(java.util.Collection<Tag> tags)
Creates a tag collection from
tags . |
TagMap(java.util.Collection<Tag> tags)
Creates a new map using the given list of tags.
|
Modifier and Type | Field and Description |
---|---|
private static java.util.List<Tag> |
TagChecker.ignoreDataTag |
Modifier and Type | Method and Description |
---|---|
static java.util.List<Tag> |
TagChecker.getIgnoredTags()
Returns the list of ignored tags.
|
Modifier and Type | Method and Description |
---|---|
Tag |
MultiValueResolutionDecision.getResolution()
Replies a tag representing the current resolution.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<Tag> |
PrimitiveTagTransferPaster.TagPasteSupport.tags |
Modifier and Type | Method and Description |
---|---|
java.util.List<Tag> |
PrimitiveTagTransferPaster.TagPasteSupport.execute()
Performs the paste operation.
|
Modifier and Type | Field and Description |
---|---|
(package private) Tag |
TagEditHelper.AddTagsDialog.IgnoreTagAction.tag |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Tag,java.lang.Void> |
RecentTagCollection.recentTags |
private java.util.List<Tag> |
TagEditHelper.tags
Copy of recently added tags in sorted from newest to oldest order.
|
Modifier and Type | Method and Description |
---|---|
Tag |
PropertiesDialog.getSelectedProperty()
Returns the selected tag.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Tag> |
RecentTagCollection.toList() |
Modifier and Type | Method and Description |
---|---|
void |
RecentTagCollection.add(Tag tag) |
SearchAction.SearchSetting |
RecentTagCollection.ignoreTag(Tag tagToIgnore,
SearchAction.SearchSetting settingToUpdate) |
private boolean |
TagEditHelper.AddTagsDialog.keyExists(Tag t) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
RecentTagCollection.LruCache.removeEldestEntry(java.util.Map.Entry<Tag,java.lang.Void> eldest) |
void |
PropertiesDialog.TaggingPresetCommandHandler.updateTags(java.util.List<Tag> tags) |
Constructor and Description |
---|
IgnoreTagAction(java.lang.String name,
Tag tag) |
TagPopupMenu(Tag t) |
Modifier and Type | Method and Description |
---|---|
static javax.swing.ImageIcon |
MapPaintStyles.getNodeIcon(Tag tag) |
static javax.swing.ImageIcon |
MapPaintStyles.getNodeIcon(Tag tag,
boolean includeDeprecatedIcon)
Returns the node icon that would be displayed for the given tag.
|
Modifier and Type | Method and Description |
---|---|
Tag |
Condition.ToTagConvertable.asTag(OsmPrimitive primitive)
Converts the current condition to a tag
|
Tag |
ConditionFactory.SimpleKeyValueCondition.asTag(OsmPrimitive primitive) |
Tag |
ConditionFactory.KeyValueCondition.asTag(OsmPrimitive primitive) |
Tag |
ConditionFactory.KeyCondition.asTag(OsmPrimitive p)
Get the matched key and the corresponding value.
|
Modifier and Type | Method and Description |
---|---|
void |
TagEditorModel.updateTags(java.util.List<Tag> tags)
Load tags from given list
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Tag> |
TaggingPreset.getChangedTags()
Gets a list of tags that are set by this preset.
|
private java.util.List<Tag> |
TaggingPreset.getDirectlyAppliedTags()
Returns the tags being directly applied (without UI element) by
Key items |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
TaggingPresetItem.addCommands(java.util.List<Tag> changedTags)
Adds the new tags to apply to selected OSM primitives when the preset holding this item is applied.
|
static Command |
TaggingPreset.createCommand(java.util.Collection<OsmPrimitive> sel,
java.util.List<Tag> changedTags)
Create a command to change the given list of tags.
|
void |
TaggingPresetHandler.updateTags(java.util.List<Tag> tags)
Update the given tags on the selection.
|
Modifier and Type | Method and Description |
---|---|
Tag |
Key.asTag()
Returns the
Tag set by this item |
Modifier and Type | Method and Description |
---|---|
void |
MultiSelect.addCommands(java.util.List<Tag> changedTags) |
void |
Space.addCommands(java.util.List<Tag> changedTags) |
void |
CheckGroup.addCommands(java.util.List<Tag> changedTags) |
void |
TextItem.addCommands(java.util.List<Tag> changedTags) |
void |
ComboMultiSelect.addCommands(java.util.List<Tag> changedTags) |
void |
Key.addCommands(java.util.List<Tag> changedTags) |
void |
ItemSeparator.addCommands(java.util.List<Tag> changedTags) |
void |
Roles.addCommands(java.util.List<Tag> changedTags) |
void |
Check.addCommands(java.util.List<Tag> changedTags) |
void |
PresetLink.addCommands(java.util.List<Tag> changedTags) |
void |
Text.addCommands(java.util.List<Tag> changedTags) |