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, removeCacheableListener
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addCacheableListener, removeCacheableListener
public 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()
IColorConstant
getDefaultValue
in interface IColorConstant
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Siehe auch Jowidgets Nutzerhandbuch