public class SelectedTagEditor
extends java.beans.PropertyEditorSupport
Constructor and Description |
---|
SelectedTagEditor() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAsText()
Gets the current value as text.
|
java.lang.String |
getJavaInitializationString()
Returns a description of the property value as java source.
|
java.lang.String[] |
getTags()
Gets the list of tags that can be selected from.
|
static void |
main(java.lang.String[] args)
Tests out the selectedtag editor from the command line.
|
void |
setAsText(java.lang.String text)
Sets the current property value as text.
|
public java.lang.String getJavaInitializationString()
getJavaInitializationString
in interface java.beans.PropertyEditor
getJavaInitializationString
in class java.beans.PropertyEditorSupport
public java.lang.String getAsText()
getAsText
in interface java.beans.PropertyEditor
getAsText
in class java.beans.PropertyEditorSupport
public void setAsText(java.lang.String text)
setAsText
in interface java.beans.PropertyEditor
setAsText
in class java.beans.PropertyEditorSupport
text
- the text of the selected tag.java.lang.IllegalArgumentException
- if an error occurspublic java.lang.String[] getTags()
getTags
in interface java.beans.PropertyEditor
getTags
in class java.beans.PropertyEditorSupport
public static void main(java.lang.String[] args)
args
- ignored