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 PropertyEditorSupport
A PropertyEditor that uses tags, where the tags are obtained from a
weka.core.SelectedTag object.
- Version:
- $Revision: 1.3 $
- 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 String getJavaInitializationString()
- Returns a description of the property value as java source.
- Returns:
- a value of type 'String'
- Overrides:
- getJavaInitializationString in class PropertyEditorSupport
getAsText
public String getAsText()
- Gets the current value as text.
- Returns:
- a value of type 'String'
- Overrides:
- getAsText in class PropertyEditorSupport
setAsText
public void setAsText(String text) throws IllegalArgumentException
- Sets the current property value as text.
- Parameters:
- text - the text of the selected tag.
- Throws: IllegalArgumentException
- if an error occurs
- Overrides:
- setAsText in class PropertyEditorSupport
getTags
public String[] getTags()
- Gets the list of tags that can be selected from.
- Returns:
- an array of string tags.
- Overrides:
- getTags in class PropertyEditorSupport
main
public static void main(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