Class DbQuickFilterStrategy

All Implemented Interfaces:
FilterStrategy, Workspace

public class DbQuickFilterStrategy extends DbFilterStrategy
A DbFilterStrategy that allows for Quick Filtering.
  • Constructor Details

    • DbQuickFilterStrategy

      public DbQuickFilterStrategy(@NotNull com.fishlib.io.logger.Logger log, QuickFilterable tableModel, JTextField filterField, JCheckBox regexCheckBox)
      Creates a new DbQuickFilterStrategy.
      Parameters:
      log - the logger
      tableModel - a quick filterable table model
      filterField - the text field for the filter text
      regexCheckBox - a check box to toggle regex mode
  • Method Details

    • getWorkspaceInfo

      public org.jdom2.Element getWorkspaceInfo()
      Description copied from interface: Workspace
      Serialize the class into an element to be stored in the workspace
      Specified by:
      getWorkspaceInfo in interface Workspace
      Overrides:
      getWorkspaceInfo in class FilterStrategyImpl
      Returns:
      An Element containing the data to persist.
    • setWorkspaceInfo

      public void setWorkspaceInfo(org.jdom2.Element workspaceInfo)
      Description copied from interface: Workspace
      Restore the class to the state defined by the data persisted in workspaceInfo
      Specified by:
      setWorkspaceInfo in interface Workspace
      Overrides:
      setWorkspaceInfo in class FilterStrategyImpl
      Parameters:
      workspaceInfo - An Element containing the persisted state.