|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.chart.client.draw.Color
com.sencha.gxt.chart.client.draw.Hue
com.sencha.gxt.chart.client.draw.HSV
public class HSV
Represents an HSV color.
| Field Summary |
|---|
| Fields inherited from class com.sencha.gxt.chart.client.draw.Color |
|---|
NONE |
| Constructor Summary | |
|---|---|
HSV()
Creates an instance of HSV with default values. |
|
HSV(int hue,
int saturation,
int value)
Creates an instance of HSV with the given hue, saturation and value |
|
HSV(RGB rgb)
Creates an instance of HSV with the given RGB color. |
|
| Method Summary | |
|---|---|
String |
getColor()
Returns the literal string of the color. |
double |
getValue()
Returns the value. |
void |
setValue(double value)
Sets the value. |
String |
toString()
Return the color in String format. |
| Methods inherited from class com.sencha.gxt.chart.client.draw.Hue |
|---|
getHue, getSaturation, setHue, setSaturation |
| Methods inherited from class com.sencha.gxt.chart.client.draw.Color |
|---|
setColor |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HSV()
public HSV(int hue,
int saturation,
int value)
hue - the hue valuesaturation - the saturation valuevalue - the value valuepublic HSV(RGB rgb)
rgb - the RGB color| Method Detail |
|---|
public String getColor()
Color
getColor in class Colorpublic double getValue()
public void setValue(double value)
value - the valuepublic String toString()
Color
toString in class Color
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||