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)

Constructor Index

 o SelectedTagEditor()

Method Index

 o getAsText()
Gets the current value as text.
 o getJavaInitializationString()
Returns a description of the property value as java source.
 o getTags()
Gets the list of tags that can be selected from.
 o main(String[])
Tests out the selectedtag editor from the command line.
 o setAsText(String)
Sets the current property value as text.

Constructors

 o SelectedTagEditor
 public SelectedTagEditor()

Methods

 o 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
 o getAsText
 public String getAsText()
Gets the current value as text.

Returns:
a value of type 'String'
Overrides:
getAsText in class PropertyEditorSupport
 o 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
 o 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
 o 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