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