public abstract class UIMenuItemBase extends javax.faces.component.UICommand implements AjaxSource, UIOutcomeTarget, MenuItem, Confirmable, javax.faces.component.behavior.ClientBehaviorHolder, PrimeClientBehaviorHolder
Modifier and Type | Class and Description |
---|---|
static class |
UIMenuItemBase.PropertyKeys |
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
Constructor and Description |
---|
UIMenuItemBase() |
addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getValue, isImmediate, queueEvent, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValue
addClientBehavior, addFacesListener, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, 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
isAjaxified, isPartialSubmitSet, isResetValuesSet
getChildren, getHref, getParams
getClientId, getCommand, getParams, getValue, isDynamic, isImmediate, setParam, shouldRenderChildren
getId, isRendered, setId
getConfirmationScript, requiresConfirmation, setConfirmationScript
addClientBehavior, getClientBehaviors, getDefaultEventName, getEventNames
getBehaviorEventMapping
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily
in class javax.faces.component.UICommand
public String getUrl()
MenuItem
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.public void setUrl(String url)
public void setTarget(String target)
public void setStyle(String style)
public String getStyleClass()
getStyleClass
in interface MenuItem
public void setStyleClass(String styleClass)
setStyleClass
in interface MenuItem
public String getOnclick()
getOnclick
in interface MenuItem
public void setOnclick(String onclick)
public String getUpdate()
getUpdate
in interface AjaxSource
public void setUpdate(String update)
public String getProcess()
getProcess
in interface AjaxSource
public void setProcess(String process)
public String getOnstart()
getOnstart
in interface AjaxSource
public void setOnstart(String onstart)
public boolean isDisabled()
isDisabled
in interface MenuItem
public void setDisabled(boolean disabled)
public String getOncomplete()
getOncomplete
in interface AjaxSource
public void setOncomplete(String oncomplete)
public String getOnerror()
getOnerror
in interface AjaxSource
public void setOnerror(String onerror)
public String getOnsuccess()
getOnsuccess
in interface AjaxSource
public void setOnsuccess(String onsuccess)
public boolean isGlobal()
isGlobal
in interface AjaxSource
public void setGlobal(boolean global)
public String getDelay()
getDelay
in interface AjaxSource
public void setDelay(String delay)
public int getTimeout()
getTimeout
in interface AjaxSource
public void setTimeout(int timeout)
public boolean isAsync()
isAsync
in interface AjaxSource
public void setAsync(boolean async)
public void setAjax(boolean ajax)
public void setIcon(String icon)
public String getIconPos()
getIconPos
in interface MenuItem
public void setIconPos(String iconPos)
public boolean isPartialSubmit()
isPartialSubmit
in interface AjaxSource
public void setPartialSubmit(boolean partialSubmit)
public boolean isResetValues()
isResetValues
in interface AjaxSource
public void setResetValues(boolean resetValues)
public boolean isIgnoreAutoUpdate()
isIgnoreAutoUpdate
in interface AjaxSource
public void setIgnoreAutoUpdate(boolean ignoreAutoUpdate)
public void setTitle(String title)
public String getOutcome()
MenuItem
NavigationHandler
. Similar to url
, but url
allows to specify fully qualified URLs.getOutcome
in interface UIOutcomeTarget
getOutcome
in interface MenuItem
public void setOutcome(String outcome)
public boolean isIncludeViewParams()
isIncludeViewParams
in interface UIOutcomeTarget
isIncludeViewParams
in interface MenuItem
public void setIncludeViewParams(boolean includeViewParams)
public String getFragment()
getFragment
in interface UIOutcomeTarget
getFragment
in interface MenuItem
public void setFragment(String fragment)
public boolean isDisableClientWindow()
isDisableClientWindow
in interface UIOutcomeTarget
public void setDisableClientWindow(boolean disableClientWindow)
public String getContainerStyle()
getContainerStyle
in interface MenuItem
public void setContainerStyle(String containerStyle)
public String getContainerStyleClass()
getContainerStyleClass
in interface MenuItem
public void setContainerStyleClass(String containerStyleClass)
public String getPartialSubmitFilter()
getPartialSubmitFilter
in interface AjaxSource
public void setPartialSubmitFilter(String partialSubmitFilter)
public String getForm()
getForm
in interface AjaxSource
public void setForm(String form)
public void setEscape(boolean escape)
public void setRel(String rel)
public SerializableFunction<MenuItem,String> getFunction()
MenuItem
MenuItem.getCommand()
.getFunction
in interface MenuItem
Copyright © 2020. All rights reserved.