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)

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.

Constructor Detail

 o SelectedTagEditor
public SelectedTagEditor()

Method Detail

 o 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
 o 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
 o 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
 o 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
 o 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