public abstract class TextItem extends TaggingPresetItem
| Modifier and Type | Field and Description |
|---|---|
String |
locale_text
The localized version of
text |
String |
text
The text to display
|
String |
text_context
The context used for translating
text |
| Constructor and Description |
|---|
TextItem() |
| 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.
|
protected String |
fieldsToString() |
protected void |
initializeLocaleText(String defaultText) |
String |
toString() |
addToPanel, fixPresetString, getLocaleText, getType, initAutoCompletionField, initAutoCompletionField, loadImageIcon, matches, parseIntegerpublic String text_context
textpublic String locale_text
textpublic TextItem()
protected final void initializeLocaleText(String defaultText)
public void addCommands(List<Tag> changedTags)
TaggingPresetItemaddCommands in class TaggingPresetItemchangedTags - The list of changed tags to modify if neededprotected String fieldsToString()