class RichActionWidgetFactory
extends AbstractFactory
Factory for creating widgets from actions, icons, text, or an existing instance.
| Type | Name and description |
|---|---|
static Class[] |
ACTION_ARGSParameter types used to locate the action constructor. |
static Class[] |
ICON_ARGSParameter types used to locate the icon constructor. |
static Class[] |
STRING_ARGSParameter types used to locate the text constructor. |
Constructor |
actionCtorCached constructor that accepts an Action. |
Constructor |
iconCtorCached constructor that accepts an Icon. |
Class |
klassWidget class instantiated by this factory. |
Constructor |
stringCtorCached constructor that accepts a String. |
| Constructor and description |
|---|
RichActionWidgetFactory(Class klass)Creates a new factory for creating widgets from actions, icons, text, or an existing instance |
| Type Params | Return Type | Name and description |
|---|---|---|
|
Object |
newInstance(FactoryBuilderSupport builder, Object name, Object value, Map attributes)Creates the node handled by this factory. |
| Methods inherited from class | Name |
|---|---|
class AbstractFactory |
isHandlesNodeChildren, isLeaf, onFactoryRegistration, onHandleNodeAttributes, onNodeChildren, onNodeCompleted, setChild, setParent |
Parameter types used to locate the action constructor.
Parameter types used to locate the icon constructor.
Parameter types used to locate the text constructor.
Cached constructor that accepts an Action.
Cached constructor that accepts an Icon.
Widget class instantiated by this factory.
Cached constructor that accepts a String.
Creates a new factory for creating widgets from actions, icons, text, or an existing instance
klass - the widget class to instantiateCreates the node handled by this factory.
builder - the factory buildername - the node namevalue - the node valueattributes - the node attributesCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.