Class AbstractAssignActionInitTask<C extends com.vaadin.flow.component.Component>
java.lang.Object
io.jmix.flowui.xml.layout.inittask.AbstractAssignActionInitTask<C>
- All Implemented Interfaces:
ComponentLoader.InitTask
- Direct Known Subclasses:
AssignActionInitTask
,AssignActionsInitTask
public abstract class AbstractAssignActionInitTask<C extends com.vaadin.flow.component.Component>
extends Object
implements ComponentLoader.InitTask
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAbstractAssignActionInitTask
(C component, String actionId, Screen<?> screen) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
addAction
(ComponentLoader.ComponentContext context, Action action) void
execute
(ComponentLoader.ComponentContext context, Screen<?> screen) This method will be invoked after screen initialization.protected Action
getActionRecursively
(ComponentLoader.ComponentContext context, String actionId) protected Optional<com.vaadin.flow.component.Component>
getComponent
(Screen<?> screen, String id) protected String
protected abstract boolean
hasOwnAction
(String id)
-
Field Details
-
component
-
actionId
-
screen
-
-
Constructor Details
-
AbstractAssignActionInitTask
-
-
Method Details
-
execute
Description copied from interface:ComponentLoader.InitTask
This method will be invoked after screen initialization.- Specified by:
execute
in interfaceComponentLoader.InitTask
- Parameters:
context
- loader contextscreen
- screen
-
hasOwnAction
-
addAction
-
getActionRecursively
@Nullable protected Action getActionRecursively(ComponentLoader.ComponentContext context, String actionId) -
getExceptionMessage
-
getComponent
-