|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.render.Renderer
org.apache.myfaces.trinidad.render.CoreRenderer
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.TableRenderer
org.apache.myfaces.trinidadinternal.renderkit.core.desktop.DesktopTableRenderer
public class DesktopTableRenderer
Field Summary | |
---|---|
static java.lang.String |
LINKS_DIVIDER_TEXT
|
Fields inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer |
---|
TRANSPARENT_GIF |
Fields inherited from class org.apache.myfaces.trinidad.render.CoreRenderer |
---|
CHAR_UNDEFINED, NO_CHILD_INDEX |
Constructor Summary | |
---|---|
|
DesktopTableRenderer()
|
protected |
DesktopTableRenderer(org.apache.myfaces.trinidad.bean.FacesBean.Type type)
|
Method Summary | |
---|---|
protected void |
findTypeConstants(org.apache.myfaces.trinidad.bean.FacesBean.Type type)
|
protected boolean |
getAllDetailsEnabled(org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected java.lang.String |
getHeight(org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected java.lang.String |
getSummary(org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected java.lang.Object |
getTablePadding(javax.faces.component.UIComponent component)
|
protected boolean |
hasControlBarLinks(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component)
Should we render the select-all/none links? |
protected void |
renderCellFormatAttributes(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
TableRenderingContext tContext)
|
protected void |
renderColumnHeader(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component)
render the complete column header, including the special columns (like select,details,...) and the regular table columns |
protected void |
renderControlBar(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component)
Renders the control bar |
protected void |
renderControlBarLink(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
java.lang.String onclick,
java.lang.String translationKey,
java.lang.String id,
boolean hasDivider)
|
protected void |
renderControlBarLinks(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
TableRenderingContext trc,
javax.faces.component.UIComponent component,
boolean useDivider)
|
protected void |
renderEmptyTableRow(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
TableRenderingContext tContext,
int specialColumnCount)
Renders a row for an empty table. |
protected void |
renderEmptyTableRow(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
TableRenderingContext tContext,
int specialColumnCount,
org.apache.myfaces.trinidad.render.CoreRenderer emptyTextRenderer)
|
protected void |
renderFooter(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component)
|
protected void |
renderRangePagingControl(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component)
Render the next, previous links and the choicebar |
protected void |
renderRegularHeaders(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component,
int physicalCol)
renders the regular table column headers. |
protected void |
renderSelectionLinks(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component)
|
protected void |
renderSingleRow(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component)
|
protected void |
renderSubControlBar(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component,
boolean isUpper)
Render sthe area with the filter and links, if necessary |
protected void |
renderTableAttributes(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean,
java.lang.Object cellPadding,
java.lang.Object border)
renders attributes on the outermost table element. |
protected void |
renderTableContent(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component)
Renders the actual table content, with headers |
protected void |
renderTableRows(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
TableRenderingContext trc,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.TableRenderer |
---|
createRangeChangeEvent, createRenderingContext, createResourceKeyMap, decode, decodeSelection, encodeAll, getEmptyText, getHeaderFormatClass, getRendersChildren, getRowHeaderFormatClass, getSharedHideShowNode, getSharedNavBarRenderer, getWidth, renderNavigationHeaderBars, renderSpecialColumns, renderTableWithoutColumns, setSelectionResourceKeyMap, shouldRenderId |
Methods inherited from class org.apache.myfaces.trinidad.render.CoreRenderer |
---|
delegateRenderer, delegateRendererBegin, delegateRendererEnd, encodeAllChildren, encodeBegin, encodeBegin, encodeChild, encodeChildren, encodeEnd, encodeEnd, getClientId, getFacesBean, getFacet, getNextRenderedChildIndex, getRenderedChildCount, getRenderingProperty, hasRenderedChildren, isDesktop, isGecko, isIE, isInaccessibleMode, isPDA, isScreenReaderMode, renderEncodedActionURI, renderEncodedResourceURI, renderId, renderStyleClass, renderStyleClasses, setRenderingProperty, toChar, toInt, toLong, toString, toUri |
Methods inherited from class javax.faces.render.Renderer |
---|
convertClientId, getConvertedValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String LINKS_DIVIDER_TEXT
Constructor Detail |
---|
protected DesktopTableRenderer(org.apache.myfaces.trinidad.bean.FacesBean.Type type)
public DesktopTableRenderer()
Method Detail |
---|
protected void findTypeConstants(org.apache.myfaces.trinidad.bean.FacesBean.Type type)
findTypeConstants
in class TableRenderer
protected final void renderSingleRow(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, TableRenderingContext tContext, javax.faces.component.UIComponent component) throws java.io.IOException
renderSingleRow
in class TableRenderer
java.io.IOException
protected void renderSelectionLinks(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, TableRenderingContext tContext, javax.faces.component.UIComponent component) throws java.io.IOException
java.io.IOException
protected boolean hasControlBarLinks(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, TableRenderingContext tContext, javax.faces.component.UIComponent component) throws java.io.IOException
java.io.IOException
protected void renderControlBarLinks(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, TableRenderingContext trc, javax.faces.component.UIComponent component, boolean useDivider) throws java.io.IOException
context
- arc
- component
- useDivider
- whether to render a divider after all the links
java.io.IOException
protected final void renderControlBarLink(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, java.lang.String onclick, java.lang.String translationKey, java.lang.String id, boolean hasDivider) throws java.io.IOException
java.io.IOException
protected void renderSubControlBar(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, TableRenderingContext tContext, javax.faces.component.UIComponent component, boolean isUpper) throws java.io.IOException
TableRenderer
renderSubControlBar
in class TableRenderer
java.io.IOException
protected void renderTableContent(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, TableRenderingContext tContext, javax.faces.component.UIComponent component) throws java.io.IOException
TableRenderer
renderTableContent
in class TableRenderer
java.io.IOException
protected final void renderControlBar(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, TableRenderingContext tContext, javax.faces.component.UIComponent component) throws java.io.IOException
TableRenderer
renderControlBar
in class TableRenderer
java.io.IOException
protected void renderRangePagingControl(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, TableRenderingContext tContext, javax.faces.component.UIComponent component) throws java.io.IOException
java.io.IOException
protected java.lang.Object getTablePadding(javax.faces.component.UIComponent component)
protected void renderTableRows(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, TableRenderingContext trc, javax.faces.component.UIComponent component, org.apache.myfaces.trinidad.bean.FacesBean bean) throws java.io.IOException
java.io.IOException
protected void renderTableAttributes(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, javax.faces.component.UIComponent component, org.apache.myfaces.trinidad.bean.FacesBean bean, java.lang.Object cellPadding, java.lang.Object border) throws java.io.IOException
renderTableAttributes
in class TableRenderer
java.io.IOException
protected void renderCellFormatAttributes(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, TableRenderingContext tContext) throws java.io.IOException
java.io.IOException
protected final void renderEmptyTableRow(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, TableRenderingContext tContext, int specialColumnCount) throws java.io.IOException
specialColumnCount
- The number of special columns in this table.
java.io.IOException
protected final void renderEmptyTableRow(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, TableRenderingContext tContext, int specialColumnCount, org.apache.myfaces.trinidad.render.CoreRenderer emptyTextRenderer) throws java.io.IOException
java.io.IOException
protected final void renderColumnHeader(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, TableRenderingContext tContext, javax.faces.component.UIComponent component) throws java.io.IOException
java.io.IOException
protected final void renderRegularHeaders(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, TableRenderingContext tContext, javax.faces.component.UIComponent component, int physicalCol) throws java.io.IOException
java.io.IOException
protected final void renderFooter(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, TableRenderingContext tContext, javax.faces.component.UIComponent component) throws java.io.IOException
java.io.IOException
protected java.lang.String getSummary(org.apache.myfaces.trinidad.bean.FacesBean bean)
protected java.lang.String getHeight(org.apache.myfaces.trinidad.bean.FacesBean bean)
protected boolean getAllDetailsEnabled(org.apache.myfaces.trinidad.bean.FacesBean bean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |