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 Details

  • Constructor Details

    • FragmentActionsImpl

      public FragmentActionsImpl(Fragment<?> fragment)
  • Method Details

    • createDelegate

      protected FragmentActionsDelegate createDelegate(Fragment<?> fragment)
    • addAction

      public void addAction(Action action, int index)
      Description copied from interface: HasActions
      Add an action to the component at the specified index.
      Specified by:
      addAction in interface HasActions
      Parameters:
      action - action to add
      index - index at which the specified action is to be added
    • removeAction

      public void removeAction(Action action)
      Description copied from interface: HasActions
      Removes the action from the component.
      Specified by:
      removeAction in interface HasActions
      Parameters:
      action - action to remove
    • getActions

      public Collection<Action> getActions()
      Specified by:
      getActions in interface HasActions
      Returns:
      unmodifiable collection of actions
    • getAction

      @Nullable public Action getAction(String id)
      Description copied from interface: HasActions
      Returns an action with passed id.
      Specified by:
      getAction in interface HasActions
      Parameters:
      id - id of the action to find
      Returns:
      an action by its id, or null if not found