Class FloatingActionButton

  • All Implemented Interfaces:
    EventListener, javax.faces.component.behavior.ClientBehaviorHolder, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, org.primefaces.component.api.MenuItemAware, org.primefaces.component.api.PrimeClientBehaviorHolder, org.primefaces.component.api.Widget

    public class FloatingActionButton
    extends org.primefaces.component.menu.AbstractMenu
    implements org.primefaces.component.api.Widget, javax.faces.component.behavior.ClientBehaviorHolder, org.primefaces.component.api.PrimeClientBehaviorHolder
    FloatingActionButton component.
    Since:
    7.0.1
    Author:
    Jasper de Vries <jepsar@gmail.com>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String COMPONENT_FAMILY  
      static String COMPONENT_TYPE  
      static String DEFAULT_RENDERER  
      static String STYLE_CLASS  
      • Fields inherited from class org.primefaces.component.menu.AbstractMenu

        LIST_CLASS, MENUITEM_CLASS, MENUITEM_ICON_CLASS, MENUITEM_LINK_CLASS, MENUITEM_TEXT_CLASS, OPTIONS_CLASS, SEPARATOR_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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Map<String,​Class<? extends javax.faces.event.BehaviorEvent>> getBehaviorEventMapping()  
      String getDefaultEventName()  
      Collection<String> getEventNames()  
      String getFamily()  
      String getIcon()  
      String getIconActive()  
      org.primefaces.model.menu.MenuModel getModel()  
      String getStyle()  
      String getStyleClass()  
      String getTabindex()  
      String getWidgetVar()  
      boolean isKeepOpen()  
      void processDecodes​(javax.faces.context.FacesContext context)  
      void processUpdates​(javax.faces.context.FacesContext context)  
      void processValidators​(javax.faces.context.FacesContext context)  
      void setIcon​(String icon)  
      void setIconActive​(String iconActive)  
      void setKeepOpen​(boolean keepOpen)  
      void setModel​(org.primefaces.model.menu.MenuModel model)  
      void setStyle​(String style)  
      void setStyleClass​(String styleClass)  
      void setTabindex​(String tabindex)  
      void setWidgetVar​(String widgetVar)  
      • Methods inherited from class org.primefaces.component.menu.AbstractMenu

        broadcast, getElements, getElementsCount, isDynamic
      • Methods inherited from class javax.faces.component.UIComponentBase

        addClientBehavior, addFacesListener, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, 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 interface javax.faces.component.behavior.ClientBehaviorHolder

        addClientBehavior, getClientBehaviors
      • Methods inherited from interface org.primefaces.component.api.MenuItemAware

        broadcastMenuActionEvent
      • Methods inherited from interface org.primefaces.component.api.Widget

        resolveWidgetVar, resolveWidgetVar
    • Constructor Detail

      • FloatingActionButton

        public FloatingActionButton()
    • Method Detail

      • getFamily

        public String getFamily()
        Overrides:
        getFamily in class javax.faces.component.UIPanel
      • getModel

        public org.primefaces.model.menu.MenuModel getModel()
        Specified by:
        getModel in class org.primefaces.component.menu.AbstractMenu
      • getBehaviorEventMapping

        public Map<String,​Class<? extends javax.faces.event.BehaviorEvent>> getBehaviorEventMapping()
        Specified by:
        getBehaviorEventMapping in interface org.primefaces.component.api.PrimeClientBehaviorHolder
      • getEventNames

        public Collection<String> getEventNames()
        Specified by:
        getEventNames in interface javax.faces.component.behavior.ClientBehaviorHolder
        Overrides:
        getEventNames in class javax.faces.component.UIComponentBase
      • getDefaultEventName

        public String getDefaultEventName()
        Specified by:
        getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHolder
        Overrides:
        getDefaultEventName in class javax.faces.component.UIComponentBase
      • processDecodes

        public void processDecodes​(javax.faces.context.FacesContext context)
        Overrides:
        processDecodes in class javax.faces.component.UIComponentBase
      • processValidators

        public void processValidators​(javax.faces.context.FacesContext context)
        Overrides:
        processValidators in class javax.faces.component.UIComponentBase
      • processUpdates

        public void processUpdates​(javax.faces.context.FacesContext context)
        Overrides:
        processUpdates in class javax.faces.component.UIComponentBase
      • setModel

        public void setModel​(org.primefaces.model.menu.MenuModel model)
      • getTabindex

        public String getTabindex()
        Overrides:
        getTabindex in class org.primefaces.component.menu.AbstractMenu
      • setTabindex

        public void setTabindex​(String tabindex)
        Overrides:
        setTabindex in class org.primefaces.component.menu.AbstractMenu
      • getIcon

        public String getIcon()
      • setIcon

        public void setIcon​(String icon)
      • getIconActive

        public String getIconActive()
      • setIconActive

        public void setIconActive​(String iconActive)
      • isKeepOpen

        public boolean isKeepOpen()
      • setKeepOpen

        public void setKeepOpen​(boolean keepOpen)
      • getWidgetVar

        public String getWidgetVar()
      • setWidgetVar

        public void setWidgetVar​(String widgetVar)
      • getStyle

        public String getStyle()
      • setStyle

        public void setStyle​(String style)
      • getStyleClass

        public String getStyleClass()
      • setStyleClass

        public void setStyleClass​(String styleClass)