agentland.device
Class AlphaLEDColors

java.lang.Object
  |
  +--agentland.device.AlphaLEDColors

public class AlphaLEDColors
extends Object

Colors that are used with the LED display


Field Summary
static int AMBER
           
static int AUTO
           
static byte[] bColorCodes
           
static int BROWN
           
static int DIMGREEN
           
static int DIMRED
           
static int GREEN
           
static int MIX
           
static int ORANGE
           
static int RAINBOW1
           
static int RAINBOW2
           
static int RED
           
static String[] sColorNames
           
static int YELLOW
           
 
Constructor Summary
AlphaLEDColors()
           
 
Method Summary
static byte getColor(int iColor)
           
static byte getColor(String sColor)
           
static String getColorName(byte[] bColor)
           
static String randomColor()
          Returns the String name of a random color
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AUTO

public static final int AUTO

RED

public static final int RED

GREEN

public static final int GREEN

AMBER

public static final int AMBER

DIMRED

public static final int DIMRED

DIMGREEN

public static final int DIMGREEN

BROWN

public static final int BROWN

ORANGE

public static final int ORANGE

YELLOW

public static final int YELLOW

RAINBOW1

public static final int RAINBOW1

RAINBOW2

public static final int RAINBOW2

MIX

public static final int MIX

sColorNames

public static final String[] sColorNames

bColorCodes

public static final byte[] bColorCodes
Constructor Detail

AlphaLEDColors

public AlphaLEDColors()
Method Detail

getColor

public static byte getColor(int iColor)

getColor

public static byte getColor(String sColor)

getColorName

public static String getColorName(byte[] bColor)

randomColor

public static String randomColor()
Returns the String name of a random color
Returns:
a String value