MetaDone
metadone.client.grasyla2.visuallibrary.VLShapeEngine Class Reference
Inheritance diagram for metadone.client.grasyla2.visuallibrary.VLShapeEngine:
Collaboration diagram for metadone.client.grasyla2.visuallibrary.VLShapeEngine:

List of all members.

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

Detailed Description

Builds a shaped widget.

Source

The shape is chosen with the name of the component expression. It is resolved using getShapeByName(GrasylaScene, String).

Attributes

Contents

The contents are evaluated as Widget and stacked into the created shape.

Result
A W_Shape.
Author:
kma
See also:
W_Shape
getSupportedShapes()

Constructor & Destructor Documentation


Member Function Documentation

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.

Parameters:
sceneThe scene
nameThe name of the shape
Returns:
The shape
Exceptions:
GrasylaEngineFactory.SkipBuildingwhen 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.

Returns:
The set of shapes (unmodifiable)
See also:
getShapeByName(GrasylaScene, String)

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]

Member Data Documentation


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