[Groovy] Class WidgetFactory
- groovy.swing.factory.WidgetFactory
class WidgetFactory extends AbstractFactory
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, 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 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/3.0.7/html/gapi/groovy/swing/factory/WidgetFactory.html