class BeanFactory
extends AbstractFactory
| Modifiers | Name | Description |
|---|---|---|
protected boolean |
leaf |
Whether created nodes are treated as leaves. |
| Constructor and description |
|---|
BeanFactory(Class beanClass)Creates a new base factory that instantiates bean types for SwingBuilder |
BeanFactory(Class beanClass, boolean leaf)Creates a new base factory that instantiates bean types for SwingBuilder |
| Type Params | Return Type | Name and description |
|---|---|---|
|
boolean |
isLeaf()Indicates whether nodes created by this factory accept children. |
|
Object |
newInstance(FactoryBuilderSupport builder, Object name, Object value, Map attributes)Creates the node handled by this factory. |
| Methods inherited from class | Name |
|---|---|
class AbstractFactory |
isHandlesNodeChildren, isLeaf, onFactoryRegistration, onHandleNodeAttributes, onNodeChildren, onNodeCompleted, setChild, setParent |
Bean type instantiated by this factory.
Creates a new base factory that instantiates bean types for SwingBuilder
beanClass - the bean type created by this factoryCreates a new base factory that instantiates bean types for SwingBuilder
beanClass - the bean type created by this factoryleaf - whether created nodes are leaf nodesIndicates whether nodes created by this factory accept children.
Creates the node handled by this factory.
builder - the factory buildername - the node namevalue - the node valueattributes - the node attributesCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.