Class AbstractAssignActionInitTask<C extends com.vaadin.flow.component.Component>
java.lang.Object
io.jmix.flowui.xml.layout.inittask.AbstractInitTask
io.jmix.flowui.xml.layout.inittask.AbstractAssignActionInitTask<C>
- All Implemented Interfaces:
ComponentLoader.InitTask
- Direct Known Subclasses:
AssignActionInitTask
,AssignActionsInitTask
,AssignDropdownButtonActionInitTask
public abstract class AbstractAssignActionInitTask<C extends com.vaadin.flow.component.Component>
extends AbstractInitTask
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAbstractAssignActionInitTask
(C component, String actionId) AbstractAssignActionInitTask
(C component, String actionId, View<?> view) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
addAction
(ComponentLoader.Context context, Action action) void
execute
(ComponentLoader.Context context) This method will be invoked after component's content initialization.protected Action
getActionRecursively
(ComponentLoader.Context context, String actionId) protected String
protected abstract boolean
hasOwnAction
(String id) protected void
runAfterExecuteHandler
(Action action) void
setAfterExecuteHandler
(Consumer<Action> afterExecuteHandler) Methods inherited from class io.jmix.flowui.xml.layout.inittask.AbstractInitTask
execute, getOrigin
-
Field Details
-
component
-
actionId
-
afterExecuteHandler
-
-
Constructor Details
-
AbstractAssignActionInitTask
@Deprecated(since="2.3", forRemoval=true) public AbstractAssignActionInitTask(C component, String actionId, View<?> view) Deprecated, for removal: This API element is subject to removal in a future version. -
AbstractAssignActionInitTask
-
-
Method Details
-
execute
Description copied from interface:ComponentLoader.InitTask
This method will be invoked after component's content initialization.- Parameters:
context
- loader context
-
hasOwnAction
-
addAction
-
setAfterExecuteHandler
-
runAfterExecuteHandler
-
getActionRecursively
-
getExceptionMessage
-