public class ColorImpl extends AbstractColorAdv
Modifier and Type | Field and Description |
---|---|
static AbstractColorAdv |
BLACK |
static AbstractColorAdv |
BLUE |
static AbstractColorAdv |
GREEN |
static AbstractColorAdv |
RED |
static AbstractColorAdv |
WHITE |
Constructor and Description |
---|
ColorImpl(byte[] rgb) |
ColorImpl(byte r,
byte g,
byte b) |
ColorImpl(java.lang.String htmlColor) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getHtmlColor()
Gets the color html string expression, for example "#FF6622"
|
byte[] |
getRGB()
Gets the color types array, order by Red,Green,Blue
|
int |
hashCode() |
java.lang.String |
toString() |
public static final AbstractColorAdv WHITE
public static final AbstractColorAdv BLACK
public static final AbstractColorAdv RED
public static final AbstractColorAdv GREEN
public static final AbstractColorAdv BLUE
public ColorImpl(byte[] rgb)
public ColorImpl(byte r, byte g, byte b)
public ColorImpl(java.lang.String htmlColor)
public java.lang.String getHtmlColor()
SColor
public byte[] getRGB()
SColor
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.