Package org.pac4j.core.profile
Class Color
- java.lang.Object
-
- org.pac4j.core.profile.Color
-
- All Implemented Interfaces:
java.io.Serializable
public class Color extends java.lang.Object implements java.io.Serializable
This class is a simple RGB color values holder.
It was introduced in 1.2.0 to replace usage of
Color
which is a restricted class on Google AppEngine.- Since:
- 1.2.0
- Author:
- Peter Knego
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Color(int red, int green, int blue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBlue()
int
getGreen()
int
getRed()
void
setBlue(int blue)
void
setGreen(int green)
void
setRed(int red)
java.lang.String
toString()
-
-
-
Method Detail
-
getRed
public int getRed()
-
getGreen
public int getGreen()
-
getBlue
public int getBlue()
-
setRed
public void setRed(int red)
-
setGreen
public void setGreen(int green)
-
setBlue
public void setBlue(int blue)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-