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 |
doEncodeChildren(javax.faces.context.ResponseWriter writer,
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, doEncodeEnd, encodeBegin, encodeChildren, encodeEnd, getResourcePath, getSkin, getUtils, isAlreadyRendered, preDecode, preEncodeBegin, queueComponentEventForBehaviorEvent, renderChildren
public 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
IOException
public void doEncodeChildren(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
doEncodeChildren
in class RendererBase
IOException
protected 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()
RendererBase
getComponentClass
in class RendererBase
public boolean getRendersChildren()
getRendersChildren
in class javax.faces.render.Renderer
protected 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 © 2015 JBoss by Red Hat. All Rights Reserved.