MetaDone
|
Public Member Functions | |
VLShapeEngine (GrasylaContext context, ConcreteObject expression, Engine parent) throws BadPreCondition | |
Static Public Member Functions | |
static Set< String > | getSupportedShapes () |
Protected Member Functions | |
Component<?extends Widget > | evaluateComponent (BootstrapGrasyla grasyla) throws BadPreCondition |
void | notifyChildChanged (Engine child, ChildComponent comp) |
void | disposeInternal () |
void | building_hook (boolean go) |
Static Protected Member Functions | |
static AbstractWidgetShape | getShapeByName (GrasylaScene scene, String name) |
Private Member Functions | |
void | registerAttributeHandlers (String name) |
Private Attributes | |
final AbstractWidgetShape | shape |
Builds a shaped widget.
The shape is chosen with the name of the component expression. It is resolved using getShapeByName(GrasylaScene, String).
The contents are evaluated as Widget and stacked into the created shape.
metadone.client.grasyla2.visuallibrary.VLShapeEngine.VLShapeEngine | ( | 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.visuallibrary.widgets.layouts.StackingLayout.StackingStrategy.deriveRatio(), metadone.metabusiness.syntax.grasyla.BootstrapGrasyla.getBootsMO_Component(), metadone.metabusiness.syntax.grasyla.BootstrapGrasyla.getBootsMP_Name(), metadone.client.grasyla2.visuallibrary.widgets.backgrounds.AbstractWidgetShape.getParentStrategy(), metadone.client.grasyla2.visuallibrary.GraphEngine.getScene(), metadone.client.grasyla2.visuallibrary.VLShapeEngine.getShapeByName(), metadone.client.grasyla2.visuallibrary.widgets.backgrounds.AbstractWidgetShape.setParentStrategy(), and metadone.client.grasyla2.visuallibrary.VLShapeEngine.shape.
void metadone.client.grasyla2.visuallibrary.VLShapeEngine.building_hook | ( | boolean | go | ) | [protected] |
void metadone.client.grasyla2.visuallibrary.VLShapeEngine.disposeInternal | ( | ) | [protected] |
Component<? extends Widget> metadone.client.grasyla2.visuallibrary.VLShapeEngine.evaluateComponent | ( | BootstrapGrasyla | grasyla | ) | throws BadPreCondition [protected] |
static AbstractWidgetShape metadone.client.grasyla2.visuallibrary.VLShapeEngine.getShapeByName | ( | GrasylaScene | scene, |
String | name | ||
) | [static, protected] |
Gets a shape by name.
scene | The scene |
name | The name of the shape |
GrasylaEngineFactory.SkipBuilding | when a shape has not been found |
References metadone.client.grasyla2.GrasylaEngineFactory.SKIP.
Referenced by metadone.client.grasyla2.visuallibrary.VLShapeEngine.VLShapeEngine().
static Set<String> metadone.client.grasyla2.visuallibrary.VLShapeEngine.getSupportedShapes | ( | ) | [static] |
Gets the set of supported shapes.
Referenced by metadone.client.grasyla2.DefaultGrasylaFactoryConfig.initializeComponents().
void metadone.client.grasyla2.visuallibrary.VLShapeEngine.notifyChildChanged | ( | Engine | child, |
ChildComponent | comp | ||
) | [protected] |
void metadone.client.grasyla2.visuallibrary.VLShapeEngine.registerAttributeHandlers | ( | String | name | ) | [private] |