Class MenuSearchWidget.SearchResult
java.lang.Object
org.pushingpixels.radiance.theming.internal.widget.menu.MenuSearchWidget.SearchResult
- Enclosing class:
MenuSearchWidget
Single result of menu search.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSearchResult(JMenuBar menuBar, LinkedList<JMenu> menuPath, JMenuItem menuLeaf) Simple constructor. -
Method Summary
-
Field Details
-
Constructor Details
-
SearchResult
Simple constructor.- Parameters:
menuBar- The main menu bar.menuPath- The menus leading to the matching entry. ContainsJMenus.menuLeaf- The menu (item) that matches the search pattern string.
-
-
Method Details
-
toString
-
isEnabled
public boolean isEnabled()Checks that all entries leading to the associated menu (item) are enabled.- Returns:
trueif all entries leading to the associated menu (item) are enabled,falseotherwise.
-