Groovy Documentation

griffon.lanterna.factory
[Groovy] Class LayoutFactory

java.lang.Object
  groovy.util.AbstractFactory
      griffon.lanterna.factory.BeanFactory
          griffon.lanterna.factory.LayoutFactory

class LayoutFactory
extends BeanFactory

Authors:
Andres Almiray


Field Summary
private Map contextProps

 
Fields inherited from class BeanFactory
leaf
 
Property Summary
static String DEFAULT_DELEGATE_PROPERTY_CONSTRAINT

static String DELEGATE_PROPERTY_CONSTRAINT

 
Constructor Summary
LayoutFactory(Class klass)

 
Method Summary
protected void addLayoutProperties(Map context, Class layoutClass)

protected void addLayoutProperties(Map context)

static def constraintsAttributeDelegate(def builder, def node, def attributes)

Object newInstance(FactoryBuilderSupport builder, Object name, Object value, Map attributes)

void setParent(FactoryBuilderSupport builder, Object parent, Object child)

 
Methods inherited from class BeanFactory
isLeaf, newInstance
 
Methods inherited from class AbstractFactory
setParent, isLeaf, isHandlesNodeChildren, onFactoryRegistration, onHandleNodeAttributes, onNodeChildren, onNodeCompleted, setChild, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, newInstance
 

Field Detail

contextProps

private Map contextProps


 
Property Detail

DEFAULT_DELEGATE_PROPERTY_CONSTRAINT

static final String DEFAULT_DELEGATE_PROPERTY_CONSTRAINT


DELEGATE_PROPERTY_CONSTRAINT

static final String DELEGATE_PROPERTY_CONSTRAINT


 
Constructor Detail

LayoutFactory

LayoutFactory(Class klass)


 
Method Detail

addLayoutProperties

protected void addLayoutProperties(Map context, Class layoutClass)


addLayoutProperties

protected void addLayoutProperties(Map context)


constraintsAttributeDelegate

static def constraintsAttributeDelegate(def builder, def node, def attributes)


newInstance

Object newInstance(FactoryBuilderSupport builder, Object name, Object value, Map attributes)


setParent

void setParent(FactoryBuilderSupport builder, Object parent, Object child)


 

Groovy Documentation