Class FilterCommand

java.lang.Object
rekit.gui.controller.commands.FilterCommand
All Implemented Interfaces:
Command

public final class FilterCommand extends Object implements Command
This Command Type is used for attaching and/or detaching Filters to a View.
Only for testing purposes
Author:
Dominik Fuchss
  • Constructor Details

    • FilterCommand

      public FilterCommand(boolean enable, Model model, Filter filter)
      Create a new FilterCommand.
      Parameters:
      enable - indicates whether this command will enable a filter
      model - the model
      filter - the filter or ignored if enable == false
  • Method Details

    • execute

      public void execute(Object... params)
      Description copied from interface: Command
      Execute the command.
      Specified by:
      execute in interface Command
      Parameters:
      params - the parameters