class ActionFactory
extends AbstractFactory
Factory for creating Swing action nodes.
| Constructor and description |
|---|
ActionFactory() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
String |
capitalize(String text)Capitalizes the first character of the supplied text. |
|
boolean |
isHandlesNodeChildren()Indicates whether this factory processes child closures itself. |
|
Object |
newInstance(FactoryBuilderSupport builder, Object name, Object value, Map attributes)Creates the node handled by this factory. |
|
boolean |
onHandleNodeAttributes(FactoryBuilderSupport builder, Object action, Map attributes)Handles custom node attributes before default bean processing. |
|
boolean |
onNodeChildren(FactoryBuilderSupport builder, Object node, Closure childContent)Consumes the child closure for this node. |
|
void |
setParent(FactoryBuilderSupport builder, Object parent, Object action)Attaches the current node to its parent when parent-specific handling is required. |
| Methods inherited from class | Name |
|---|---|
class AbstractFactory |
isHandlesNodeChildren, isLeaf, onFactoryRegistration, onHandleNodeAttributes, onNodeChildren, onNodeCompleted, setChild, setParent |
Capitalizes the first character of the supplied text.
text - the text to capitalizeIndicates whether this factory processes child closures itself.
Creates the node handled by this factory.
builder - the factory buildername - the node namevalue - the node valueattributes - the node attributesHandles custom node attributes before default bean processing.
builder - the factory builderaction - the action nodeattributes - the node attributesConsumes the child closure for this node.
builder - the factory buildernode - the current nodechildContent - the childContentAttaches the current node to its parent when parent-specific handling is required.
builder - the factory builderparent - the parent nodeaction - the action nodeCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.