org.primefaces.model.menu
Class DefaultMenuItem
java.lang.Object
org.primefaces.model.menu.DefaultMenuItem
- All Implemented Interfaces:
- Serializable, AjaxSource, UIOutcomeTarget, MenuElement, MenuItem
public class DefaultMenuItem
- extends Object
- implements MenuItem, UIOutcomeTarget, AjaxSource, Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMenuItem
public DefaultMenuItem()
DefaultMenuItem
public DefaultMenuItem(Object value)
DefaultMenuItem
public DefaultMenuItem(Object value,
String icon)
DefaultMenuItem
public DefaultMenuItem(Object value,
String icon,
String url)
getId
public String getId()
- Specified by:
getId in interface MenuElement
setId
public void setId(String id)
- Specified by:
setId in interface MenuElement
getIcon
public String getIcon()
- Specified by:
getIcon in interface MenuItem
setIcon
public void setIcon(String icon)
getTitle
public String getTitle()
- Specified by:
getTitle in interface MenuItem
setTitle
public void setTitle(String title)
isDisabled
public boolean isDisabled()
- Specified by:
isDisabled in interface MenuItem
setDisabled
public void setDisabled(boolean disabled)
getOnclick
public String getOnclick()
- Specified by:
getOnclick in interface MenuItem
setOnclick
public void setOnclick(String onclick)
getStyle
public String getStyle()
- Specified by:
getStyle in interface MenuItem
setStyle
public void setStyle(String style)
getStyleClass
public String getStyleClass()
- Specified by:
getStyleClass in interface MenuItem
setStyleClass
public void setStyleClass(String styleClass)
- Specified by:
setStyleClass in interface MenuItem
getHref
public String getHref()
- Specified by:
getHref in interface UIOutcomeTarget
setHref
public void setHref(String href)
getUrl
public String getUrl()
- Specified by:
getUrl in interface MenuItem
setUrl
public void setUrl(String url)
getTarget
public String getTarget()
- Specified by:
getTarget in interface MenuItem
setTarget
public void setTarget(String target)
getOutcome
public String getOutcome()
- Specified by:
getOutcome in interface UIOutcomeTarget- Specified by:
getOutcome in interface MenuItem
setOutcome
public void setOutcome(String outcome)
isAjax
public boolean isAjax()
- Specified by:
isAjax in interface MenuItem
setAjax
public void setAjax(boolean ajax)
getValue
public Object getValue()
- Specified by:
getValue in interface MenuItem
setValue
public void setValue(Object value)
isIncludeViewParams
public boolean isIncludeViewParams()
- Specified by:
isIncludeViewParams in interface UIOutcomeTarget- Specified by:
isIncludeViewParams in interface MenuItem
setIncludeViewParams
public void setIncludeViewParams(boolean includeViewParams)
getFragment
public String getFragment()
- Specified by:
getFragment in interface UIOutcomeTarget- Specified by:
getFragment in interface MenuItem
setFragment
public void setFragment(String fragment)
getParams
public Map<String,List<String>> getParams()
- Specified by:
getParams in interface UIOutcomeTarget- Specified by:
getParams in interface MenuItem
setParams
public void setParams(Map<String,List<String>> params)
setParam
public void setParam(String key,
Object value)
- Specified by:
setParam in interface MenuItem
shouldRenderChildren
public boolean shouldRenderChildren()
- Specified by:
shouldRenderChildren in interface MenuItem
getChildren
public List<javax.faces.component.UIComponent> getChildren()
- Specified by:
getChildren in interface UIOutcomeTarget
isDynamic
public boolean isDynamic()
- Specified by:
isDynamic in interface MenuItem
getCommand
public String getCommand()
- Specified by:
getCommand in interface MenuItem
setCommand
public void setCommand(String command)
isRendered
public boolean isRendered()
- Specified by:
isRendered in interface MenuElement
setRendered
public void setRendered(boolean rendered)
getOnstart
public String getOnstart()
- Specified by:
getOnstart in interface AjaxSource
setOnstart
public void setOnstart(String onstart)
getOnerror
public String getOnerror()
- Specified by:
getOnerror in interface AjaxSource
setOnerror
public void setOnerror(String onerror)
getOnsuccess
public String getOnsuccess()
- Specified by:
getOnsuccess in interface AjaxSource
setOnsuccess
public void setOnsuccess(String onsuccess)
getOncomplete
public String getOncomplete()
- Specified by:
getOncomplete in interface AjaxSource
setOncomplete
public void setOncomplete(String oncomplete)
getUpdate
public String getUpdate()
- Specified by:
getUpdate in interface AjaxSource
setUpdate
public void setUpdate(String update)
getProcess
public String getProcess()
- Specified by:
getProcess in interface AjaxSource
setProcess
public void setProcess(String process)
isPartialSubmit
public boolean isPartialSubmit()
- Specified by:
isPartialSubmit in interface AjaxSource
setPartialSubmit
public void setPartialSubmit(boolean partialSubmit)
isResetValues
public boolean isResetValues()
- Specified by:
isResetValues in interface AjaxSource
setResetValues
public void setResetValues(boolean resetValues)
isGlobal
public boolean isGlobal()
- Specified by:
isGlobal in interface AjaxSource
setGlobal
public void setGlobal(boolean global)
isAsync
public boolean isAsync()
- Specified by:
isAsync in interface AjaxSource
setAsync
public void setAsync(boolean async)
isPartialSubmitSet
public boolean isPartialSubmitSet()
- Specified by:
isPartialSubmitSet in interface AjaxSource
isResetValuesSet
public boolean isResetValuesSet()
- Specified by:
isResetValuesSet in interface AjaxSource
isIgnoreAutoUpdate
public boolean isIgnoreAutoUpdate()
- Specified by:
isIgnoreAutoUpdate in interface AjaxSource
setIgnoreAutoUpdate
public void setIgnoreAutoUpdate(boolean ignoreAutoUpdate)
isImmediate
public boolean isImmediate()
- Specified by:
isImmediate in interface MenuItem
setImmediate
public void setImmediate(boolean immediate)
isAjaxified
public boolean isAjaxified()
- Specified by:
isAjaxified in interface AjaxSource
Copyright © 2013. All rights reserved.