MetaDone
|
Public Member Functions | |
AttributeFont (GrasylaEngine engine) | |
void | fontChanged (Font f) throws BadPreCondition |
Protected Member Functions | |
VariableContext | getFontContext () |
Private Attributes | |
final GrasylaEngine | engine |
A Font attribute.
metadone.client.grasyla2.swing.GrasylaSwingHelper.AttributeFont.AttributeFont | ( | GrasylaEngine | engine | ) |
void metadone.client.grasyla2.swing.GrasylaSwingHelper.AttributeFont.fontChanged | ( | Font | f | ) | throws BadPreCondition [virtual] |
Called when the font has changed.
f | The font or null |
BadPreCondition |
Implements metadone.client.grasyla2.base.AttributeFont.
References metadone.client.grasyla2.swing.GrasylaSwingHelper.AttributeFont.engine, and metadone.client.grasyla2.GrasylaEngine.getComponent().
VariableContext metadone.client.grasyla2.swing.GrasylaSwingHelper.AttributeFont.getFontContext | ( | ) | [protected] |
Gets the variable context where to store the font.
Override this to store the font.
null
Reimplemented from metadone.client.grasyla2.base.AttributeFont.
References metadone.client.grasyla2.swing.GrasylaSwingHelper.AttributeFont.engine, and metadone.client.grasyla2.GrasylaEngine.getContext().