Package io.jmix.flowui.fragment.impl
Class FragmentActionsImpl
java.lang.Object
io.jmix.flowui.fragment.impl.FragmentActionsImpl
- All Implemented Interfaces:
FragmentActions
,HasActions
@Component("flowui_FragmentActions")
@Scope("prototype")
public class FragmentActionsImpl
extends Object
implements FragmentActions
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Add an action to the component at the specified index.protected FragmentActionsDelegate
createDelegate
(Fragment<?> fragment) Returns an action with passed id.void
removeAction
(Action action) Removes the action from the component.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.flowui.kit.component.HasActions
addAction, removeAction, removeAllActions
-
Field Details
-
delegate
-
-
Constructor Details
-
FragmentActionsImpl
-
-
Method Details
-
createDelegate
-
addAction
Description copied from interface:HasActions
Add an action to the component at the specified index.- Specified by:
addAction
in interfaceHasActions
- Parameters:
action
- action to addindex
- index at which the specified action is to be added
-
removeAction
Description copied from interface:HasActions
Removes the action from the component.- Specified by:
removeAction
in interfaceHasActions
- Parameters:
action
- action to remove
-
getActions
- Specified by:
getActions
in interfaceHasActions
- Returns:
- unmodifiable collection of actions
-
getAction
Description copied from interface:HasActions
Returns an action with passed id.- Specified by:
getAction
in interfaceHasActions
- Parameters:
id
- id of the action to find- Returns:
- an action by its id, or
null
if not found
-