class GridBagFactory
extends LayoutFactory
Factory for creating GridBagLayout nodes and collecting matching constraints.
| Fields inherited from class | Fields |
|---|---|
class LayoutFactory |
DEFAULT_DELEGATE_PROPERTY_CONSTRAINT, DELEGATE_PROPERTY_CONSTRAINT |
class BeanFactory |
leaf |
| Properties inherited from class | Properties |
|---|---|
class LayoutFactory |
contextProps |
class BeanFactory |
beanClass |
| Constructor and description |
|---|
GridBagFactory()Creates a factory for GridBagLayout nodes. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
addLayoutProperties(Object context)Copies GridBagConstraints constants into the builder context. |
|
static Object |
extractAttribute(Map attrs, String name, Class type)
|
|
static void |
processGridBagConstraintsAttributes(FactoryBuilderSupport builder, Object node, Map attributes)Collects GridBagConstraints values from child attributes when the current parent uses a GridBagLayout. |
| Methods inherited from class | Name |
|---|---|
class LayoutFactory |
addLayoutProperties, addLayoutProperties, constraintsAttributeDelegate, getLayoutTarget, newInstance, setParent |
class BeanFactory |
isLeaf, newInstance |
class AbstractFactory |
isHandlesNodeChildren, isLeaf, onFactoryRegistration, onHandleNodeAttributes, onNodeChildren, onNodeCompleted, setChild, setParent |
Creates a factory for GridBagLayout nodes.
Copies GridBagConstraints constants into the builder context.
context - the builder context
Collects GridBagConstraints values from child attributes when the current parent uses a GridBagLayout.
builder - the factory buildernode - the current nodeattributes - the node attributesCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.