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