public class ThemeMenuItem extends MenuItemWidget
The variable it resolves is
| Constructor and Description |
|---|
ThemeMenuItem() |
| Modifier and Type | Method and Description |
|---|---|
Div |
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.
|
getAfterShowScript, getBeforeShowScript, getHtml, getScript, getStylegetClasspathResourceAsString, getClasspathResourceAsString, getHtml, getHtml, getName, getScript, getScript, getStyle, getStyle, loadHtml, loadHtmlWithVars, loadScript, loadScriptWithVars, loadStyle, loadStyleWithVarspublic ThemeMenuItem()
public String getLabel(RestRequest req, RestResponse res)
MenuItemWidgetgetLabel in class MenuItemWidgetreq - The HTTP request object.res - The HTTP response object.public Div getContent(RestRequest req, RestResponse res) throws Exception
MenuItemWidgetgetContent in class MenuItemWidgetreq - 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.