public static class TaggingPresetItems.Label extends TaggingPresetItems.TaggingPresetTextItem
locale_text, text, text_context
Constructor and Description |
---|
Label() |
Modifier and Type | Method and Description |
---|---|
boolean |
addToPanel(JPanel p,
Collection<OsmPrimitive> sel)
Called by
TaggingPreset.createPanel(java.util.Collection<org.openstreetmap.josm.data.osm.OsmPrimitive>) during tagging preset panel creation. |
addCommands, fieldsToString, initializeLocaleText, toString
initAutoCompletionField, matches, requestFocusInWindow
public Label()
public boolean addToPanel(JPanel p, Collection<OsmPrimitive> sel)
TaggingPresetItem
TaggingPreset.createPanel(java.util.Collection<org.openstreetmap.josm.data.osm.OsmPrimitive>)
during tagging preset panel creation.
All components defining this tagging preset item must be added to given panel.addToPanel
in class TaggingPresetItem
p
- The panel where components must be addedsel
- The related selected OSM primitivestrue
if this item adds semantic tagging elements, false
otherwise.