Class FilterAction

All Implemented Interfaces:
Action, Action.ExecutableAction, Action.HasPrimaryState, Action.SecuredAction
Direct Known Subclasses:
FilterAddConditionAction, FilterClearValuesAction, FilterCopyAction, FilterEditAction, FilterMakeDefaultAction, FilterRemoveAction, FilterSaveAsAction

public abstract class FilterAction extends BaseAction implements Action.ExecutableAction
  • Field Details

    • filter

      protected Filter filter
  • Constructor Details

    • FilterAction

      public FilterAction(String id)
  • Method Details

    • getFilter

      @Nullable public Filter getFilter()
    • setFilter

      public void setFilter(@Nullable Filter filter)
    • isApplicable

      protected boolean isApplicable()
      Description copied from class: BaseAction
      Callback method which is invoked by the action to determine its enabled state.
      Overrides:
      isApplicable in class BaseAction
      Returns:
      true if the action is enabled for the current context, e.g. there is a selected row in a table
    • 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