Class RefreshAction

All Implemented Interfaces:
Action, Action.ExecutableAction, Action.HasPrimaryState, Action.HasTarget, Action.SecuredAction

@StudioAction(target="io.jmix.ui.component.ListComponent", description="Reloads a list of entities from the database", availableInScreenWizard=true) @ActionType("refresh") public class RefreshAction extends ListAction implements Action.ExecutableAction
Standard action for reloading a list of entities from the database.

Should be defined for a list component (Table, DataGrid, etc.) in a screen XML descriptor.

  • Field Details

  • Constructor Details

    • RefreshAction

      public RefreshAction()
    • RefreshAction

      public RefreshAction(String id)
  • Method Details

    • setIcons

      @Autowired protected void setIcons(Icons icons)
    • setMessages

      @Autowired protected void setMessages(Messages messages)
    • actionPerform

      public void actionPerform(Component component)
      Description copied from interface: Action
      Invoked by owning component to execute the action.
      Specified by:
      actionPerform in interface Action
      Overrides:
      actionPerform in class BaseAction
      Parameters:
      component - invoking component
    • execute

      public void execute()
      Executes the action.
      Specified by:
      execute in interface Action.ExecutableAction