Class SettingsPane

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class SettingsPane extends JPanel
Generic settings coordinator that combines navigation and content hosting, creates pages lazily, caches them, indexes section text on first search, and reveals matching sections when a filtered result is opened.
See Also:
  • Constructor Details

  • Method Details

    • selectRoute

      public boolean selectRoute(SettingsRoute route)
      Selects and displays a route programmatically. Parent routes without pages fall back to their first page.
    • focusSearchField

      public void focusSearchField()
    • setFilterText

      public void setFilterText(@Nullable String filterText)
      Sets the search field's display text; null clears it and matching uses its normalized form.
    • getActiveFilter

      public String getActiveFilter()
      Returns:
      the normalized active search filter
    • getFilterText

      public String getFilterText()
      Returns:
      the search field's unmodified display text
    • refreshFilter

      public void refreshFilter()
      Reapplies the current navigation filter after a page's searchable content changes.