public abstract class TableIconsRendererHelper<T extends javax.faces.component.UIComponent> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
cssClassPrefix |
protected String |
cssIconsClassPrefix |
protected String |
text |
| Modifier | Constructor and Description |
|---|---|
protected |
TableIconsRendererHelper(String text,
String cssClassPrefix) |
protected |
TableIconsRendererHelper(String text,
String cssClassPrefix,
String cssIconsClassPrefix) |
| Modifier and Type | Method and Description |
|---|---|
static void |
encodeDivIcon(javax.faces.context.ResponseWriter writer,
org.richfaces.renderkit.util.PanelIcons icon,
String styleClass,
org.richfaces.renderkit.util.PanelIcons.State state) |
void |
encodeHeader(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
T component) |
protected abstract void |
encodeHeaderLeftIcon(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
T component) |
protected abstract void |
encodeHeaderRightIcon(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
T menuItem) |
protected void |
encodeHeaderText(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
T component) |
protected void |
encodeHeaderTextValue(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
T component) |
protected void |
encodeIdIcon(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
String attrIconValue,
String styleClass,
org.richfaces.renderkit.util.PanelIcons.State state) |
static void |
encodeImage(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
String attrIconValue,
String styleClass) |
protected void |
encodeTdIcon(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
String cssClass,
String attrIconCollapsedValue,
String attrIconExpandedValue,
org.richfaces.renderkit.util.PanelIcons.State state) |
protected boolean |
isIconRendered(String attrIconValue) |
static void |
writeFacetOrAttr(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
String attr,
String facetName) |
static void |
writeFacetOrAttr(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
String attr,
javax.faces.component.UIComponent headerFacet) |
protected final String text
protected final String cssClassPrefix
protected final String cssIconsClassPrefix
protected TableIconsRendererHelper(String text, String cssClassPrefix, String cssIconsClassPrefix)
public void encodeHeader(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
T component)
throws IOException
IOExceptionprotected void encodeHeaderText(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
T component)
throws IOException
IOExceptionprotected void encodeHeaderTextValue(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
T component)
throws IOException
IOExceptionpublic static void writeFacetOrAttr(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
String attr,
String facetName)
throws IOException
IOExceptionpublic static void writeFacetOrAttr(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
String attr,
javax.faces.component.UIComponent headerFacet)
throws IOException
IOExceptionprotected abstract void encodeHeaderLeftIcon(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
T component)
throws IOException
IOExceptionprotected abstract void encodeHeaderRightIcon(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
T menuItem)
throws IOException
IOExceptionprotected void encodeTdIcon(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
String cssClass,
String attrIconCollapsedValue,
String attrIconExpandedValue,
org.richfaces.renderkit.util.PanelIcons.State state)
throws IOException
IOExceptionprotected boolean isIconRendered(String attrIconValue)
protected void encodeIdIcon(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
String attrIconValue,
String styleClass,
org.richfaces.renderkit.util.PanelIcons.State state)
throws IOException
IOExceptionpublic static void encodeDivIcon(javax.faces.context.ResponseWriter writer,
org.richfaces.renderkit.util.PanelIcons icon,
String styleClass,
org.richfaces.renderkit.util.PanelIcons.State state)
throws IOException
IOExceptionpublic static void encodeImage(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
String attrIconValue,
String styleClass)
throws IOException
IOExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.