public static class TaggingPresetItems.Link extends TaggingPresetItems.TaggingPresetTextItem
| Modifier and Type | Field and Description |
|---|---|
String |
href
The link to display
|
String |
locale_href
The localized version of
href |
locale_text, text, text_context| Constructor and Description |
|---|
Link() |
| 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. |
protected String |
fieldsToString() |
addCommands, initializeLocaleText, toStringinitAutoCompletionField, matches, requestFocusInWindowpublic String locale_href
hrefpublic Link()
public boolean addToPanel(JPanel p, Collection<OsmPrimitive> sel)
TaggingPresetItemTaggingPreset.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 TaggingPresetItemp - The panel where components must be addedsel - The related selected OSM primitivestrue if this item adds semantic tagging elements, false otherwise.protected String fieldsToString()
fieldsToString in class TaggingPresetItems.TaggingPresetTextItem