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, parseInteger
public String text_context
text
public String locale_text
text
public TextItem()
protected final void initializeLocaleText(String defaultText)
public void addCommands(List<Tag> changedTags)
TaggingPresetItem
addCommands
in class TaggingPresetItem
changedTags
- The list of changed tags to modify if neededprotected String fieldsToString()