Interface FilteredModel

All Superinterfaces:
TableModel
All Known Subinterfaces:
QuickFilterable
All Known Implementing Classes:
DBTableModel, FilteredTableModel, InputOverlayTableModel, IrisTreeTableModel

public interface FilteredModel
extends TableModel
This interface defines a table model that supports filtering.
  • Method Details

    • filterChanged

      void filterChanged()
      Notify the implementation that the set of underlying filters have changed.
    • getFilterStrategy

      @NotNull FilterStrategyImpl getFilterStrategy()
      Get the FilterStrategyImpl in use.
      Returns:
      the FilterStrategy
    • getColumnSet

      com.fishlib.dataobjects.WColumnSet getColumnSet()
      Get the current column set for the model.
      Returns:
      the column set
    • saveStrategy

      void saveStrategy​(String name)
      Save the current set of filters to the global set of filters by name.
      Parameters:
      name - the name of the filter
    • getSavedStrategies

      @NotNull org.jdom2.Element[] getSavedStrategies()
      Get all of the saved strategy workspace Elements
      Returns:
      an array of saved filter strategy elements.
    • removeStrategy

      void removeStrategy​(String name)
      Remove the globally saved filter of the specified name.
      Parameters:
      name - the name of the filter to remove
    • isFilteringOn

      boolean isFilteringOn()
      Check if the model is currently being filtered.
      Returns:
      true if filters are currently applied
    • isFilterable

      boolean isFilterable​(String column)
      Check if the specified column is filterable.
      Parameters:
      column - the column name.
      Returns:
      true if the column is filterable.