public final class ColorProperty extends Property
Constructor and Description |
---|
ColorProperty(PropertyManager manager,
java.lang.String key,
java.awt.Color defaultvalue)
Creates the Color
|
Modifier and Type | Method and Description |
---|---|
protected void |
clearCache() |
java.awt.Color |
getColor()
Returns the Color in this Property
|
java.awt.Color |
getDefaultColor()
Returns the standard color in this Property
|
void |
setColor(java.awt.Color color)
Sets the Color in this Property
|
addChangeListener, fireChangeEvent, getKey, getProperty, removeChangeListener, setProperty
public ColorProperty(PropertyManager manager, java.lang.String key, java.awt.Color defaultvalue)
manager
- the Manager for this Propertykey
- the Keydefaultvalue
- the Default Colorpublic java.awt.Color getDefaultColor()
public java.awt.Color getColor()
public void setColor(java.awt.Color color)
color
- Colorprotected void clearCache()
clearCache
in class Property
TV-Browser 3.4.1.0, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)