Overview | Package | Class | Tree | Deprecated | Index | Help | Weka's home
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weka.gui.treevisualizer
Class NamedColor

    java.lang.Object
      weka.gui.treevisualizer.NamedColor

    public class NamedColor

extends java.lang.Object

This class contains a color name and the rgb values of that color

Version:
  $Revision: 1.4 $
Author:
  Malcolm Ware (mfw4@cs.waikato.ac.nz)

Field Summary
`java.awt.Color` | `m_col` The actual color object
`java.lang.String` | `m_name` The name of the color

Constructor Summary
`NamedColor(java.lang.String n, int r, int g, int b)`

Method Summary

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### m_name

    public java.lang.String m_name

  The name of the color

### m_col

    public java.awt.Color m_col

  The actual color object

Constructor Detail

### NamedColor

    public NamedColor(java.lang.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.

Overview | Package | Class | Tree | Deprecated | Index | Help | Weka's home
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD