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)
-
LegendPanel()
- Constructor
-
addRepaintNotify(Component)
- Adds a component that will need to be repainted if the user
changes the colour of a label.
-
main(String[])
- Main method for testing this class
-
setPlotList(FastVector)
- Set the list of plots to generate legend entries for
LegendPanel
public LegendPanel()
- Constructor
setPlotList
public void setPlotList(FastVector pl)
- Set the list of plots to generate legend entries for
- Parameters:
- pl - a list of plots
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
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