public class UIMenuItem extends UIMenuItemBase implements DialogReturnAware
UIMenuItemBase.PropertyKeys| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_TYPE |
COMPONENT_FAMILYBEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEYATTRIBUTE_DIALOG_RETURN_SCRIPT, EVENT_DIALOG_RETURN| Constructor and Description |
|---|
UIMenuItem() |
| Modifier and Type | Method and Description |
|---|---|
void |
decode(javax.faces.context.FacesContext facesContext) |
Map<String,Class<? extends javax.faces.event.BehaviorEvent>> |
getBehaviorEventMapping() |
String |
getCommand()
A
MethodExpression in the form of a string which is called after the
menu item has been clicked. |
String |
getConfirmationScript() |
String |
getDefaultEventName() |
Collection<String> |
getEventNames() |
String |
getHref() |
Map<String,List<String>> |
getParams() |
boolean |
isAjaxified() |
boolean |
isDynamic() |
boolean |
isPartialSubmitSet() |
boolean |
isResetValuesSet() |
void |
queueEvent(javax.faces.event.FacesEvent e) |
boolean |
requiresConfirmation() |
void |
setConfirmationScript(String confirmationScript) |
void |
setParam(String key,
Object value) |
boolean |
shouldRenderChildren() |
getContainerStyle, getContainerStyleClass, getDelay, getFamily, getForm, getFragment, getFunction, getIcon, getIconPos, getOnclick, getOncomplete, getOnerror, getOnstart, getOnsuccess, getOutcome, getPartialSubmitFilter, getProcess, getRel, getStyle, getStyleClass, getTarget, getTimeout, getTitle, getUpdate, getUrl, isAjax, isAsync, isDisableClientWindow, isDisabled, isEscape, isGlobal, isIgnoreAutoUpdate, isIncludeViewParams, isPartialSubmit, isResetValues, setAjax, setAsync, setContainerStyle, setContainerStyleClass, setDelay, setDisableClientWindow, setDisabled, setEscape, setForm, setFragment, setGlobal, setIcon, setIconPos, setIgnoreAutoUpdate, setIncludeViewParams, setOnclick, setOncomplete, setOnerror, setOnstart, setOnsuccess, setOutcome, setPartialSubmit, setPartialSubmitFilter, setProcess, setRel, setResetValues, setStyle, setStyleClass, setTarget, setTimeout, setTitle, setUpdate, setUrladdActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getValue, isImmediate, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValueaddClientBehavior, addFacesListener, clearInitialState, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBindingencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent, visitTreeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisDialogReturnEvent, queueDialogReturnEventgetChildrengetClientId, getValue, isImmediategetId, isRendered, setIdpublic static final String COMPONENT_TYPE
public Map<String,Class<? extends javax.faces.event.BehaviorEvent>> getBehaviorEventMapping()
getBehaviorEventMapping in interface PrimeClientBehaviorHolderpublic Collection<String> getEventNames()
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHoldergetEventNames in class javax.faces.component.UIComponentBasepublic String getDefaultEventName()
getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHoldergetDefaultEventName in class javax.faces.component.UIComponentBasepublic void decode(javax.faces.context.FacesContext facesContext)
decode in class javax.faces.component.UIComponentBasepublic void queueEvent(javax.faces.event.FacesEvent e)
queueEvent in class javax.faces.component.UICommandpublic boolean shouldRenderChildren()
shouldRenderChildren in interface MenuItempublic boolean isPartialSubmitSet()
isPartialSubmitSet in interface AjaxSourcepublic boolean isResetValuesSet()
isResetValuesSet in interface AjaxSourcepublic String getHref()
getHref in interface UIOutcomeTargetpublic Map<String,List<String>> getParams()
getParams in interface UIOutcomeTargetgetParams in interface MenuItempublic String getCommand()
MenuItemMethodExpression in the form of a string which is called after the
menu item has been clicked. It is ignored when url is not
null.getCommand in interface MenuItempublic boolean isAjaxified()
isAjaxified in interface AjaxSourcepublic String getConfirmationScript()
getConfirmationScript in interface Confirmablepublic void setConfirmationScript(String confirmationScript)
setConfirmationScript in interface Confirmablepublic boolean requiresConfirmation()
requiresConfirmation in interface ConfirmableCopyright © 2020. All rights reserved.