All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home

Class weka.gui.AttributeListPanel

java.lang.Object
    |
    +----java.awt.Component
            |
            +----java.awt.Container
                    |
                    +----javax.swing.JComponent
                            |
                            +----javax.swing.JPanel
                                    |
                                    +----weka.gui.AttributeListPanel

public class AttributeListPanel
extends javax.swing.JPanel
Creates a panel that displays the attributes contained in a set of instances, letting the user select a single attribute for inspection.

Version:
$Revision: 1.1 $
Author:
Richard Kirkby (rkirkby@cs.waikato.ac.nz)
Author:
Len Trigg (trigg@cs.waikato.ac.nz)

Constructor Index

 o AttributeListPanel()
Creates the attribute selection panel with no initial instances.

Method Index

 o getSelectionModel()
Gets the selection model used by the table.
 o main(String[])
Tests the attribute list panel from the command line.
 o setInstances(Instances)
Sets the instances who's attribute names will be displayed.

Constructor Detail

 o AttributeListPanel
public AttributeListPanel()
          Creates the attribute selection panel with no initial instances.

Method Detail

 o setInstances
public void setInstances(Instances newInstances)
          Sets the instances who's attribute names will be displayed.
Parameters:
newInstances - the new set of instances
 o getSelectionModel
public javax.swing.ListSelectionModel getSelectionModel()
          Gets the selection model used by the table.
Returns:
a value of type 'ListSelectionModel'
 o main
public static void main(java.lang.String args[])
          Tests the attribute list panel from the command line.
Parameters:
args - must contain the name of an arff file to load.

All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home