VisualizeUtils

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.visualize
Class VisualizeUtils

    java.lang.Object
      weka.gui.visualize.VisualizeUtils

    public class VisualizeUtils

extends java.lang.Object

This class contains utility routines for visualization

Version:
  $Revision: 1.9 $
Author:
  Mark Hall (mhall@cs.waikato.ac.nz)

Constructor Summary
`VisualizeUtils()`

Method Summary
`static java.awt.Color` | `processColour(java.lang.String colourDef, java.awt.Color defaultColour)` Parses a string containing either a named colour or r,g,b values.

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

Constructor Detail

### VisualizeUtils

    public VisualizeUtils()

Method Detail

### processColour

    public static java.awt.Color processColour(java.lang.String colourDef,
                                               java.awt.Color defaultColour)

  Parses a string containing either a named colour or r,g,b values.

  Parameters:
    `colourDef` - the string containing the named colour (or r,g,b)
    `defaultColour` - the colour to return if parsing fails
  Returns:
    the Color corresponding to the string.

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