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

Class weka.gui.treevisualizer.NamedColor

java.lang.Object
   |
   +----weka.gui.treevisualizer.NamedColor

public class NamedColor
extends Object
This class contains a color name and the rgb values of that color

Author:
Malcolm Ware (mfw4@cs.waikato.ac.nz)

Variable Index

 o m_col
The actual color object
 o m_name
The name of the color

Constructor Index

 o NamedColor(String, int, int, int)

Variables

 o m_name
 public String m_name
The name of the color

 o m_col
 public Color m_col
The actual color object

Constructors

 o NamedColor
 public NamedColor(String n,
                   int r,
                   int g,
                   int b)
Parameters:
n - The name of the color.
r - The red component of the color.
g - The green component of the color.
b - The blue component of the color.

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