Class SplitButtonRenderer
java.lang.Object
javax.faces.render.Renderer
org.primefaces.renderkit.CoreRenderer
org.primefaces.renderkit.OutcomeTargetRenderer
org.primefaces.renderkit.MenuItemAwareRenderer
org.primefaces.component.splitbutton.SplitButtonRenderer
-
Field Summary
Fields inherited from class javax.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringbuildOnclick(javax.faces.context.FacesContext context, SplitButton button) voiddecode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) voidencodeChildren(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) protected voidencodeDefaultButton(javax.faces.context.FacesContext context, SplitButton button, String id) protected voidencodeElements(javax.faces.context.FacesContext context, SplitButton button, List<MenuElement> elements, boolean isSubmenu) voidencodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) protected voidencodeFilter(javax.faces.context.FacesContext context, SplitButton button) protected voidencodeMarkup(javax.faces.context.FacesContext context, SplitButton button) protected voidencodeMenu(javax.faces.context.FacesContext context, SplitButton button, String menuId) protected voidencodeMenuIcon(javax.faces.context.FacesContext context, SplitButton button, String id) protected voidencodeMenuItem(javax.faces.context.FacesContext context, SplitButton button, MenuItem menuitem) protected voidencodeScript(javax.faces.context.FacesContext context, SplitButton button) protected voidencodeSubmenu(javax.faces.context.FacesContext context, SplitButton button, Submenu submenu) booleanMethods inherited from class org.primefaces.renderkit.MenuItemAwareRenderer
decodeDynamicMenuItem, encodeOnClick, encodeSeparator, findMenuItemByCoordinates, findMenuItemById, setConfirmationScriptMethods inherited from class org.primefaces.renderkit.OutcomeTargetRenderer
containsEL, evaluateValueExpressions, findNavigationCase, getParams, getTargetRequestURL, getTargetURL, isExpression, isIncludeViewParamsMethods inherited from class org.primefaces.renderkit.CoreRenderer
buildAjaxRequest, buildAjaxRequest, buildAjaxRequest, buildDomEvent, buildNonAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, encodeIndexedId, endsWithLenghtUnit, getEventBehaviors, getHighlighter, getIconOnlyButtonText, getResourceRequestPath, getResourceURL, getStyleBuilder, getStyleClassBuilder, getWidgetBuilder, isGrouped, isValueBlank, logDevelopmentWarning, preConfiguredAjaxRequestBuilder, preConfiguredAjaxRequestBuilder, renderAttribute, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderHiddenInput, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteIdMethods inherited from class javax.faces.render.Renderer
convertClientId, encodeBegin, getConvertedValue
-
Constructor Details
-
SplitButtonRenderer
public SplitButtonRenderer()
-
-
Method Details
-
decode
public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) - Overrides:
decodein classMenuItemAwareRenderer
-
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException - Overrides:
encodeEndin classjavax.faces.render.Renderer- Throws:
IOException
-
encodeMarkup
protected void encodeMarkup(javax.faces.context.FacesContext context, SplitButton button) throws IOException - Throws:
IOException
-
encodeDefaultButton
protected void encodeDefaultButton(javax.faces.context.FacesContext context, SplitButton button, String id) throws IOException - Throws:
IOException
-
encodeMenuIcon
protected void encodeMenuIcon(javax.faces.context.FacesContext context, SplitButton button, String id) throws IOException - Throws:
IOException
-
encodeScript
protected void encodeScript(javax.faces.context.FacesContext context, SplitButton button) throws IOException - Throws:
IOException
-
buildOnclick
protected String buildOnclick(javax.faces.context.FacesContext context, SplitButton button) throws IOException - Throws:
IOException
-
encodeMenu
protected void encodeMenu(javax.faces.context.FacesContext context, SplitButton button, String menuId) throws IOException - Throws:
IOException
-
encodeElements
protected void encodeElements(javax.faces.context.FacesContext context, SplitButton button, List<MenuElement> elements, boolean isSubmenu) throws IOException - Throws:
IOException
-
encodeFilter
protected void encodeFilter(javax.faces.context.FacesContext context, SplitButton button) throws IOException - Throws:
IOException
-
encodeChildren
public void encodeChildren(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) throws IOException - Overrides:
encodeChildrenin classjavax.faces.render.Renderer- Throws:
IOException
-
getRendersChildren
public boolean getRendersChildren()- Overrides:
getRendersChildrenin classjavax.faces.render.Renderer
-