MetaDone
|
Public Member Functions | |
AttributeColor (String name, Color def) | |
void | valueChanged (Component<?extends Color > comp) throws BadPreCondition |
abstract void | colorChanged (Color c) throws BadPreCondition |
Protected Attributes | |
final Color | def |
An attribute handler for Color.
metadone.client.grasyla2.base.AttributeColor.AttributeColor | ( | String | name, |
Color | def | ||
) |
Initializes this handler.
name | The name |
def | The default color or null |
References metadone.client.grasyla2.base.AttributeColor.def.
abstract void metadone.client.grasyla2.base.AttributeColor.colorChanged | ( | Color | c | ) | throws BadPreCondition [pure virtual] |
Called when the color has changed.
c | The new color |
BadPreCondition |
Implemented in metadone.client.grasyla2.swing.GrasylaSwingHelper.AttributeBackground, metadone.client.grasyla2.swing.GrasylaSwingHelper.AttributeFontColor, metadone.client.grasyla2.visuallibrary.AttributeBackground, and metadone.client.grasyla2.visuallibrary.AttributeFontColor.
Referenced by metadone.client.grasyla2.base.AttributeColor.valueChanged().
void metadone.client.grasyla2.base.AttributeColor.valueChanged | ( | Component<?extends Color > | comp | ) | throws BadPreCondition |
final Color metadone.client.grasyla2.base.AttributeColor.def [protected] |
The default color
Referenced by metadone.client.grasyla2.base.AttributeColor.AttributeColor(), and metadone.client.grasyla2.base.AttributeColor.valueChanged().