MetaDone
metadone.client.grasyla2.text.TGroupEngine Class Reference
Inheritance diagram for metadone.client.grasyla2.text.TGroupEngine:
Collaboration diagram for metadone.client.grasyla2.text.TGroupEngine:

List of all members.

Public Member Functions

 TGroupEngine (GrasylaContext context, ConcreteObject expression, Engine parent) throws BadPreCondition

Protected Member Functions

Component<?extends String > evaluateComponent (BootstrapGrasyla grasyla) throws BadPreCondition
void notifyChildChanged (Engine child, ChildComponent comp)

Private Member Functions

void attributeChanged () throws BadPreCondition
void rebuild () throws BadPreCondition
ArrayList< String > buildComponent ()
void addString (ArrayList< String > result, String s, final String LR)

Private Attributes

final boolean indent
String sindent = "\t"
int indent_size = -1
String line_return = null
String auto_space = null

Detailed Description

Creates a text group.

Source

If the expression is a component named "indent", the default `indent_size` is set to 1, otherwise it is 0.

Attributes
  • auto_space: String which acts as a separator
  • indent: String the indentaton characters
  • indent_size: Number the number the `indent` is repeated at the begining of a line
  • line_return: String, the line return string

Contents

Evaluated as String.

Result
Concatenates the values of the content components. Between each two components the `auto_space` is added. Then line returns are replaced by the set line returns with the right indentation.
Author:
kma

Constructor & Destructor Documentation


Member Function Documentation

void metadone.client.grasyla2.text.TGroupEngine.addString ( ArrayList< String >  result,
String  s,
final String  LR 
) [private]
void metadone.client.grasyla2.text.TGroupEngine.attributeChanged ( ) throws BadPreCondition [private]
ArrayList<String> metadone.client.grasyla2.text.TGroupEngine.buildComponent ( ) [private]
Component<? extends String> metadone.client.grasyla2.text.TGroupEngine.evaluateComponent ( BootstrapGrasyla  grasyla) throws BadPreCondition [protected]
void metadone.client.grasyla2.text.TGroupEngine.notifyChildChanged ( Engine  child,
ChildComponent  comp 
) [protected]
void metadone.client.grasyla2.text.TGroupEngine.rebuild ( ) throws BadPreCondition [private]

Member Data Documentation


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