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

Class weka.gui.visualize.LegendPanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----javax.swing.JComponent
                           |
                           +----javax.swing.JScrollPane
                                   |
                                   +----weka.gui.visualize.LegendPanel

public class LegendPanel
extends JScrollPane
This panel displays legends for a list of plots. If a given plot has a custom colour defined then this panel allows the colour to be changed.

Author:
Mark Hall (mhall@cs.waikato.ac.nz)

Constructor Index

 o LegendPanel()
Constructor

Method Index

 o addRepaintNotify(Component)
Adds a component that will need to be repainted if the user changes the colour of a label.
 o main(String[])
Main method for testing this class
 o setPlotList(FastVector)
Set the list of plots to generate legend entries for

Constructors

 o LegendPanel
 public LegendPanel()
Constructor

Methods

 o setPlotList
 public void setPlotList(FastVector pl)
Set the list of plots to generate legend entries for

Parameters:
pl - a list of plots
 o addRepaintNotify
 public void addRepaintNotify(Component c)
Adds a component that will need to be repainted if the user changes the colour of a label.

Parameters:
c - the component to be repainted
 o main
 public static void main(String args[])
Main method for testing this class

Parameters:
args - a list of arff files

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