Groovy Documentation

org.grails.plugin.vaadin.gsp
[Groovy] Class GspEvaluator.GspLayoutNode

java.lang.Object
  org.grails.plugin.vaadin.gsp.GspComponentNode
      org.grails.plugin.vaadin.gsp.GspEvaluator.GspLayoutNode

protected class GspEvaluator.GspLayoutNode
extends GspComponentNode

A special GspComponentNode that keeps a collection of any Vaadin Components that are added to it, and returns an HTML snippet of the form <div location='component_0' /> to the child component, which should then add this snippet to the page's body text.

When the page's body text has been fully rendered, the collection of Vaadin Components can then be added to the GspLayout's location slots.

Authors:
Francis McKenzie


Field Summary
protected CustomLayout layout

 
Fields inherited from class GspComponentNode
isBodyEvaluated
 
Property Summary
Map components

 
Constructor Summary
GspEvaluator.GspLayoutNode(CustomLayout layout, Closure body)

 
Method Summary
CharSequence attachComponent(Component component, Map params = null)

 
Methods inherited from class GspComponentNode
attachComponent, attachConfig, evaluateBody, getBodyText
 

Field Detail

layout

protected CustomLayout layout


 
Property Detail

components

Map components


 
Constructor Detail

GspEvaluator.GspLayoutNode

GspEvaluator.GspLayoutNode(CustomLayout layout, Closure body)


 
Method Detail

attachComponent

@Override
CharSequence attachComponent(Component component, Map params = null)


 

Groovy Documentation