public abstract class ToolbarRendererBase extends RendererBase
| Modifier and Type | Class and Description |
|---|---|
static class |
ToolbarRendererBase.ItemSeparators |
static class |
ToolbarRendererBase.Locations |
| Modifier and Type | Field and Description |
|---|---|
static Map<String,ComponentAttribute> |
ITEMS_HANDLER_ATTRIBUTES |
static String |
RENDERER_TYPE |
| Constructor and Description |
|---|
ToolbarRendererBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
encodeChildren(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected String |
encodeClientItemID(javax.faces.component.UIComponent component) |
protected Class<? extends javax.faces.component.UIComponent> |
getComponentClass()
Get base component slass , targetted for this renderer.
|
protected String |
getHeightToolbar(javax.faces.component.UIComponent component) |
protected Map<String,Object> |
getOptions(javax.faces.component.UIComponent component) |
boolean |
getRendersChildren() |
protected String |
getWidthToolbar(javax.faces.component.UIComponent component) |
protected void |
insertDefaultSeparatorIfNeed(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer)
Inserts default separator.
|
protected void |
insertSeparatorIfNeed(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer)
Inserts separator between toolbar items.
|
protected boolean |
isPropertyRendered(String property) |
protected void |
renderColElements(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
concatClasses, concatStyles, decode, doDecode, doEncodeBegin, doEncodeChildren, doEncodeEnd, encodeBegin, encodeEnd, getResourcePath, getSkin, getUtils, preDecode, preEncodeBegin, queueComponentEventForBehaviorEvent, renderChildrenpublic static final String RENDERER_TYPE
public static final Map<String,ComponentAttribute> ITEMS_HANDLER_ATTRIBUTES
protected void renderColElements(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws IOException
IOExceptionpublic void encodeChildren(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws IOException
encodeChildren in class RendererBaseIOExceptionprotected void insertSeparatorIfNeed(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer)
throws IOException
context - - faces contextcomponent - - componentwriter - - response writerIOException - - in case of IOException during writing to the ResponseWriterprotected void insertDefaultSeparatorIfNeed(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer)
throws IOException
context - - faces contextcomponent - - componentwriter - - response writerIOException - - in case of IOException during writing to the ResponseWriterprotected Class<? extends javax.faces.component.UIComponent> getComponentClass()
RendererBasegetComponentClass in class RendererBasepublic boolean getRendersChildren()
getRendersChildren in class javax.faces.render.Rendererprotected boolean isPropertyRendered(String property)
protected String getWidthToolbar(javax.faces.component.UIComponent component)
protected String getHeightToolbar(javax.faces.component.UIComponent component)
protected String encodeClientItemID(javax.faces.component.UIComponent component)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.