org.kalmeo.kuix.util
Class Color

java.lang.Object
  extended by org.kalmeo.kuix.util.Color

public class Color
extends java.lang.Object

Author:
bbeaulant

Field Summary
static Color BLACK
           
static Color BLUE
           
static Color GREEN
           
static Color RED
           
static Color WHITE
           
 
Constructor Summary
Color(int rgb)
          Construct a Color
Color(java.lang.String rgbHex)
          Construct a Color
 
Method Summary
 int getRGB()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RED

public static final Color RED

GREEN

public static final Color GREEN

BLUE

public static final Color BLUE

BLACK

public static final Color BLACK

WHITE

public static final Color WHITE
Constructor Detail

Color

public Color(int rgb)
Construct a Color

Parameters:
rgb -

Color

public Color(java.lang.String rgbHex)
Construct a Color

Parameters:
rgbHex - The RGB value in Hexadecimal format
Method Detail

getRGB

public int getRGB()
Returns:
the rgb


Copyright © 2007-2008 Kalmeo. All Rights Reserved.