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,
PanelIcons icon,
String styleClass,
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,
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,
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
IOException
protected void encodeHeaderText(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, T component) throws IOException
IOException
protected void encodeHeaderTextValue(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, T component) throws IOException
IOException
public static void writeFacetOrAttr(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String attr, String facetName) throws IOException
IOException
public 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
IOException
protected abstract void encodeHeaderLeftIcon(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, T component) throws IOException
IOException
protected abstract void encodeHeaderRightIcon(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, T menuItem) throws IOException
IOException
protected void encodeTdIcon(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, String cssClass, String attrIconCollapsedValue, String attrIconExpandedValue, PanelIcons.State state) throws IOException
IOException
protected boolean isIconRendered(String attrIconValue)
protected void encodeIdIcon(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, String attrIconValue, String styleClass, PanelIcons.State state) throws IOException
IOException
public static void encodeDivIcon(javax.faces.context.ResponseWriter writer, PanelIcons icon, String styleClass, PanelIcons.State state) throws IOException
IOException
public static void encodeImage(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, String attrIconValue, String styleClass) throws IOException
IOException
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.