Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.jimi.core.util.x11
Class XColorNames

    java.lang.Object
      |
      +--com.sun.jimi.core.util.x11.XColorNames

public class XColorNames
extends java.lang.Object

Simple class to convert from X11 symbolic color names to RGB value. Note: Not even close to support all X11 color names.

Field Summary
`static int` | `NOT_FOUND`

Constructor Summary
`XColorNames()`

Method Summary
`static int` | `getRgb(java.lang.String name)` Get RGB value for symbolic color name

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

Field Detail

### NOT_FOUND

    public static final int NOT_FOUND

Constructor Detail

### XColorNames

    public XColorNames()

Method Detail

### getRgb

    public static int getRgb(java.lang.String name)

  Get RGB value for symbolic color name
  Parameters:
    `colorName` - name of color to look up.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD