|
||||||||||
| 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 | |
|---|---|
protected static java.lang.String |
_SELECT_ALL_TEXT_KEY
|
protected static java.lang.String |
_SELECT_NONE_TEXT_KEY
|
static java.lang.String |
LINKS_DIVIDER_TEXT
|
| Fields inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.TableRenderer |
|---|
DEFAULT_REPEAT_CONTROL_BAR |
| 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(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected java.lang.String |
getControlLinkIconName(java.lang.String translationKey)
|
protected java.lang.String |
getHeight(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected java.lang.String |
getSummary(javax.faces.component.UIComponent component,
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 rc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component)
Should we render the select-all/none links? |
protected boolean |
isAutoSubmit(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
Tells whether or not the autoSubmit attribute is set on the bean |
protected void |
renderCellFormatAttributes(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
TableRenderingContext tContext)
|
protected void |
renderColumnHeader(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
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 rc,
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 rc,
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 rc,
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 rc,
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 rc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component)
|
protected void |
renderRangePagingControl(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
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 rc,
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 rc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component)
|
protected void |
renderSingleRow(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component)
|
protected void |
renderSubControlBar(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
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 rc,
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 rc,
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 rc,
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, getDefaultStyleClass, getEmptyText, getHeaderFormatClass, getPartialRowKeys, getRendersChildren, getRowHeaderFormatClass, getSharedHideShowNode, getSharedNavBarRenderer, getWidth, renderNavigationFooterBars, renderNavigationHeaderBars, renderSpecialColumns, renderTableWithoutColumns, setSelectionResourceKeyMap, shouldRenderId |
| Methods inherited from class org.apache.myfaces.trinidad.render.CoreRenderer |
|---|
afterEncode, beforeEncode, decode, decodeBehaviors, delegateRenderer, delegateRendererBegin, delegateRendererEnd, encodeAllChildren, encodeBegin, encodeBegin, encodeChild, encodeChildren, encodeComponentResources, encodeEnd, encodeEnd, getBehaviorParameters, getClientId, getFacesBean, getFacet, getNextRenderedChildIndex, getRenderedChildCount, getRenderedFacetsAndChildren, getRenderingProperty, hasRenderedChildren, isDesktop, isGecko, isGenericPDA, isIE, isInaccessibleMode, isIPhone, isKonqueror, isNokiaS60, isOpera, isPDA, isScreenReaderMode, isWebKit, partialEncodeVisit, renderEncodedActionURI, renderEncodedResourceURI, renderId, renderStyleClass, renderStyleClasses, setRenderingProperty, setupChildrenEncodingContext, setupEncodingContext, setupEncodingContext, tearDownChildrenEncodingContext, tearDownEncodingContext, tearDownEncodingContext, toActionUri, toChar, toInt, toLong, toResourceUri, toString, toUri, visitChildrenForEncoding |
| 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 |
|---|
protected static final java.lang.String _SELECT_ALL_TEXT_KEY
protected static final java.lang.String _SELECT_NONE_TEXT_KEY
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 rc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component)
throws java.io.IOException
renderSingleRow in class TableRendererjava.io.IOException
protected void renderSelectionLinks(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
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 rc,
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 rc,
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 rc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component,
boolean isUpper)
throws java.io.IOException
TableRenderer
renderSubControlBar in class TableRendererjava.io.IOException
protected void renderTableContent(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component)
throws java.io.IOException
TableRenderer
renderTableContent in class TableRendererjava.io.IOException
protected final void renderControlBar(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component)
throws java.io.IOException
TableRenderer
renderControlBar in class TableRendererjava.io.IOException
protected void renderRangePagingControl(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component)
throws java.io.IOException
java.io.IOExceptionprotected java.lang.Object getTablePadding(javax.faces.component.UIComponent component)
protected void renderTableRows(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
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 rc,
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 TableRendererjava.io.IOException
protected void renderCellFormatAttributes(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
TableRenderingContext tContext)
throws java.io.IOException
java.io.IOException
protected final void renderEmptyTableRow(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
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 rc,
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 rc,
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 rc,
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 rc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component)
throws java.io.IOException
java.io.IOExceptionprotected java.lang.String getControlLinkIconName(java.lang.String translationKey)
protected java.lang.String getSummary(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
protected java.lang.String getHeight(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
protected boolean isAutoSubmit(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
bean - the bean
protected boolean getAllDetailsEnabled(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||