[Groovy] Class BeanFactory
- groovy.swing.factory.BeanFactory
class BeanFactory extends AbstractFactory
- Since:
- Groovy 1.1
Field Summary
| Modifiers | Name | Description |
|---|---|---|
protected boolean | leaf |
Properties Summary
| Type | Name and description |
|---|---|
Class |
beanClass |
Constructor Summary
| Constructor and description |
|---|
BeanFactory
(Class beanClass) |
BeanFactory
(Class beanClass, boolean leaf) |
Methods Summary
| Type Params | Return Type | Name and description |
|---|---|---|
boolean |
isLeaf() | |
Object |
newInstance(FactoryBuilderSupport builder, Object name, Object value, Map attributes) |
Inherited Methods Summary
| Methods inherited from class | Name |
|---|---|
class AbstractFactory | setParent, isLeaf, onFactoryRegistration, onHandleNodeAttributes, isHandlesNodeChildren, setChild, onNodeChildren, onNodeCompleted, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, newInstance |
Field Detail
protected final boolean leaf
Property Detail
final Class beanClass
Constructor Detail
BeanFactory(Class beanClass)
BeanFactory(Class beanClass, boolean leaf)
Method Detail
boolean isLeaf()
Object newInstance(FactoryBuilderSupport builder, Object name, Object value, Map attributes)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/groovy/swing/factory/BeanFactory.html