public class ContentTypeMenuItem extends MenuItemWidget
The variable it resolves is
An example of this widget can be found in the
Constructor and Description |
---|
ContentTypeMenuItem() |
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, getStyle
getClasspathResourceAsString, getClasspathResourceAsString, getHtml, getHtml, getName, getScript, getScript, getStyle, getStyle, loadHtml, loadHtmlWithVars, loadScript, loadScriptWithVars, loadStyle, loadStyleWithVars
public ContentTypeMenuItem()
public String getLabel(RestRequest req, RestResponse res)
MenuItemWidget
getLabel
in class MenuItemWidget
req
- The HTTP request object.res
- The HTTP response object.public Div getContent(RestRequest req, RestResponse res)
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.
Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.