MetaDone
metadone.client.grasyla2.swing.GrasylaSwingHelper.AttributeFont Class Reference
Inheritance diagram for metadone.client.grasyla2.swing.GrasylaSwingHelper.AttributeFont:
Collaboration diagram for metadone.client.grasyla2.swing.GrasylaSwingHelper.AttributeFont:

List of all members.

Public Member Functions

 AttributeFont (GrasylaEngine engine)
void fontChanged (Font f) throws BadPreCondition

Protected Member Functions

VariableContext getFontContext ()

Private Attributes

final GrasylaEngine engine

Detailed Description

A Font attribute.

See also:
JComponent.setFont(Font)

Constructor & Destructor Documentation

metadone.client.grasyla2.swing.GrasylaSwingHelper.AttributeFont.AttributeFont ( GrasylaEngine  engine)

Member Function Documentation

void metadone.client.grasyla2.swing.GrasylaSwingHelper.AttributeFont.fontChanged ( Font  f) throws BadPreCondition [virtual]

Called when the font has changed.

Parameters:
fThe font or null
Exceptions:
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.

Returns:
The context or null

Reimplemented from metadone.client.grasyla2.base.AttributeFont.

References metadone.client.grasyla2.swing.GrasylaSwingHelper.AttributeFont.engine, and metadone.client.grasyla2.GrasylaEngine.getContext().


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations