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,RTLAware,Widget
- Direct Known Subclasses:
MenuButton
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class org.primefaces.component.menu.AbstractMenu
END_CLASS, LIST_CLASS, MENU_RTL_CLASS, MENUITEM_CLASS, MENUITEM_ICON_CLASS, MENUITEM_LINK_CLASS, MENUITEM_TEXT_CLASS, OPTIONS_CLASS, START_CLASS, SUBMENU_DOWN_ICON_CLASS, SUBMENU_LEFT_ICON_CLASS, SUBMENU_LINK_CLASS, SUBMENU_RIGHT_ICON_CLASS, TIERED_CHILD_SUBMENU_CLASS, TIERED_SUBMENU_CLASSFields inherited from class javax.faces.component.UIPanel
COMPONENT_TYPEFields 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_KEYFields inherited from interface org.primefaces.component.api.MenuItemAware
PARAMS_ACTION_EVENT, PARAMS_EMPTY, PARAMS_MENU_ACTION_EVENTFields inherited from interface org.primefaces.component.api.Widget
ATTR_WIDGET_VAR_PATTERN, CALLBACK_POST_CONSTRUCT, CALLBACK_POST_REFRESH, CALLBACK_PRE_DESTROY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetDelay()getIcon()getModel()getStyle()getTitle()getValue()booleanbooleanvoidsetAppendTo(String appendTo) voidsetAriaLabel(String ariaLabel) voidsetButtonStyle(String buttonStyle) voidsetButtonStyleClass(String buttonStyleClass) voidsetCollision(String collision) voidsetDelay(int delay) voidsetDisabled(boolean disabled) voidsetDisableOnAjax(boolean disableOnAjax) voidvoidsetIconPos(String iconPos) voidsetMaxHeight(String maxHeight) voidsetMenuStyleClass(String menuStyleClass) voidvoidvoidsetStyleClass(String styleClass) voidvoidvoidsetWidgetVar(String widgetVar) Methods inherited from class org.primefaces.component.menu.AbstractMenu
broadcast, getDir, getElements, getElementsCount, getHideDelay, getShowDelay, getTabindex, getToggleEvent, isAutoDisplay, isDynamic, setAutoDisplay, setDir, setHideDelay, setShowDelay, setTabindex, setToggleEventMethods 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, unsubscribeFromEventMethods 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, visitTreeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.primefaces.component.api.MenuItemAware
broadcastMenuActionEventMethods inherited from interface org.primefaces.component.api.Widget
resolveWidgetVar, resolveWidgetVar
-
Field Details
-
COMPONENT_FAMILY
- See Also:
-
DEFAULT_RENDERER
- See Also:
-
-
Constructor Details
-
MenuButtonBase
public MenuButtonBase()
-
-
Method Details
-
getFamily
- Overrides:
getFamilyin classjavax.faces.component.UIPanel
-
getWidgetVar
-
setWidgetVar
-
getModel
- Specified by:
getModelin classAbstractMenu
-
getValue
-
setValue
-
getStyle
-
setStyle
-
getStyleClass
-
setStyleClass
-
isDisabled
public boolean isDisabled() -
setDisabled
public void setDisabled(boolean disabled) -
getIcon
-
setIcon
-
getIconPos
-
setIconPos
-
getAppendTo
-
setAppendTo
-
getMenuStyleClass
-
setMenuStyleClass
-
getTitle
-
setTitle
-
getAriaLabel
-
setAriaLabel
-
getCollision
-
setCollision
-
getMaxHeight
-
setMaxHeight
-
getDelay
public int getDelay() -
setDelay
public void setDelay(int delay) -
getButtonStyle
-
setButtonStyle
-
getButtonStyleClass
-
setButtonStyleClass
-
isDisableOnAjax
public boolean isDisableOnAjax() -
setDisableOnAjax
public void setDisableOnAjax(boolean disableOnAjax)
-