@Generated(value={"RichFaces CDK","4.3.0.20121024-M2"}) public class UIMenuItem extends AbstractMenuItem implements javax.faces.component.behavior.ClientBehaviorHolder
The <rich:menuItem> component represents a single item in a menu control. The <rich:menuItem> component can be also be used as a seperate component without a parent menu component, such as on a toolbar.
| Modifier and Type | Class and Description |
|---|---|
protected static class |
UIMenuItem.Properties |
AbstractMenuItem.Facets| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
CSS_ROOT_DEFAULT| Constructor and Description |
|---|
UIMenuItem() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getData() |
String |
getDefaultEventName() |
String |
getDir() |
Collection<String> |
getEventNames() |
Object |
getExecute() |
String |
getFamily() |
String |
getIcon()
The icon to be displayed with the menu item
|
String |
getIconDisabled()
The icon to be displayed with the menu item when it is disabled
|
Object |
getLabel()
The text label for the menu item.
|
String |
getLang() |
org.richfaces.component.Mode |
getMode()
Determines how the menu item requests are submitted.
|
String |
getOnbeforedomupdate() |
String |
getOnbegin() |
String |
getOnclick() |
String |
getOncomplete() |
String |
getOndblclick() |
String |
getOnkeydown() |
String |
getOnkeypress() |
String |
getOnkeyup() |
String |
getOnmousedown() |
String |
getOnmousemove() |
String |
getOnmouseout() |
String |
getOnmouseover() |
String |
getOnmouseup() |
Object |
getRender() |
String |
getStatus() |
String |
getStyle() |
String |
getStyleClass() |
String |
getTitle() |
Object |
getValue() |
boolean |
isBypassUpdates()
If "true", after process validations phase it skips updates of model beans on a force render response.
|
boolean |
isDisabled()
Disables the menu component, so it will not be clickable
|
boolean |
isLimitRender() |
void |
setBypassUpdates(boolean bypassUpdates) |
void |
setData(Object data) |
void |
setDir(String dir) |
void |
setDisabled(boolean disabled) |
void |
setExecute(Object execute) |
void |
setIcon(String icon) |
void |
setIconDisabled(String iconDisabled) |
void |
setLabel(Object label) |
void |
setLang(String lang) |
void |
setLimitRender(boolean limitRender) |
void |
setMode(org.richfaces.component.Mode mode) |
void |
setOnbeforedomupdate(String onbeforedomupdate) |
void |
setOnbegin(String onbegin) |
void |
setOnclick(String onclick) |
void |
setOncomplete(String oncomplete) |
void |
setOndblclick(String ondblclick) |
void |
setOnkeydown(String onkeydown) |
void |
setOnkeypress(String onkeypress) |
void |
setOnkeyup(String onkeyup) |
void |
setOnmousedown(String onmousedown) |
void |
setOnmousemove(String onmousemove) |
void |
setOnmouseout(String onmouseout) |
void |
setOnmouseover(String onmouseover) |
void |
setOnmouseup(String onmouseup) |
void |
setRender(Object render) |
void |
setStatus(String status) |
void |
setStyle(String style) |
void |
setStyleClass(String styleClass) |
void |
setTitle(String title) |
void |
setValue(Object value) |
getCssRootqueueEventaddActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, isImmediate, removeActionListener, setAction, setActionExpression, setActionListener, setImmediateaddClientBehavior, addFacesListener, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, 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, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTreepublic static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily in class javax.faces.component.UICommandpublic 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 boolean isBypassUpdates()
AbstractActionComponentisBypassUpdates in class AbstractActionComponentpublic void setBypassUpdates(boolean bypassUpdates)
setBypassUpdates in class AbstractActionComponentpublic Object getData()
public void setData(Object data)
public String getDir()
public void setDir(String dir)
public boolean isDisabled()
AbstractMenuItemisDisabled in class AbstractMenuItempublic void setDisabled(boolean disabled)
public Object getExecute()
public void setExecute(Object execute)
public String getIcon()
AbstractMenuItemgetIcon in class AbstractMenuItempublic void setIcon(String icon)
public String getIconDisabled()
AbstractMenuItemgetIconDisabled in class AbstractMenuItempublic void setIconDisabled(String iconDisabled)
public Object getLabel()
AbstractMenuItemThe text label for the menu item. Alternatively, use the label facet to define content for the label
Default is server
getLabel in class AbstractMenuItempublic void setLabel(Object label)
public String getLang()
public void setLang(String lang)
public boolean isLimitRender()
public void setLimitRender(boolean limitRender)
public org.richfaces.component.Mode getMode()
AbstractMenuItemDetermines how the menu item requests are submitted. Valid values:
getMode in class AbstractMenuItempublic void setMode(org.richfaces.component.Mode mode)
public String getOnbeforedomupdate()
public void setOnbeforedomupdate(String onbeforedomupdate)
public String getOnbegin()
public void setOnbegin(String onbegin)
public String getOnclick()
public void setOnclick(String onclick)
public String getOncomplete()
public void setOncomplete(String oncomplete)
public String getOndblclick()
public void setOndblclick(String ondblclick)
public String getOnkeydown()
public void setOnkeydown(String onkeydown)
public String getOnkeypress()
public void setOnkeypress(String onkeypress)
public String getOnkeyup()
public void setOnkeyup(String onkeyup)
public String getOnmousedown()
public void setOnmousedown(String onmousedown)
public String getOnmousemove()
public void setOnmousemove(String onmousemove)
public String getOnmouseout()
public void setOnmouseout(String onmouseout)
public String getOnmouseover()
public void setOnmouseover(String onmouseover)
public String getOnmouseup()
public void setOnmouseup(String onmouseup)
public Object getRender()
public void setRender(Object render)
public String getStatus()
public void setStatus(String status)
public String getStyle()
public void setStyle(String style)
public String getStyleClass()
public void setStyleClass(String styleClass)
public String getTitle()
public void setTitle(String title)
public Object getValue()
getValue in class AbstractMenuItempublic void setValue(Object value)
setValue in class javax.faces.component.UICommandCopyright © 2012 JBoss by Red Hat. All Rights Reserved.