public final class ColorValue extends Cacheable implements IColorConstant, java.io.Serializable
| Constructor and Description |
|---|
ColorValue(int red,
int green,
int blue)
Creates a new ColorValue object
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
getBlue()
Gets the blue component
|
ColorValue |
getDefaultValue()
Gets the default value of the color
|
int |
getGreen()
Gets the green component
|
int |
getRed()
Gets the red component
|
int |
hashCode() |
java.lang.String |
toString() |
addCacheableListener, fireOnRelease, removeCacheableListenerclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddCacheableListener, removeCacheableListenerpublic ColorValue(int red,
int green,
int blue)
red - The red componentgreen - The green componentblue - The blue componentpublic int getRed()
public int getGreen()
public int getBlue()
public ColorValue getDefaultValue()
IColorConstantgetDefaultValue in interface IColorConstantpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectSiehe auch Jowidgets Nutzerhandbuch