Class SerenityMenuRendererExtension
- java.lang.Object
-
- javax.faces.render.Renderer
-
- org.primefaces.renderkit.CoreRenderer
-
- org.primefaces.renderkit.OutcomeTargetRenderer
-
- org.primefaces.renderkit.MenuItemAwareRenderer
-
- org.primefaces.component.menu.BaseMenuRenderer
-
- org.primefaces.serenity.component.SerenityMenuRenderer
-
- de.xima.fc.gui.component.serenitymenu.SerenityMenuRendererExtension
-
public class SerenityMenuRendererExtension extends org.primefaces.serenity.component.SerenityMenuRenderer
Extends the serenity menu to provide support for icons from different icon fonts. Supports font awesome icons, material icons and formcycle font icons.- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description SerenityMenuRendererExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
encodeItemIcon(javax.faces.context.FacesContext context, String icon)
protected void
encodeToggleIcon(javax.faces.context.FacesContext context, org.primefaces.model.menu.Submenu submenu, int childrenElementsCount)
-
Methods inherited from class org.primefaces.serenity.component.SerenityMenuRenderer
encodeBadge, encodeElement, encodeElements, encodeMarkup, encodeMenuItem, encodeMenuItemContent, encodeScript, encodeSeparator, encodeSubmenu
-
Methods inherited from class org.primefaces.component.menu.BaseMenuRenderer
encodeChildren, encodeEnd, encodeKeyboardTarget, encodeMenuItem, encodeMenuItem, encodeOverlayConfig, getLinkStyleClass, getRendersChildren, shouldRenderId
-
Methods inherited from class org.primefaces.renderkit.MenuItemAwareRenderer
decode, decodeDynamicMenuItem, encodeOnClick, findMenuItemByCoordinates, findMenuItemById, setConfirmationScript
-
Methods inherited from class org.primefaces.renderkit.OutcomeTargetRenderer
containsEL, evaluateValueExpressions, findNavigationCase, getParams, getTargetRequestURL, getTargetURL, isExpression, isIncludeViewParams
-
Methods inherited from class org.primefaces.renderkit.CoreRenderer
buildAjaxRequest, buildAjaxRequest, buildAjaxRequest, buildDomEvent, buildNonAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, endsWithLenghtUnit, getEventBehaviors, getHighlighter, getResourceRequestPath, getResourceURL, getStyleBuilder, getStyleClassBuilder, getWidgetBuilder, isGrouped, isValueBlank, preConfiguredAjaxRequestBuilder, preConfiguredAjaxRequestBuilder, renderAttribute, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderHiddenInput, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteId
-
-
-
-
Method Detail
-
encodeItemIcon
protected void encodeItemIcon(javax.faces.context.FacesContext context, String icon) throws IOException
- Overrides:
encodeItemIcon
in classorg.primefaces.serenity.component.SerenityMenuRenderer
- Throws:
IOException
-
encodeToggleIcon
protected void encodeToggleIcon(javax.faces.context.FacesContext context, org.primefaces.model.menu.Submenu submenu, int childrenElementsCount) throws IOException
- Overrides:
encodeToggleIcon
in classorg.primefaces.serenity.component.SerenityMenuRenderer
- Throws:
IOException
-
-