Class SmallColumnSearchWindow

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class SmallColumnSearchWindow extends ColumnSearchWindow
SearchWindow subclass that searches for content in the columns of a displayed JTable. The table is assumed to be non-huge, so that searching can be done on the Event Dispatch Thread.

Following a successful search, the matching rows of the JTable are Selected and the window is scrolled so that the first is visible.

Since:
14 Sep 2023
Author:
Mark Taylor
See Also:
  • Constructor Details

    • SmallColumnSearchWindow

      public SmallColumnSearchWindow(String title, Window owner, JTable jtab, JScrollPane scroller, String columnSelectorLabel)
      Constructor.
      Parameters:
      title - title of dialogue window
      owner - window that owns this dialogue
      jtab - table displaying cells to search
      scroller - scroll pane containing jtab, may be null
      columnSelectorLabel - label for column selector
  • Method Details

    • getSearchAction

      public Action getSearchAction()
      Returns the action that initiates a search, in accordance with the currently configured GUI.
      Returns:
      action