Class FloatingActionButton
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- javax.faces.component.UIPanel
-
- org.primefaces.component.menu.AbstractMenu
-
- org.primefaces.extensions.component.fab.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>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FloatingActionButton.PropertyKeys
-
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
-
-
Constructor Summary
Constructors Constructor Description FloatingActionButton()
-
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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors
-
-
-
-
Field Detail
-
COMPONENT_TYPE
public static final String COMPONENT_TYPE
- See Also:
- Constant Field Values
-
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
-
STYLE_CLASS
public static final String STYLE_CLASS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFamily
public String getFamily()
- Overrides:
getFamily
in classjavax.faces.component.UIPanel
-
getModel
public org.primefaces.model.menu.MenuModel getModel()
- Specified by:
getModel
in classorg.primefaces.component.menu.AbstractMenu
-
getBehaviorEventMapping
public Map<String,Class<? extends javax.faces.event.BehaviorEvent>> getBehaviorEventMapping()
- Specified by:
getBehaviorEventMapping
in interfaceorg.primefaces.component.api.PrimeClientBehaviorHolder
-
getEventNames
public Collection<String> getEventNames()
- Specified by:
getEventNames
in interfacejavax.faces.component.behavior.ClientBehaviorHolder
- Overrides:
getEventNames
in classjavax.faces.component.UIComponentBase
-
getDefaultEventName
public String getDefaultEventName()
- Specified by:
getDefaultEventName
in interfacejavax.faces.component.behavior.ClientBehaviorHolder
- Overrides:
getDefaultEventName
in classjavax.faces.component.UIComponentBase
-
processDecodes
public void processDecodes(javax.faces.context.FacesContext context)
- Overrides:
processDecodes
in classjavax.faces.component.UIComponentBase
-
processValidators
public void processValidators(javax.faces.context.FacesContext context)
- Overrides:
processValidators
in classjavax.faces.component.UIComponentBase
-
processUpdates
public void processUpdates(javax.faces.context.FacesContext context)
- Overrides:
processUpdates
in classjavax.faces.component.UIComponentBase
-
setModel
public void setModel(org.primefaces.model.menu.MenuModel model)
-
getTabindex
public String getTabindex()
- Overrides:
getTabindex
in classorg.primefaces.component.menu.AbstractMenu
-
setTabindex
public void setTabindex(String tabindex)
- Overrides:
setTabindex
in classorg.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)
-
-