All Packages Class Hierarchy This Package Previous Next Index WEKA's home
Class weka.gui.SelectedTagEditor
java.lang.Object
|
+----java.beans.PropertyEditorSupport
|
+----weka.gui.SelectedTagEditor
- public class SelectedTagEditor
- extends java.beans.PropertyEditorSupport
A PropertyEditor that uses tags, where the tags are obtained from a
weka.core.SelectedTag object.
- Version:
- $Revision: 1.5 $
- Author:
- Len Trigg (trigg@cs.waikato.ac.nz)
SelectedTagEditor()
-
getAsText()
- Gets the current value as text.
getJavaInitializationString()
- Returns a description of the property value as java source.
getTags()
- Gets the list of tags that can be selected from.
main(String[])
- Tests out the selectedtag editor from the command line.
setAsText(String)
- Sets the current property value as text.
SelectedTagEditor
public SelectedTagEditor()
getJavaInitializationString
public java.lang.String getJavaInitializationString()
Returns a description of the property value as java source.
- Returns:
- a value of type 'String'
- Overrides:
- getJavaInitializationString in class java.beans.PropertyEditorSupport
getAsText
public java.lang.String getAsText()
Gets the current value as text.
- Returns:
- a value of type 'String'
- Overrides:
- getAsText in class java.beans.PropertyEditorSupport
setAsText
public void setAsText(java.lang.String text) throws java.lang.IllegalArgumentException
Sets the current property value as text.
- Parameters:
text
- the text of the selected tag.
- Throws:
- java.lang.IllegalArgumentException - if an error occurs
- Overrides:
- setAsText in class java.beans.PropertyEditorSupport
getTags
public java.lang.String[] getTags()
Gets the list of tags that can be selected from.
- Returns:
- an array of string tags.
- Overrides:
- getTags in class java.beans.PropertyEditorSupport
main
public static void main(java.lang.String args[])
Tests out the selectedtag editor from the command line.
- Parameters:
args
- ignored
All Packages Class Hierarchy This Package Previous Next Index WEKA's home