public abstract class AbstractMenuItem extends AbstractActionComponent implements AjaxProps, BypassProps, CoreProps, DisabledProps, EventsKeyProps, EventsMouseProps, I18nProps
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 |
---|---|
static class |
AbstractMenuItem.Facets |
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_TYPE |
static String |
CSS_ROOT_DEFAULT |
Constructor and Description |
---|
AbstractMenuItem() |
Modifier and Type | Method and Description |
---|---|
Object |
getCssRoot() |
abstract String |
getIcon()
The icon to be displayed with the menu item
|
abstract String |
getIconDisabled()
The icon to be displayed with the menu item when it is disabled
|
abstract Object |
getLabel()
The text label for the menu item.
|
abstract Mode |
getMode()
Determines how the menu item requests are submitted.
|
abstract Object |
getValue() |
queueEvent
addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getFamily, isImmediate, 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, getListenersForEventClass, getParent, getPassThroughAttributes, 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, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getData, getExecute, getOnbeforedomupdate, getOnbegin, getOncomplete, getRender, getStatus, isLimitRender
isBypassUpdates
getStyle, getStyleClass, getTitle
isDisabled
getOnkeydown, getOnkeypress, getOnkeyup
getOnclick, getOndblclick, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup
public static final String COMPONENT_TYPE
public static final String CSS_ROOT_DEFAULT
public abstract Mode getMode()
Determines how the menu item requests are submitted. Valid values:
public abstract Object getLabel()
The text label for the menu item. Alternatively, use the label facet to define content for the label
Default is server
public abstract String getIcon()
public abstract String getIconDisabled()
public abstract Object getValue()
getValue
in class javax.faces.component.UICommand
public Object getCssRoot()
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.