Class MenuSearchWidget.SearchResult

java.lang.Object
org.pushingpixels.radiance.theming.internal.widget.menu.MenuSearchWidget.SearchResult
Enclosing class:
MenuSearchWidget

private static class MenuSearchWidget.SearchResult extends Object
Single result of menu search.
  • Field Details

  • Constructor Details

    • SearchResult

      public SearchResult(JMenuBar menuBar, LinkedList<JMenu> menuPath, JMenuItem menuLeaf)
      Simple constructor.
      Parameters:
      menuBar - The main menu bar.
      menuPath - The menus leading to the matching entry. Contains JMenus.
      menuLeaf - The menu (item) that matches the search pattern string.
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isEnabled

      public boolean isEnabled()
      Checks that all entries leading to the associated menu (item) are enabled.
      Returns:
      true if all entries leading to the associated menu (item) are enabled, false otherwise.