Class MenuSearchWidget.SearchResultsLayout
java.lang.Object
org.pushingpixels.radiance.theming.internal.widget.menu.MenuSearchWidget.SearchResultsLayout
- All Implemented Interfaces:
LayoutManager
- Enclosing class:
MenuSearchWidget
Layout for the search panel. Note that
FlowLayout
is almost perfect for us, but we
need the following:
- Minimum size to be 16*16 (for the search icon)
- When there isn't enough place for result buttons, they should continue (even if they are unseen) and not flow to the next line.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate MenuSearchWidget.SearchPanel
The associated search panel. -
Constructor Summary
ConstructorsConstructorDescriptionSearchResultsLayout
(MenuSearchWidget.SearchPanel searchPanel) Simple constructor. -
Method Summary
-
Field Details
-
searchPanel
The associated search panel.
-
-
Constructor Details
-
Method Details
-
addLayoutComponent
- Specified by:
addLayoutComponent
in interfaceLayoutManager
-
removeLayoutComponent
- Specified by:
removeLayoutComponent
in interfaceLayoutManager
-
preferredLayoutSize
- Specified by:
preferredLayoutSize
in interfaceLayoutManager
-
minimumLayoutSize
- Specified by:
minimumLayoutSize
in interfaceLayoutManager
-
layoutContainer
- Specified by:
layoutContainer
in interfaceLayoutManager
-