[Groovy] Class LayoutFactory
- groovy.swing.factory.LayoutFactory
Field Summary
Modifiers | Name | Description |
---|---|---|
static String | DEFAULT_DELEGATE_PROPERTY_CONSTRAINT | |
static String | DELEGATE_PROPERTY_CONSTRAINT |
Fields inherited from class | Fields |
---|---|
class BeanFactory | leaf |
Properties Summary
Type | Name and description |
---|---|
def |
contextProps |
Constructor Summary
Constructor and description |
---|
LayoutFactory
(Class klass) |
LayoutFactory
(Class klass, boolean leaf) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
void |
addLayoutProperties(def context, Class layoutClass) | |
void |
addLayoutProperties(def context) | |
static def |
constraintsAttributeDelegate(def builder, def node, def attributes) | |
static Container |
getLayoutTarget(Container parent) | |
Object |
newInstance(FactoryBuilderSupport builder, Object name, Object value, Map attributes) | |
void |
setParent(FactoryBuilderSupport builder, Object parent, Object child) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class BeanFactory | isLeaf, newInstance |
class AbstractFactory | setParent, isLeaf, onFactoryRegistration, isHandlesNodeChildren, onHandleNodeAttributes, setChild, onNodeChildren, onNodeCompleted, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, newInstance |
Field Detail
public static final String DEFAULT_DELEGATE_PROPERTY_CONSTRAINT
public static final String DELEGATE_PROPERTY_CONSTRAINT
Property Detail
def contextProps
Constructor Detail
LayoutFactory(Class klass)
LayoutFactory(Class klass, boolean leaf)
Method Detail
void addLayoutProperties(def context, Class layoutClass)
void addLayoutProperties(def context)
static def constraintsAttributeDelegate(def builder, def node, def attributes)
static Container getLayoutTarget(Container parent)
Object newInstance(FactoryBuilderSupport builder, Object name, Object value, Map attributes)
void setParent(FactoryBuilderSupport builder, Object parent, Object child)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/groovy/swing/factory/LayoutFactory.html