Package org.apache.juneau.rest.widget
Class QueryMenuItem
java.lang.Object
org.apache.juneau.rest.widget.Widget
org.apache.juneau.rest.widget.MenuItemWidget
org.apache.juneau.rest.widget.QueryMenuItem
- All Implemented Interfaces:
- HtmlWidget
Widget that returns a menu-item drop-down form for entering search/view/sort arguments.
 
 The variable it resolves is 
See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetContent(RestRequest req, RestResponse res) The content of the popup.getLabel(RestRequest req, RestResponse res) The label for the menu item as it's rendered in the menu bar.getStyle(RestRequest req, RestResponse res) Returns CSS for the tooltips.Methods inherited from class org.apache.juneau.rest.widget.MenuItemWidgetgetAfterShowScript, getBeforeShowScript, getHtml, getScriptMethods inherited from class org.apache.juneau.rest.widget.WidgetgetFileFinder, getHtml, getName, getScript, getStyle, loadHtml, loadHtmlWithVars, loadScript, loadScriptWithVars, loadStyle, loadStyleWithVars
- 
Constructor Details- 
QueryMenuItempublic QueryMenuItem()
 
- 
- 
Method Details- 
getStyleReturns CSS for the tooltips.- Overrides:
- getStylein class- MenuItemWidget
- Parameters:
- req- The HTTP request object.
- res- The current HTTP response.
- Returns:
- The CSS styles needed by this widget.
 
- 
getLabelDescription copied from class:MenuItemWidgetThe label for the menu item as it's rendered in the menu bar.- Specified by:
- getLabelin class- MenuItemWidget
- Parameters:
- req- The HTTP request object.
- res- The HTTP response object.
- Returns:
- The menu item label.
 
- 
getContentDescription copied from class:MenuItemWidgetThe content of the popup.- Specified by:
- getContentin class- MenuItemWidget
- Parameters:
- req- The HTTP request object.
- res- The HTTP response object.
- Returns:
- The content of the popup.
   
 Can be any of the following types:- Reader- Serialized directly to the output.
- CharSequence- Serialized directly to the output.
- Other - Serialized as HTML using HtmlSerializer.DEFAULT.
 Note that this includes any of theorg.apache.juneau.bean.html5beans.
 
 
 
-