|
||||||||||
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
org.apache.myfaces.trinidadinternal.renderkit.core.desktop.TreeTableRenderer
public class TreeTableRenderer
Renderer for treeTable
Field Summary |
---|
Fields inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.desktop.DesktopTableRenderer |
---|
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 | |
---|---|
TreeTableRenderer()
|
Method Summary | |
---|---|
protected TableRenderingContext |
createRenderingContext(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
javax.faces.component.UIComponent component)
Creates the correct subclass of the TableRenderingContext to use for this Renderer. |
protected java.util.Map<java.lang.String,java.lang.String> |
createResourceKeyMap()
|
void |
decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
protected void |
encodeAll(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
render all pieces of the table |
protected void |
findTypeConstants(org.apache.myfaces.trinidad.bean.FacesBean.Type type)
|
protected SpecialColumnRenderer |
getFocusColumnRenderer()
|
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 boolean |
isExpandAllEnabled(javax.faces.component.UIComponent component)
|
protected boolean |
isImmediate(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected void |
renderControlBarLinks(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component,
boolean useDivider)
|
protected void |
renderNavigationHeaderBars(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
Render the navigation header bars, i.e. all the bars that appear above the actual data table including the breadcrumbs at the end. |
protected void |
renderRangePagingControl(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
TableRenderingContext tContext,
javax.faces.component.UIComponent table)
Render the next, previous links and the choicebar |
protected int |
renderSpecialColumns(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component,
int physicalColumnIndex)
used to render special column headers, like select and details. |
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)
render all the table rows |
protected boolean |
renderTableWithoutColumns(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component)
Render an empty table, if necessary. |
Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.desktop.DesktopTableRenderer |
---|
getAllDetailsEnabled, getHeight, getSummary, getTablePadding, renderCellFormatAttributes, renderColumnHeader, renderControlBar, renderControlBarLink, renderEmptyTableRow, renderEmptyTableRow, renderFooter, renderRegularHeaders, renderSelectionLinks, renderSingleRow, renderSubControlBar, renderTableAttributes, renderTableContent |
Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.TableRenderer |
---|
createRangeChangeEvent, decodeSelection, getEmptyText, getHeaderFormatClass, getRendersChildren, getRowHeaderFormatClass, getSharedHideShowNode, getSharedNavBarRenderer, getWidth, 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 |
Constructor Detail |
---|
public TreeTableRenderer()
Method Detail |
---|
protected void findTypeConstants(org.apache.myfaces.trinidad.bean.FacesBean.Type type)
findTypeConstants
in class DesktopTableRenderer
public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
decode
in class TableRenderer
protected TableRenderingContext createRenderingContext(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, javax.faces.component.UIComponent component)
createRenderingContext
in class TableRenderer
protected boolean renderTableWithoutColumns(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, TableRenderingContext tContext, javax.faces.component.UIComponent component) throws java.io.IOException
renderTableWithoutColumns
in class TableRenderer
java.io.IOException
protected void encodeAll(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, javax.faces.component.UIComponent component, org.apache.myfaces.trinidad.bean.FacesBean bean) throws java.io.IOException
encodeAll
in class TableRenderer
java.io.IOException
protected boolean isImmediate(javax.faces.component.UIComponent component, org.apache.myfaces.trinidad.bean.FacesBean bean)
protected void renderNavigationHeaderBars(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, TableRenderingContext tContext, javax.faces.component.UIComponent component, org.apache.myfaces.trinidad.bean.FacesBean bean) throws java.io.IOException
renderNavigationHeaderBars
in class TableRenderer
java.io.IOException
protected final void renderRangePagingControl(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, TableRenderingContext tContext, javax.faces.component.UIComponent table) throws java.io.IOException
DesktopTableRenderer
renderRangePagingControl
in class DesktopTableRenderer
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
DesktopTableRenderer
hasControlBarLinks
in class DesktopTableRenderer
java.io.IOException
protected void renderControlBarLinks(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, TableRenderingContext tContext, javax.faces.component.UIComponent component, boolean useDivider) throws java.io.IOException
renderControlBarLinks
in class DesktopTableRenderer
useDivider
- whether to render a divider after all the links
java.io.IOException
protected boolean isExpandAllEnabled(javax.faces.component.UIComponent component)
protected int renderSpecialColumns(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, TableRenderingContext tContext, javax.faces.component.UIComponent component, int physicalColumnIndex) throws java.io.IOException
renderSpecialColumns
in class TableRenderer
java.io.IOException
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
renderTableRows
in class DesktopTableRenderer
java.io.IOException
protected SpecialColumnRenderer getFocusColumnRenderer()
protected java.util.Map<java.lang.String,java.lang.String> createResourceKeyMap()
createResourceKeyMap
in class TableRenderer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |