Package org.primefaces.component.menu
Class AbstractMenu
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIPanel
org.primefaces.component.menu.AbstractMenu
- All Implemented Interfaces:
EventListener
,javax.faces.component.PartialStateHolder
,javax.faces.component.StateHolder
,javax.faces.component.TransientStateHolder
,javax.faces.event.ComponentSystemEventListener
,javax.faces.event.FacesListener
,javax.faces.event.SystemEventListenerHolder
,MenuItemAware
,RTLAware
- Direct Known Subclasses:
BreadCrumbBase
,ContextMenuBase
,DockBase
,MegaMenuBase
,MenubarBase
,MenuBase
,MenuButtonBase
,PanelMenuBase
,SlideMenuBase
,SpeedDialBase
,StackBase
,StepsBase
,TabMenuBase
,TieredMenuBase
public abstract class AbstractMenu
extends javax.faces.component.UIPanel
implements MenuItemAware, RTLAware
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class javax.faces.component.UIPanel
COMPONENT_FAMILY, COMPONENT_TYPE
Fields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
Fields inherited from interface org.primefaces.component.api.MenuItemAware
PARAMS_ACTION_EVENT, PARAMS_EMPTY, PARAMS_MENU_ACTION_EVENT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
broadcast
(javax.faces.event.FacesEvent event) getDir()
int
int
abstract MenuModel
getModel()
int
boolean
boolean
void
setAutoDisplay
(boolean autoDisplay) void
void
setHideDelay
(int hideDelay) void
setShowDelay
(int showDelay) void
setTabindex
(String tabindex) void
setToggleEvent
(String toggleEvent) Methods inherited from class javax.faces.component.UIPanel
getFamily
Methods inherited from class javax.faces.component.UIComponentBase
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, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
Methods inherited from class javax.faces.component.UIComponent
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.primefaces.component.api.MenuItemAware
broadcastMenuActionEvent
-
Field Details
-
LIST_CLASS
- See Also:
-
MENU_RTL_CLASS
- See Also:
-
MENUITEM_CLASS
- See Also:
-
MENUITEM_LINK_CLASS
- See Also:
-
MENUITEM_TEXT_CLASS
- See Also:
-
MENUITEM_ICON_CLASS
- See Also:
-
TIERED_SUBMENU_CLASS
- See Also:
-
TIERED_CHILD_SUBMENU_CLASS
- See Also:
-
SUBMENU_RIGHT_ICON_CLASS
- See Also:
-
SUBMENU_LEFT_ICON_CLASS
- See Also:
-
SUBMENU_DOWN_ICON_CLASS
- See Also:
-
SUBMENU_LINK_CLASS
- See Also:
-
OPTIONS_CLASS
- See Also:
-
START_CLASS
- See Also:
-
END_CLASS
- See Also:
-
-
Constructor Details
-
AbstractMenu
public AbstractMenu()
-
-
Method Details
-
getTabindex
-
setTabindex
-
isAutoDisplay
public boolean isAutoDisplay() -
setAutoDisplay
public void setAutoDisplay(boolean autoDisplay) -
getShowDelay
public int getShowDelay() -
setShowDelay
public void setShowDelay(int showDelay) -
getHideDelay
public int getHideDelay() -
setHideDelay
public void setHideDelay(int hideDelay) -
getToggleEvent
-
setToggleEvent
-
getDir
-
setDir
-
getElements
- Specified by:
getElements
in interfaceMenuItemAware
-
getElementsCount
public int getElementsCount() -
getModel
-
isDynamic
public boolean isDynamic() -
broadcast
public void broadcast(javax.faces.event.FacesEvent event) throws javax.faces.event.AbortProcessingException - Overrides:
broadcast
in classjavax.faces.component.UIComponentBase
- Throws:
javax.faces.event.AbortProcessingException
-