public class UIMenuItem extends UIMenuItemBase implements DialogReturnAware
UIMenuItemBase.PropertyKeys
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_TYPE |
COMPONENT_FAMILY
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY
ATTRIBUTE_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, setUrl
addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getValue, isImmediate, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValue
addClientBehavior, 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, setValueBinding
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent, visitTree
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isDialogReturnEvent, queueDialogReturnEvent
getChildren
getClientId, getValue, isImmediate
getId, isRendered, setId
public static final String COMPONENT_TYPE
public Map<String,Class<? extends javax.faces.event.BehaviorEvent>> getBehaviorEventMapping()
getBehaviorEventMapping
in interface PrimeClientBehaviorHolder
public Collection<String> getEventNames()
getEventNames
in interface javax.faces.component.behavior.ClientBehaviorHolder
getEventNames
in class javax.faces.component.UIComponentBase
public String getDefaultEventName()
getDefaultEventName
in interface javax.faces.component.behavior.ClientBehaviorHolder
getDefaultEventName
in class javax.faces.component.UIComponentBase
public void decode(javax.faces.context.FacesContext facesContext)
decode
in class javax.faces.component.UIComponentBase
public void queueEvent(javax.faces.event.FacesEvent e)
queueEvent
in class javax.faces.component.UICommand
public boolean shouldRenderChildren()
shouldRenderChildren
in interface MenuItem
public boolean isPartialSubmitSet()
isPartialSubmitSet
in interface AjaxSource
public boolean isResetValuesSet()
isResetValuesSet
in interface AjaxSource
public String getHref()
getHref
in interface UIOutcomeTarget
public Map<String,List<String>> getParams()
getParams
in interface UIOutcomeTarget
getParams
in interface MenuItem
public String getCommand()
MenuItem
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
.getCommand
in interface MenuItem
public boolean isAjaxified()
isAjaxified
in interface AjaxSource
public String getConfirmationScript()
getConfirmationScript
in interface Confirmable
public void setConfirmationScript(String confirmationScript)
setConfirmationScript
in interface Confirmable
public boolean requiresConfirmation()
requiresConfirmation
in interface Confirmable
Copyright © 2020. All rights reserved.