org.infoglue.cms.util.graphics
Class ColorHelper
java.lang.Object
|
+--org.infoglue.cms.util.graphics.ColorHelper
- public class ColorHelper
- extends java.lang.Object
This class is an attempt to give template-coders access to the Color-class in some ways.
Basically used to enable good control in the templates.
|
Method Summary |
java.awt.Color |
getColor(int r,
int g,
int b)
Used to get a color-object |
java.awt.Color |
getHexColor(java.lang.String hexadecimalValue)
Used to create a new color-object by hex-values. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColorHelper
public ColorHelper()
getColor
public java.awt.Color getColor(int r,
int g,
int b)
- Used to get a color-object
getHexColor
public java.awt.Color getHexColor(java.lang.String hexadecimalValue)
- Used to create a new color-object by hex-values.