public abstract class AbstractAssignActionPostInitTask extends java.lang.Object implements ComponentLoader.InitTask
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
actionId |
protected Component |
component |
protected Frame |
frame |
Constructor and Description |
---|
AbstractAssignActionPostInitTask(Component component,
java.lang.String actionId,
Frame frame) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
addAction(Action action) |
void |
execute(ComponentLoader.ComponentContext context,
Frame frame)
This method will be invoked after window components loading before window initialization.
|
protected Action |
getActionRecursively(Frame frame,
java.lang.String actionId) |
protected java.lang.String |
getExceptionMessage(java.lang.String id) |
protected abstract boolean |
hasOwnAction(java.lang.String id) |
protected Component component
protected java.lang.String actionId
protected Frame frame
public void execute(ComponentLoader.ComponentContext context, Frame frame)
ComponentLoader.InitTask
execute
in interface ComponentLoader.InitTask
context
- loader contextframe
- top-most windowprotected abstract boolean hasOwnAction(java.lang.String id)
protected abstract void addAction(Action action)
@Nullable protected Action getActionRecursively(@Nullable Frame frame, java.lang.String actionId)
protected java.lang.String getExceptionMessage(java.lang.String id)