|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.beans.PropertyEditorSupport | +--weka.gui.SelectedTagEditor
A PropertyEditor that uses tags, where the tags are obtained from a weka.core.SelectedTag object.
Constructor Summary | |
SelectedTagEditor()
|
Method Summary | |
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. |
Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getValue, isPaintable, paintValue, removePropertyChangeListener, setValue, supportsCustomEditor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SelectedTagEditor()
Method Detail |
public String getJavaInitializationString()
getJavaInitializationString
in interface PropertyEditor
getJavaInitializationString
in class PropertyEditorSupport
public String getAsText()
getAsText
in interface PropertyEditor
getAsText
in class PropertyEditorSupport
public void setAsText(String text) throws IllegalArgumentException
setAsText
in interface PropertyEditor
setAsText
in class PropertyEditorSupport
text
- the text of the selected tag.
IllegalArgumentException
- if an error occurspublic String[] getTags()
getTags
in interface PropertyEditor
getTags
in class PropertyEditorSupport
public static void main(String[] args)
args
- ignored
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |