MetaDone
|
Public Member Functions | |
JBoxEngine (GrasylaContext context, ConcreteObject expression, Engine parent) throws BadPreCondition | |
Protected Member Functions | |
Component< JComponent > | evaluateComponent (BootstrapGrasyla grasyla) throws BadPreCondition |
void | notifyChildChanged (Engine child, ChildComponent comp) |
Private Member Functions | |
LayoutManager | createLayout (JComponent box, Boolean horizontal) |
Private Attributes | |
Boolean | orientation_horiz |
Builds a box.
If the component name ends with H or V, then a default orientation is set.
The contents are evaluated as JComponent and added into the created box.
A JPanel.
metadone.client.grasyla2.swing.JBoxEngine.JBoxEngine | ( | GrasylaContext | context, |
ConcreteObject | expression, | ||
Engine | parent | ||
) | throws BadPreCondition |
Initializes this engine.
context | The context |
expression | The expression |
parent | The parent or null |
BadPreCondition |
References metadone.client.grasyla2.swing.JBoxEngine.createLayout(), metadone.metabusiness.syntax.grasyla.BootstrapGrasyla.getBootsMO_Component(), metadone.metabusiness.syntax.grasyla.BootstrapGrasyla.getBootsMP_Name(), metadone.client.grasyla2.swing.JBoxEngine.orientation_horiz, and metadone.client.grasyla2.swing.GrasylaSwingHelper.registerAttributeHandlers().
LayoutManager metadone.client.grasyla2.swing.JBoxEngine.createLayout | ( | JComponent | box, |
Boolean | horizontal | ||
) | [private] |
Component<JComponent> metadone.client.grasyla2.swing.JBoxEngine.evaluateComponent | ( | BootstrapGrasyla | grasyla | ) | throws BadPreCondition [protected] |
void metadone.client.grasyla2.swing.JBoxEngine.notifyChildChanged | ( | Engine | child, |
ChildComponent | comp | ||
) | [protected] |
References metadone.util.Objects.cast().
Boolean metadone.client.grasyla2.swing.JBoxEngine.orientation_horiz [private] |