Class TableSearchField

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Direct Known Subclasses:
SessionEditorQuickSearchField

public class TableSearchField extends SearchField
Search field for applying plain text and regular expression row filters to tables.
See Also:
  • Field Details

    • caseSensitive

      protected boolean caseSensitive
  • Constructor Details

    • TableSearchField

      public TableSearchField()
    • TableSearchField

      public TableSearchField(JTable table)
    • TableSearchField

      public TableSearchField(JTable table, boolean hideOnEmpty)
  • Method Details

    • setTable

      public void setTable(JTable table)
    • getTable

      public JTable getTable()
    • getColumnLabel

      public String getColumnLabel()
    • setColumnLabel

      public void setColumnLabel(String label)
    • toggleCaseSensitive

      public void toggleCaseSensitive()
    • isCaseSensitive

      public boolean isCaseSensitive()
    • onClearText

      public void onClearText(PhonActionEvent pae)
      Overrides:
      onClearText in class SearchField
    • setupPopupMenu

      protected void setupPopupMenu(JPopupMenu menu)
      Description copied from class: SearchField
      Setup popup menu. Override this method to completely customize the context menu for the search field. Most implementations will only need to add custom options to the menu and should use the SearchField.SearchFieldMenuHandler interface to do so.
      Overrides:
      setupPopupMenu in class SearchField
      Parameters:
      menu - popup menu to setup
    • resetFilter

      public void resetFilter()
    • updateTableFilter

      public void updateTableFilter()
    • getRowFilter

      public RowFilter<TableModel, Integer> getRowFilter(String expr)
    • setTableFilter

      public void setTableFilter(String expr)
    • parseFilters

      protected List<TableSearchField.ColumnFilter> parseFilters(String filter)
      Parse text into a list of ColumnFilters