Class Color
java.lang.Object
com.vaadin.featurepack.desktop.graphics.Color
- All Implemented Interfaces:
Serializable
Color class to hold RGB values
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
white
-
red
-
green
-
blue
-
black
-
-
Constructor Details
-
Color
public Color(int red, int green, int blue, int alpha) -
Color
public Color(int red, int green, int blue)
-
-
Method Details
-
getRed
public int getRed() -
setRed
public void setRed(int red) -
getGreen
public int getGreen() -
setGreen
public void setGreen(int green) -
getBlue
public int getBlue() -
setBlue
public void setBlue(int blue) -
getAlpha
public int getAlpha() -
setAlpha
public void setAlpha(int alpha) -
decode
- Throws:
NumberFormatException
-
toHexString
-