public class AddPetMenuItem extends MenuItemWidget
Constructor and Description |
---|
AddPetMenuItem() |
Modifier and Type | Method and Description |
---|---|
Object |
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 AddPetMenuItem()
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 Object 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.