Package io.keikai.model.impl
Class ColorImpl
- java.lang.Object
-
- io.keikai.model.impl.AbstractColorAdv
-
- io.keikai.model.impl.ColorImpl
-
- All Implemented Interfaces:
SColor,java.io.Serializable
public class ColorImpl extends AbstractColorAdv
- Since:
- 3.5.0
- Author:
- dennis
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static AbstractColorAdvBLACKstatic AbstractColorAdvBLUEstatic AbstractColorAdvGREENstatic AbstractColorAdvREDstatic AbstractColorAdvWHITE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)byte[]getARGB()Returns byte array in Alpha, Red, Green, Blue orderjava.lang.StringgetHtmlColor()Gets the color html string expression, for example "#FF6622"byte[]getRGB()Gets the color types array, order by Red,Green,BlueinthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
WHITE
public static final AbstractColorAdv WHITE
-
BLACK
public static final AbstractColorAdv BLACK
-
RED
public static final AbstractColorAdv RED
-
GREEN
public static final AbstractColorAdv GREEN
-
BLUE
public static final AbstractColorAdv BLUE
-
-
Method Detail
-
getHtmlColor
public java.lang.String getHtmlColor()
Description copied from interface:SColorGets the color html string expression, for example "#FF6622"- Returns:
-
getRGB
public byte[] getRGB()
Description copied from interface:SColorGets the color types array, order by Red,Green,Blue- Returns:
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getARGB
public byte[] getARGB()
Description copied from class:AbstractColorAdvReturns byte array in Alpha, Red, Green, Blue order- Specified by:
getARGBin classAbstractColorAdv- Returns:
-
-