Package org.primefaces.component.submenu
Class UISubmenuBase
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- org.primefaces.component.submenu.UISubmenuBase
-
- 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
,MenuElement
,MenuGroup
,Submenu
- Direct Known Subclasses:
UISubmenu
public abstract class UISubmenuBase extends javax.faces.component.UIComponentBase implements Submenu
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UISubmenuBase.PropertyKeys
-
Field Summary
Fields Modifier and Type Field Description static String
COMPONENT_FAMILY
-
Constructor Summary
Constructors Constructor Description UISubmenuBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFamily()
String
getIcon()
String
getLabel()
String
getStyle()
String
getStyleClass()
boolean
isDisabled()
boolean
isExpanded()
void
setDisabled(boolean disabled)
void
setExpanded(boolean expanded)
void
setIcon(String icon)
void
setLabel(String label)
void
setStyle(String style)
void
setStyleClass(String styleClass)
-
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, 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.model.menu.MenuElement
getId, isRendered, setId
-
Methods inherited from interface org.primefaces.model.menu.MenuGroup
getElements, getElementsCount
-
Methods inherited from interface org.primefaces.model.menu.Submenu
getClientId, getParent
-
-
-
-
Field Detail
-
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFamily
public String getFamily()
- Specified by:
getFamily
in classjavax.faces.component.UIComponent
-
setLabel
public void setLabel(String label)
-
isDisabled
public boolean isDisabled()
- Specified by:
isDisabled
in interfaceSubmenu
-
setDisabled
public void setDisabled(boolean disabled)
-
setIcon
public void setIcon(String icon)
-
setStyle
public void setStyle(String style)
-
getStyleClass
public String getStyleClass()
- Specified by:
getStyleClass
in interfaceSubmenu
-
setStyleClass
public void setStyleClass(String styleClass)
-
isExpanded
public boolean isExpanded()
- Specified by:
isExpanded
in interfaceSubmenu
-
setExpanded
public void setExpanded(boolean expanded)
-
-