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