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