|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ColorSpec
This interface represents the front panel display Color specification.
Field Summary | |
---|---|
static byte |
BLUE
Indicator color blue. |
static byte |
GREEN
Indicator color green. |
static byte |
ORANGE
Indicator color orange. |
static byte |
RED
Indicator color red. |
static byte |
YELLOW
Indicator color yellow. |
Method Summary | |
---|---|
byte |
getColor()
Gets the current color of the indicator. |
byte |
getSupportedColors()
Gets the supported colors. |
void |
setColor(byte color)
Sets the color of this indicator. |
Field Detail |
---|
static final byte BLUE
static final byte GREEN
static final byte RED
static final byte YELLOW
static final byte ORANGE
Method Detail |
---|
byte getColor()
BLUE
, GREEN
,RED
,
YELLOW
, and ORANGE
for possible
values.
byte getSupportedColors()
BLUE
,
GREEN
, RED
, YELLOW
, and ORANGE
for possible values.
void setColor(byte color) throws IllegalArgumentException
color
- Indicator color.
IllegalArgumentException
- if the value of the color parameter
is not in the supported color set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |