Uses of Class
org.openstreetmap.josm.data.osm.Tag
-
Packages that use Tag Package Description org.openstreetmap.josm.actions.corrector Provides the classes for JOSMtag correctors
.org.openstreetmap.josm.data.osm Provides the classes for OSM data:Primitives
:Node
,Way
,Relation
Users
Tags
Changesets
Utilities classesorg.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. -
-
Uses of Tag in org.openstreetmap.josm.actions.corrector
Methods in org.openstreetmap.josm.actions.corrector that return Tag Modifier and Type Method Description static Tag
ReverseWayTagCorrector.TagSwitcher. apply(String key, String value)
Reverses a given tag (key=value).static Tag
ReverseWayTagCorrector.TagSwitcher. apply(Tag tag)
Reverses a given tag.Methods in org.openstreetmap.josm.actions.corrector with parameters of type Tag Modifier and Type Method Description static Tag
ReverseWayTagCorrector.TagSwitcher. apply(Tag tag)
Reverses a given tag. -
Uses of Tag in org.openstreetmap.josm.data.osm
Fields in org.openstreetmap.josm.data.osm with type parameters of type Tag Modifier and Type Field Description private Map<Tag,Integer>
TagCollection. tags
Methods in org.openstreetmap.josm.data.osm that return Tag Modifier and Type Method Description static Tag
Tag. ofString(String s)
This constructs aTag
by splittings
on the first equality sign.Methods in org.openstreetmap.josm.data.osm that return types with arguments of type Tag Modifier and Type Method Description List<Tag>
TagCollection. asList()
Replies the tags of this tag collection as list.Set<Tag>
TagCollection. asSet()
Replies the tags of this tag collection as setprivate Stream<Tag>
TagCollection. generateStreamForKey(String key)
Get a stream for the given key.List<Tag>
TagMap. getTags()
Gets a list of all tags contained in this map.Iterator<Tag>
TagCollection. iterator()
Replies an iterator to iterate over the tags in this collectionMethods in org.openstreetmap.josm.data.osm with parameters of type Tag Modifier and Type Method 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 containstag
.int
TagCollection. getTagOccurrence(Tag tag)
Gets the number of times this tag was added to the collection.default void
Tagged. put(Tag tag)
Sets a key/value pairsvoid
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.Method parameters in org.openstreetmap.josm.data.osm with type arguments of type Tag Modifier and Type Method Description void
TagCollection. add(Collection<Tag> tags)
Adds a collection of tags to the tag collection.boolean
TagCollection. containsAll(Collection<Tag> tags)
Replies true if this tag collection contains all tags intags
.static Tagged
Tagged. ofTags(Collection<Tag> tags)
Returns a Tagged instance for the given tag collectionvoid
TagCollection. remove(Collection<Tag> tags)
Removes a collection of tags from the tag collection.Constructors in org.openstreetmap.josm.data.osm with parameters of type Tag Constructor Description Tag(Tag tag)
Creates clone of the tagtag
.Constructor parameters in org.openstreetmap.josm.data.osm with type arguments of type Tag Constructor Description TagCollection(Collection<Tag> tags)
Creates a tag collection fromtags
.TagMap(Iterable<Tag> tags)
Creates a new map using the given list of tags. -
Uses of Tag in org.openstreetmap.josm.data.validation.tests
Fields in org.openstreetmap.josm.data.validation.tests with type parameters of type Tag Modifier and Type Field Description private static List<Tag>
TagChecker. ignoreDataTag
Methods in org.openstreetmap.josm.data.validation.tests that return types with arguments of type Tag Modifier and Type Method Description static List<Tag>
TagChecker. getIgnoredTags()
Returns the list of ignored tags. -
Uses of Tag in org.openstreetmap.josm.gui.conflict.tags
Methods in org.openstreetmap.josm.gui.conflict.tags that return Tag Modifier and Type Method Description Tag
MultiValueResolutionDecision. getResolution()
Replies a tag representing the current resolution. -
Uses of Tag in org.openstreetmap.josm.gui.datatransfer.importers
Fields in org.openstreetmap.josm.gui.datatransfer.importers with type parameters of type Tag Modifier and Type Field Description private List<Tag>
PrimitiveTagTransferPaster.TagPasteSupport. tags
Methods in org.openstreetmap.josm.gui.datatransfer.importers that return types with arguments of type Tag Modifier and Type Method Description List<Tag>
PrimitiveTagTransferPaster.TagPasteSupport. execute()
Performs the paste operation. -
Uses of Tag in org.openstreetmap.josm.gui.dialogs.properties
Fields in org.openstreetmap.josm.gui.dialogs.properties declared as Tag Modifier and Type Field Description (package private) Tag
TagEditHelper.AddTagsDialog.IgnoreTagAction. tag
Fields in org.openstreetmap.josm.gui.dialogs.properties with type parameters of type Tag Modifier and Type Field Description private Map<Tag,Void>
RecentTagCollection. recentTags
private List<Tag>
TagEditHelper. tags
Copy of recently added tags in sorted from newest to oldest order.private Supplier<Tag>
HelpTagAction. tagSupplier
private Supplier<Tag>
TaginfoAction. tagSupplier
Methods in org.openstreetmap.josm.gui.dialogs.properties that return Tag Modifier and Type Method Description Tag
PropertiesDialog. getSelectedProperty()
Returns the selected tag.Methods in org.openstreetmap.josm.gui.dialogs.properties that return types with arguments of type Tag Modifier and Type Method Description private static Supplier<Tag>
TaginfoAction. getTagSupplier(JTable tagTable, IntFunction<String> tagKeySupplier, IntFunction<Map<String,Integer>> tagValuesSupplier)
List<Tag>
RecentTagCollection. toList()
Methods in org.openstreetmap.josm.gui.dialogs.properties with parameters of type Tag Modifier and Type Method Description void
RecentTagCollection. add(Tag tag)
String
TaginfoAction. getTaginfoUrlForTag(Tag tag)
Returns the Taginfo URL for the given tag or key (if the tag value is null)SearchSetting
RecentTagCollection. ignoreTag(Tag tagToIgnore, SearchSetting settingToUpdate)
Method parameters in org.openstreetmap.josm.gui.dialogs.properties with type arguments of type Tag Modifier and Type Method Description void
PropertiesDialog.TaggingPresetCommandHandler. updateTags(List<Tag> tags)
Constructors in org.openstreetmap.josm.gui.dialogs.properties with parameters of type Tag Constructor Description IgnoreTagAction(String name, Tag tag)
TagPopupMenu(Tag t)
Constructor parameters in org.openstreetmap.josm.gui.dialogs.properties with type arguments of type Tag Constructor Description HelpTagAction(Supplier<Tag> tagSupplier)
Constructs a newHelpAction
.TaginfoAction(String name, Supplier<Tag> tagSupplier, Supplier<String> relationTypeSupplier, String taginfoUrl)
TaginfoAction(Supplier<Tag> tagSupplier, Supplier<String> relationTypeSupplier)
Constructs a newTaginfoAction
. -
Uses of Tag in org.openstreetmap.josm.gui.mappaint
Methods in org.openstreetmap.josm.gui.mappaint with parameters of type Tag Modifier and Type Method Description static ImageIcon
MapPaintStyles. getNodeIcon(Tag tag)
-
Uses of Tag in org.openstreetmap.josm.gui.mappaint.mapcss
Methods in org.openstreetmap.josm.gui.mappaint.mapcss that return Tag Modifier and Type Method Description Tag
Condition.TagCondition. asTag(Tagged tagged)
Converts the current condition to a tagTag
ConditionFactory.KeyCondition. asTag(Tagged p)
Get the matched key and the corresponding value.Tag
ConditionFactory.KeyRegexpCondition. asTag(Tagged p)
Get the matched key and the corresponding value.Tag
ConditionFactory.KeyValueCondition. asTag(Tagged primitive)
Tag
ConditionFactory.SimpleKeyValueCondition. asTag(Tagged primitive)
-
Uses of Tag in org.openstreetmap.josm.gui.tagging
Method parameters in org.openstreetmap.josm.gui.tagging with type arguments of type Tag Modifier and Type Method Description void
TagEditorModel. updateTags(List<Tag> tags)
Load tags from given list -
Uses of Tag in org.openstreetmap.josm.gui.tagging.presets
Fields in org.openstreetmap.josm.gui.tagging.presets with type parameters of type Tag Modifier and Type Field Description private Supplier<Collection<Tag>>
TaggingPresetItemGuiSupport. changedTagsSupplier
Methods in org.openstreetmap.josm.gui.tagging.presets that return types with arguments of type Tag Modifier and Type Method Description List<Tag>
TaggingPreset. getChangedTags()
Gets a list of tags that are set by this preset.Method parameters in org.openstreetmap.josm.gui.tagging.presets with type arguments of type Tag Modifier and Type Method Description protected abstract void
TaggingPresetItem. addCommands(List<Tag> changedTags)
Adds the new tags to apply to selected OSM primitives when the preset holding this item is applied.static OsmPrimitive
TaggingPresetValidation. applyChangedTags(OsmPrimitive original, List<Tag> changedTags)
static TaggingPresetItemGuiSupport
TaggingPresetItemGuiSupport. create(boolean presetInitiallyMatches, Collection<OsmPrimitive> selected, Supplier<Collection<Tag>> changedTagsSupplier)
Creates a newTaggingPresetItemGuiSupport
static Command
TaggingPreset. createCommand(Collection<OsmPrimitive> sel, List<Tag> changedTags)
Create a command to change the given list of tags.void
TaggingPresetHandler. updateTags(List<Tag> tags)
Update the given tags on the selection.static void
TaggingPresetValidation. validateAsync(OsmPrimitive original, JLabel validationLabel, List<Tag> changedTags)
Asynchronously validates the user input for the given primitive.Constructor parameters in org.openstreetmap.josm.gui.tagging.presets with type arguments of type Tag Constructor Description TaggingPresetItemGuiSupport(boolean presetInitiallyMatches, Collection<OsmPrimitive> selected, Supplier<Collection<Tag>> changedTagsSupplier)
-
Uses of Tag in org.openstreetmap.josm.gui.tagging.presets.items
Methods in org.openstreetmap.josm.gui.tagging.presets.items that return Tag Modifier and Type Method Description Tag
Key. asTag()
Returns theTag
set by this itemMethod parameters in org.openstreetmap.josm.gui.tagging.presets.items with type arguments of type Tag Modifier and Type Method Description void
Check. addCommands(List<Tag> changedTags)
void
CheckGroup. addCommands(List<Tag> changedTags)
void
ComboMultiSelect. addCommands(List<Tag> changedTags)
void
ItemSeparator. addCommands(List<Tag> changedTags)
void
Key. addCommands(List<Tag> changedTags)
void
PresetLink. addCommands(List<Tag> changedTags)
void
Roles. addCommands(List<Tag> changedTags)
void
Space. addCommands(List<Tag> changedTags)
void
Text. addCommands(List<Tag> changedTags)
void
TextItem. addCommands(List<Tag> changedTags)
-