Class Color

java.lang.Object
org.pac4j.core.profile.Color
All Implemented Interfaces:
Serializable

public class Color extends Object implements 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:
  • Constructor Details

    • Color

      public Color(int red, int green, int blue)
  • Method Details

    • 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 String toString()
      Overrides:
      toString in class Object