public class QueryMenuItem extends MenuItemWidget
The variable it resolves is
Constructor and Description |
---|
QueryMenuItem() |
Modifier and Type | Method and Description |
---|---|
String |
getContent(RestRequest req,
RestResponse res)
The content of the popup.
|
String |
getLabel(RestRequest req,
RestResponse res)
The label for the menu item as it's rendered in the menu bar.
|
String |
getStyle(RestRequest req,
RestResponse res)
Returns CSS for the tooltips.
|
getAfterShowScript, getBeforeShowScript, getHtml, getScript
getClasspathResourceAsString, getClasspathResourceAsString, getHtml, getHtml, getName, getScript, getScript, getStyle, getStyle, loadHtml, loadHtmlWithVars, loadScript, loadScriptWithVars, loadStyle, loadStyleWithVars
public QueryMenuItem()
public String getStyle(RestRequest req, RestResponse res) throws Exception
getStyle
in class MenuItemWidget
req
- The HTTP request object.res
- The current HTTP response.Exception
- Error occurred.public String getLabel(RestRequest req, RestResponse res) throws Exception
MenuItemWidget
getLabel
in class MenuItemWidget
req
- The HTTP request object.res
- The HTTP response object.Exception
- Error occurred.public String getContent(RestRequest req, RestResponse res) throws Exception
MenuItemWidget
getContent
in class MenuItemWidget
req
- The HTTP request object.res
- The HTTP response object.Reader
- Serialized directly to the output.
CharSequence
- Serialized directly to the output.
HtmlSerializer.DEFAULT
.
org.apache.juneau.dto.html5
beans.
Exception
- Error occurred.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.