public interface ActionListInitializer
ActionBeanInfo.ATTRIBUTE_ACTION_LIST_INITIALIZER
value of a bean descriptor.
With an action list initializer you can modify actions after they are instantiated in an action list.
This is useful if you have default property values that should be different if the action is
instantiated in an action list. This initializer is run after the BeanInitializer
.
Modifier and Type | Method and Description |
---|---|
void |
initializeAction(Action action,
java.util.List<java.lang.String> actionKeys)
Called after the unconfigured action is instantiated the first time at design-time.
|
void initializeAction(Action action, java.util.List<java.lang.String> actionKeys)
action
- the action that should be initializedactionKeys
- the action keys configured for the ActionList
property by calling
ActionListPropertyDescriptor.setActionKeys(String[])