SunSPOT API V6.0


com.sun.spot.sensorboard.peripheral
Class LEDColor

java.lang.Object
  extended by com.sun.spot.resources.transducers.LEDColor
      extended by com.sun.spot.sensorboard.peripheral.LEDColor

Deprecated. Use LEDColor instead

public class LEDColor
extends LEDColor

Color class to be used by TriColorLED. Overloaded as a container for some static definitions of regularly used colors.

Author:
arshan

Field Summary
static LEDColor BLUE
          Deprecated. standard definition of the color blue
static LEDColor CHARTREUSE
          Deprecated. standard definition of the color chartreuse
static LEDColor CYAN
          Deprecated. standard definition of the color cyan
static LEDColor GREEN
          Deprecated. standard definition of the color green
static LEDColor MAGENTA
          Deprecated. standard definition of the color magenta
static LEDColor MAUVE
          Deprecated. standard definition of the color mauve
static LEDColor ORANGE
          Deprecated. non-standard definition of the color orange (color corrected for LEDs)
static LEDColor PUCE
          Deprecated. standard definition of the color puce
static LEDColor RED
          Deprecated. standard definition of the color red
static LEDColor TURQUOISE
          Deprecated. standard definition of the color turquoise
static LEDColor WHITE
          Deprecated. standard definition of the color white
static LEDColor YELLOW
          Deprecated. non-standard definition of the color yellow (color corrected for LEDs)
 
Constructor Summary
LEDColor(int r, int g, int b)
          Deprecated. Creates a new instance of LEDColor
 
Method Summary
 
Methods inherited from class com.sun.spot.resources.transducers.LEDColor
blue, equals, green, hashCode, red, setBlue, setGreen, setRed, setRGB
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RED

public static final LEDColor RED
Deprecated. 
standard definition of the color red


GREEN

public static final LEDColor GREEN
Deprecated. 
standard definition of the color green


BLUE

public static final LEDColor BLUE
Deprecated. 
standard definition of the color blue


CYAN

public static final LEDColor CYAN
Deprecated. 
standard definition of the color cyan


MAGENTA

public static final LEDColor MAGENTA
Deprecated. 
standard definition of the color magenta


YELLOW

public static final LEDColor YELLOW
Deprecated. 
non-standard definition of the color yellow (color corrected for LEDs)


TURQUOISE

public static final LEDColor TURQUOISE
Deprecated. 
standard definition of the color turquoise


PUCE

public static final LEDColor PUCE
Deprecated. 
standard definition of the color puce


MAUVE

public static final LEDColor MAUVE
Deprecated. 
standard definition of the color mauve


CHARTREUSE

public static final LEDColor CHARTREUSE
Deprecated. 
standard definition of the color chartreuse


ORANGE

public static final LEDColor ORANGE
Deprecated. 
non-standard definition of the color orange (color corrected for LEDs)


WHITE

public static final LEDColor WHITE
Deprecated. 
standard definition of the color white

Constructor Detail

LEDColor

public LEDColor(int r,
                int g,
                int b)
Deprecated. 
Creates a new instance of LEDColor

Parameters:
r - initial values of the red value, range 0-255
g - initial values of the green value, range 0-255
b - initial values of the blue value, range 0-255

SunSPOT API V6.0


Copyright © 2006-2010 Oracle. All Rights Reserved.