Class MenuButtonBase
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- javax.faces.component.UIPanel
-
- org.primefaces.component.menu.AbstractMenu
-
- org.primefaces.component.menubutton.MenuButtonBase
-
- 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
,Widget
- Direct Known Subclasses:
MenuButton
public abstract class MenuButtonBase extends AbstractMenu implements Widget
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MenuButtonBase.PropertyKeys
-
Field Summary
Fields Modifier and Type Field Description static String
COMPONENT_FAMILY
static String
DEFAULT_RENDERER
-
Fields inherited from class org.primefaces.component.menu.AbstractMenu
LIST_CLASS, MENUITEM_CLASS, MENUITEM_ICON_CLASS, MENUITEM_LINK_CLASS, MENUITEM_TEXT_CLASS, OPTIONS_CLASS, SUBMENU_DOWN_ICON_CLASS, SUBMENU_LINK_CLASS, SUBMENU_RIGHT_ICON_CLASS, TIERED_CHILD_SUBMENU_CLASS, TIERED_SUBMENU_CLASS
-
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
-
Fields inherited from interface org.primefaces.component.api.Widget
ATTR_WIDGET_VAR_PATTERN, CALLBACK_POST_CONSTRUCT, CALLBACK_POST_REFRESH, CALLBACK_PRE_DESTROY
-
-
Constructor Summary
Constructors Constructor Description MenuButtonBase()
-
Method Summary
-
Methods inherited from class org.primefaces.component.menu.AbstractMenu
broadcast, getElements, getElementsCount, getTabindex, isDynamic, setTabindex
-
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
-
Methods inherited from interface org.primefaces.component.api.Widget
resolveWidgetVar, resolveWidgetVar
-
-
-
-
Field Detail
-
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
- See Also:
- Constant Field Values
-
DEFAULT_RENDERER
public static final String DEFAULT_RENDERER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFamily
public String getFamily()
- Overrides:
getFamily
in classjavax.faces.component.UIPanel
-
getWidgetVar
public String getWidgetVar()
-
setWidgetVar
public void setWidgetVar(String widgetVar)
-
getModel
public MenuModel getModel()
- Specified by:
getModel
in classAbstractMenu
-
setModel
public void setModel(MenuModel model)
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
getStyle
public String getStyle()
-
setStyle
public void setStyle(String style)
-
getStyleClass
public String getStyleClass()
-
setStyleClass
public void setStyleClass(String styleClass)
-
isDisabled
public boolean isDisabled()
-
setDisabled
public void setDisabled(boolean disabled)
-
getIcon
public String getIcon()
-
setIcon
public void setIcon(String icon)
-
getIconPos
public String getIconPos()
-
setIconPos
public void setIconPos(String iconPos)
-
getAppendTo
public String getAppendTo()
-
setAppendTo
public void setAppendTo(String appendTo)
-
getMenuStyleClass
public String getMenuStyleClass()
-
setMenuStyleClass
public void setMenuStyleClass(String menuStyleClass)
-
getTitle
public String getTitle()
-
setTitle
public void setTitle(String title)
-
getAriaLabel
public String getAriaLabel()
-
setAriaLabel
public void setAriaLabel(String ariaLabel)
-
getCollision
public String getCollision()
-
setCollision
public void setCollision(String collision)
-
getMaxHeight
public String getMaxHeight()
-
setMaxHeight
public void setMaxHeight(String maxHeight)
-
isAutoDisplay
public boolean isAutoDisplay()
-
setAutoDisplay
public void setAutoDisplay(boolean autoDisplay)
-
getToggleEvent
public String getToggleEvent()
-
setToggleEvent
public void setToggleEvent(String toggleEvent)
-
getDelay
public int getDelay()
-
setDelay
public void setDelay(int delay)
-
-