public class MenuItemRendererBase extends AjaxCommandRendererBase
Modifier and Type | Field and Description |
---|---|
static String |
RENDERER_TYPE |
Constructor and Description |
---|
MenuItemRendererBase() |
Modifier and Type | Method and Description |
---|---|
void |
doDecode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Template method for custom decoding of concrete renderer.
|
protected String |
getIconAttribute(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component) |
protected javax.faces.component.UIComponent |
getIconFacet(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component) |
protected AbstractMenuGroup |
getMenuGroup(javax.faces.component.UIComponent component)
Returns a parent
AbstractMenuGroup object of the given component. |
protected AbstractMenuContainer |
getMenuParent(javax.faces.component.UIComponent component)
Returns a parent
AbstractDropDownMenu object of the given component. |
String |
getOnClick(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
overridden due to
https://issues.jboss.org/browse/RF-10695 |
protected String |
getStyleClass(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
String menuParentStyle,
String menuGroupStyle,
String menuItemStyle) |
String |
getSubmitMode(javax.faces.component.UIComponent component) |
protected boolean |
isDisabled(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component) |
protected boolean |
isStringEmpty(String str)
It is introduced due to RF-10004 CDK: isEmpty method is generated incorrectly
|
protected Mode |
resolveSubmitMode(AbstractMenuItem menuItem) |
isSubmitted, queueComponentEventForBehaviorEvent
concatClasses, concatStyles, decode, doEncodeBegin, doEncodeChildren, doEncodeEnd, encodeBegin, encodeChildren, encodeEnd, getComponentClass, getResourcePath, getSkin, getUtils, isAlreadyRendered, preDecode, preEncodeBegin, renderChildren
public static final String RENDERER_TYPE
protected boolean isDisabled(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
protected javax.faces.component.UIComponent getIconFacet(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
protected String getIconAttribute(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
public void doDecode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
RendererBase
RendererBase.decode(FacesContext, UIComponent)
method.doDecode
in class AjaxCommandRendererBase
public String getOnClick(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
https://issues.jboss.org/browse/RF-10695
getOnClick
in class AjaxCommandRendererBase
context
- component
- protected Mode resolveSubmitMode(AbstractMenuItem menuItem)
protected String getStyleClass(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, String menuParentStyle, String menuGroupStyle, String menuItemStyle)
protected AbstractMenuContainer getMenuParent(javax.faces.component.UIComponent component)
AbstractDropDownMenu
object of the given component.component
- AbstractDropDownMenu
protected AbstractMenuGroup getMenuGroup(javax.faces.component.UIComponent component)
AbstractMenuGroup
object of the given component.component
- AbstractMenuGroup
protected boolean isStringEmpty(String str)
str
- public String getSubmitMode(javax.faces.component.UIComponent component)
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.