Class 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)  
    • Constructor Detail

      • Color

        public Color​(int red,
                     int green,
                     int blue)
    • 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 class java.lang.Object