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 TypeMethodDescriptionvoidAdd an action to the component at the specified index.protected FragmentActionsDelegatecreateDelegate(Fragment<?> fragment) Returns an action with passed id.voidremoveAction(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, waitMethods 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:HasActionsAdd an action to the component at the specified index.- Specified by:
addActionin interfaceHasActions- Parameters:
action- action to addindex- index at which the specified action is to be added
-
removeAction
Description copied from interface:HasActionsRemoves the action from the component.- Specified by:
removeActionin interfaceHasActions- Parameters:
action- action to remove
-
getActions
- Specified by:
getActionsin interfaceHasActions- Returns:
- unmodifiable collection of actions
-
getAction
Description copied from interface:HasActionsReturns an action with passed id.- Specified by:
getActionin interfaceHasActions- Parameters:
id- id of the action to find- Returns:
- an action by its id, or
nullif not found
-