|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.capabilities.ledStrip.SegmentColor
public class SegmentColor
An enumeration holds the possible LED strip segment colors.
| Field Summary | |
|---|---|
static SegmentColor |
BLUE
Blue color. |
static SegmentColor |
CYAN
Cyan color. |
static SegmentColor |
GREEN
Green color. |
static SegmentColor |
MAGENTA
Magenta color. |
static SegmentColor |
OFF
A value represents the switched-off color. |
static SegmentColor |
RED
Red color. |
static SegmentColor |
WHITE
White color. |
static SegmentColor |
YELLOW
Yellow color (the green component is intentionally 140 instead of 255 for a more "yellowish" color). |
| Constructor Summary | |
|---|---|
SegmentColor(int red,
int green,
int blue)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
int |
getBlue()
Returns the blue color component. |
int |
getGreen()
Returns the green color component. |
int |
getRed()
Returns the red color component. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final SegmentColor OFF
public static final SegmentColor RED
public static final SegmentColor GREEN
public static final SegmentColor BLUE
public static final SegmentColor YELLOW
public static final SegmentColor CYAN
public static final SegmentColor MAGENTA
public static final SegmentColor WHITE
| Constructor Detail |
|---|
public SegmentColor(int red,
int green,
int blue)
red - The red component.green - The green component.blue - The blue component.| Method Detail |
|---|
public int getRed()
public int getGreen()
public int getBlue()
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||