public abstract class AbstractPanelMenuItem extends AbstractActionComponent implements AjaxProps, BypassProps, DisabledProps, EventsMouseProps, StyleProps, StyleClassProps
The <rich:panelMenuItem> component represents a single item inside a <rich:panelMenuGroup> component, which is in turn part of a <rich:panelMenu> component.
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
Modifier | Constructor and Description |
---|---|
protected |
AbstractPanelMenuItem() |
Modifier and Type | Method and Description |
---|---|
String |
getDisabledClass()
Space-separated list of CSS style class(es) to be applied to the panel menu item when it is disabled.
|
Object |
getExecute()
IDs of components that will participate in the "execute" portion of the Request Processing Lifecycle.
|
String |
getFamily() |
abstract String |
getLabel()
A localized user presentable name for this component.
|
String |
getLeftDisabledIcon()
The icon displayed on the left of the menu item when it is disabled
|
String |
getLeftIcon()
The icon displayed on the left of the menu item label
|
abstract String |
getLeftIconClass()
Space-separated list of CSS style class(es) to be applied to the left icon of the panel menu item.
|
abstract PanelMenuMode |
getMode()
Mode used for selecting of this item: default value is inherited from panelMenu
|
String |
getName()
The name of this component
|
abstract String |
getOnbeforeselect()
The client-side script method to be called before the menu group is selected
|
abstract String |
getOnselect()
The client-side script method to be called after the menu group is selected
|
abstract String |
getOnunselect()
The client-side script method to be called after the menu group is unselected
|
AbstractPanelMenu |
getPanelMenu() |
javax.faces.component.UIComponent |
getParentItem() |
String |
getRightDisabledIcon()
The icon displayed on the right of the menu item when it is disabled
|
String |
getRightIcon()
The icon displayed on the right of the menu item label
|
abstract String |
getRightIconClass()
Space-separated list of CSS style class(es) to be applied to the right icon of the panel menu item.
|
abstract Boolean |
getSelectable()
Defines whenever the item is selectable.
|
String |
getStyleClass()
Space-separated list of CSS style class(es) to be applied when this element is rendered.
|
abstract Boolean |
getUnselectable() |
Object |
getValue() |
boolean |
isActiveItem() |
boolean |
isParentDisabled() |
boolean |
isTopItem() |
void |
setDisabledClass(String disabledClass) |
void |
setExecute(Object execute) |
void |
setLeftDisabledIcon(String leftDisabledIcon) |
void |
setLeftIcon(String leftIcon) |
void |
setName(String name) |
void |
setRightDisabledIcon(String rightDisabledIcon) |
void |
setRightIcon(String iconRight) |
void |
setStyleClass(String styleClass) |
void |
setValue(Object value) |
queueEvent
addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, isImmediate, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate
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
getOnbegin, getStatus
getData, getOnbeforedomupdate, getOncomplete, getRender, isLimitRender, isResetValues
isBypassUpdates
isDisabled
getOnclick, getOndblclick, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup
getStyle
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public boolean isActiveItem()
public boolean isTopItem()
public AbstractPanelMenu getPanelMenu()
public javax.faces.component.UIComponent getParentItem()
public String getFamily()
getFamily
in class javax.faces.component.UICommand
public abstract Boolean getSelectable()
public abstract Boolean getUnselectable()
public abstract PanelMenuMode getMode()
public String getName()
public void setName(String name)
public abstract String getLabel()
public boolean isParentDisabled()
public Object getExecute()
AjaxProps
getExecute
in interface AjaxProps
public void setExecute(Object execute)
public String getDisabledClass()
public void setDisabledClass(String disabledClass)
public String getLeftIcon()
public void setLeftIcon(String leftIcon)
public abstract String getLeftIconClass()
public String getLeftDisabledIcon()
public void setLeftDisabledIcon(String leftDisabledIcon)
public String getRightIcon()
public void setRightIcon(String iconRight)
public abstract String getRightIconClass()
public String getRightDisabledIcon()
public void setRightDisabledIcon(String rightDisabledIcon)
public String getStyleClass()
StyleClassProps
getStyleClass
in interface StyleClassProps
public void setStyleClass(String styleClass)
public abstract String getOnunselect()
public abstract String getOnselect()
public abstract String getOnbeforeselect()
public Object getValue()
getValue
in class javax.faces.component.UICommand
public void setValue(Object value)
setValue
in class javax.faces.component.UICommand
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.