public class SelectedTagEditor extends PropertyEditorSupport
| Constructor and Description |
|---|
SelectedTagEditor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAsText()
Gets the current value as text.
|
String |
getJavaInitializationString()
Returns a description of the property value as java source.
|
String[] |
getTags()
Gets the list of tags that can be selected from.
|
static void |
main(String[] args)
Tests out the selectedtag editor from the command line.
|
void |
setAsText(String text)
Sets the current property value as text.
|
addPropertyChangeListener, firePropertyChange, getCustomEditor, getSource, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditorpublic String getJavaInitializationString()
getJavaInitializationString in interface PropertyEditorgetJavaInitializationString in class PropertyEditorSupportpublic String getAsText()
getAsText in interface PropertyEditorgetAsText in class PropertyEditorSupportpublic void setAsText(String text)
setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupporttext - the text of the selected tag.IllegalArgumentException - if an error occurspublic String[] getTags()
getTags in interface PropertyEditorgetTags in class PropertyEditorSupportpublic static void main(String[] args)
args - ignoredCopyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.