KeyedItem.MatchType, KeyedItem.Usage| Modifier and Type | Field and Description |
|---|---|
String |
alternative_autocomplete_keys |
String |
auto_increment |
private static int |
auto_increment_selected |
String |
default_ |
String |
length |
String |
locale_text
The localized version of
KeyedItem.text. |
String |
originalValue |
String |
use_last_as_default |
private JComponent |
value |
DIFFERENT, key, LAST_VALUES, match, PROP_FILL_DEFAULT, text, text_context| Constructor and Description |
|---|
Text() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCommands(List<Tag> changedTags)
Adds the new tags to apply to selected OSM primitives when the preset holding this item is applied.
|
boolean |
addToPanel(JPanel p,
Collection<OsmPrimitive> sel,
boolean presetInitiallyMatches)
Called by
TaggingPreset.createPanel(java.util.Collection<org.openstreetmap.josm.data.osm.OsmPrimitive>) during tagging preset panel creation. |
KeyedItem.MatchType |
getDefaultMatch() |
private static String |
getValue(Component comp) |
Collection<String> |
getValues() |
private static void |
saveHorizontalSpace(AbstractButton button) |
determineBooleanUsage, determineTextUsage, matches, toStringfixPresetString, getLocaleText, getType, initAutoCompletionField, initAutoCompletionField, loadImageIcon, parseIntegerprivate static int auto_increment_selected
public String locale_text
KeyedItem.text.public String originalValue
public String use_last_as_default
public String auto_increment
public String alternative_autocomplete_keys
private JComponent value
public Text()
public boolean addToPanel(JPanel p, Collection<OsmPrimitive> sel, boolean presetInitiallyMatches)
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 primitivespresetInitiallyMatches - Whether this TaggingPreset already matched before applying,
i.e. whether the map feature already existed on the primitive.true if this item adds semantic tagging elements, false otherwise.private static void saveHorizontalSpace(AbstractButton button)
public void addCommands(List<Tag> changedTags)
TaggingPresetItemaddCommands in class TaggingPresetItemchangedTags - The list of changed tags to modify if neededpublic KeyedItem.MatchType getDefaultMatch()
getDefaultMatch in class KeyedItempublic Collection<String> getValues()