Interface SearchableBar.Installer

Enclosing class:
SearchableBar

public static interface SearchableBar.Installer
The installer for SearchableBar.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called to hide the SearchableBar.
    void
    Called to show the SearchableBar so that user can see it.
  • Method Details

    • openSearchBar

      void openSearchBar(SearchableBar searchableBar)
      Called to show the SearchableBar so that user can see it.

      For example, if you want to add a SearchableBar to the south of a JTextArea, you should add JTextArea to the CENTER of a BorderLayout panel. In this method, you add the SearchableBar to the SOUTH of the same BorderLayout panel.

      Parameters:
      searchableBar - the searchable bar
    • closeSearchBar

      void closeSearchBar(SearchableBar searchableBar)
      Called to hide the SearchableBar.
      Parameters:
      searchableBar - the searchable bar