public abstract static class TaggingPresetItems.KeyedItem extends TaggingPresetItem
| Modifier and Type | Field and Description |
|---|---|
String |
key |
String |
match |
String |
text |
String |
text_context |
| Constructor and Description |
|---|
KeyedItem() |
| Modifier and Type | Method and Description |
|---|---|
abstract TaggingPresetItems.MatchType |
getDefaultMatch() |
abstract Collection<String> |
getValues() |
(package private) Boolean |
matches(Map<String,String> tags)
Tests whether the tags match this item.
|
String |
toString() |
addCommands, addToPanel, initAutoCompletionField, requestFocusInWindowpublic String text_context
public KeyedItem()
public abstract TaggingPresetItems.MatchType getDefaultMatch()
public abstract Collection<String> getValues()
Boolean matches(Map<String,String> tags)
TaggingPresetItemmatches in class TaggingPresetItemtags - the tags of an OsmPrimitivetrue if matches (positive), null if neutral, false if mismatches (negative).