public interface MenuItem extends MenuElement, Confirmable
| Modifier and Type | Method and Description |
|---|---|
String |
getClientId() |
String |
getCommand()
A
MethodExpression in the form of a string which is called after the
menu item has been clicked. |
String |
getContainerStyle() |
String |
getContainerStyleClass() |
String |
getFragment() |
SerializableFunction<MenuItem,String> |
getFunction()
Lambda alternative to the
getCommand(). |
String |
getIcon() |
String |
getIconPos() |
String |
getOnclick() |
String |
getOutcome()
The JSF outcome of a navigation case which is resolved by the configured
NavigationHandler. |
Map<String,List<String>> |
getParams() |
String |
getRel() |
String |
getStyle() |
String |
getStyleClass() |
String |
getTarget() |
String |
getTitle() |
String |
getUrl()
The URL to redirect to after the menu item has been clicked.
|
Object |
getValue() |
boolean |
isAjax() |
boolean |
isDisabled() |
boolean |
isDynamic() |
boolean |
isEscape() |
boolean |
isImmediate() |
boolean |
isIncludeViewParams() |
void |
setParam(String key,
Object value) |
void |
setStyleClass(String styleClass) |
boolean |
shouldRenderChildren() |
getId, isRendered, setIdgetConfirmationScript, requiresConfirmation, setConfirmationScriptString getIcon()
String getIconPos()
String getTitle()
boolean shouldRenderChildren()
boolean isDisabled()
String getOnclick()
String getStyle()
String getStyleClass()
String getUrl()
outcome which allows to specify a navigation case, but the value
is not touched (no prepending of the contextPath, not appending the
sessionId or windowId), just encoded.
Specifying a url which is not null causes command
to be ignored.String getTarget()
String getOutcome()
NavigationHandler. Similar to url, but url
allows to specify fully qualified URLs.String getFragment()
boolean isIncludeViewParams()
boolean isAjax()
Object getValue()
void setStyleClass(String styleClass)
boolean isDynamic()
String getCommand()
MethodExpression in the form of a string which is called after the
menu item has been clicked. It is ignored when url is not
null.SerializableFunction<MenuItem,String> getFunction()
getCommand().boolean isImmediate()
String getClientId()
String getContainerStyle()
String getContainerStyleClass()
boolean isEscape()
String getRel()
Copyright © 2020. All rights reserved.