class ComponentFactory
extends BeanFactory
Factory for creating Swing components and adding child components.
| Fields inherited from class | Fields |
|---|---|
class BeanFactory |
leaf |
| Properties inherited from class | Properties |
|---|---|
class BeanFactory |
beanClass |
| Constructor and description |
|---|
ComponentFactory(Class beanClass)Creates a new factory for creating Swing components and adding child components |
ComponentFactory(Class beanClass, boolean leaf)Creates a new factory for creating Swing components and adding child components |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
setChild(FactoryBuilderSupport builder, Object parent, Object child)Attaches a child node to its parent. |
| Methods inherited from class | Name |
|---|---|
class BeanFactory |
isLeaf, newInstance |
class AbstractFactory |
isHandlesNodeChildren, isLeaf, onFactoryRegistration, onHandleNodeAttributes, onNodeChildren, onNodeCompleted, setChild, setParent |
Creates a new factory for creating Swing components and adding child components
beanClass - the bean type created by this factoryCreates a new factory for creating Swing components and adding child components
beanClass - the bean type created by this factoryleaf - whether created nodes are leaf nodesAttaches a child node to its parent.
builder - the factory builderparent - the parent nodechild - the child nodeCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.