On this page
[Groovy] Class GridBagFactory
- groovy.swing.factory.GridBagFactory
class GridBagFactory
extends LayoutFactory
Fields inherited from class | Fields |
---|---|
class LayoutFactory |
DEFAULT_DELEGATE_PROPERTY_CONSTRAINT, DELEGATE_PROPERTY_CONSTRAINT |
class BeanFactory |
leaf |
Constructor Summary
Constructor and description |
---|
GridBagFactory() |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
void |
addLayoutProperties(Object context) |
|
static Object |
extractAttribute(Map attrs, String name, Class type)
|
|
static void |
processGridBagConstraintsAttributes(FactoryBuilderSupport builder, Object node, Map attributes) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class LayoutFactory |
addLayoutProperties, addLayoutProperties, constraintsAttributeDelegate, getLayoutTarget, newInstance, setParent |
class BeanFactory |
isLeaf, newInstance |
Constructor Detail
GridBagFactory()
Method Detail
void addLayoutProperties(Object context)
static Object extractAttribute(Map attrs, String name, Class type)
- Returns:
- null if not found. null as a 'not found' works because all attrs except insets are primitive types, and insets will crash if set to null
static void processGridBagConstraintsAttributes(FactoryBuilderSupport builder, Object node, Map attributes)
© 2003-2022 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/4.0.0/html/gapi/groovy/swing/factory/GridBagFactory.html