|
||||||||||
| 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 |
|---|
_SELECT_ALL_TEXT_KEY, _SELECT_NONE_TEXT_KEY, 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 | |
|---|---|
TreeTableRenderer()
|
|
| Method Summary | |
|---|---|
protected TableRenderingContext |
createRenderingContext(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
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()
|
protected void |
decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean facesBean,
java.lang.String clientId)
|
protected void |
encodeAll(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
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 java.lang.String |
getControlLinkIconName(java.lang.String translationKey)
|
protected java.lang.String |
getDefaultStyleClass(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected SpecialColumnRenderer |
getFocusColumnRenderer()
|
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 |
isExpandAllEnabled(javax.faces.component.UIComponent component)
|
protected boolean |
isImmediate(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected boolean |
isRootNodeRendered(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected void |
renderControlBarLink(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
java.lang.String onclick,
java.lang.String translationKey,
org.apache.myfaces.trinidad.skin.Icon icon,
java.lang.String id,
boolean hasDivider)
|
protected void |
renderControlBarLinks(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component,
boolean useDivider)
|
protected void |
renderNavigationHeaderBars(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
Render the navigation header bars, i.e. |
protected void |
renderRangePagingControl(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
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 rc,
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 rc,
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 rc,
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, isAutoSubmit, 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, getPartialRowKeys, getRendersChildren, getRowHeaderFormatClass, getSharedHideShowNode, getSharedNavBarRenderer, getWidth, renderNavigationFooterBars, 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 |
| Constructor Detail |
|---|
public TreeTableRenderer()
| Method Detail |
|---|
protected void findTypeConstants(org.apache.myfaces.trinidad.bean.FacesBean.Type type)
findTypeConstants in class DesktopTableRenderer
protected void decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean facesBean,
java.lang.String clientId)
decode in class TableRenderer
protected TableRenderingContext createRenderingContext(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
javax.faces.component.UIComponent component)
createRenderingContext in class TableRenderer
protected boolean renderTableWithoutColumns(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component)
throws java.io.IOException
renderTableWithoutColumns in class TableRendererjava.io.IOException
protected void encodeAll(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
throws java.io.IOException
encodeAll in class TableRendererjava.io.IOException
protected java.lang.String getDefaultStyleClass(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
getDefaultStyleClass in class TableRenderer
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 rc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
throws java.io.IOException
renderNavigationHeaderBars in class TableRendererjava.io.IOException
protected final void renderRangePagingControl(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
TableRenderingContext tContext,
javax.faces.component.UIComponent table)
throws java.io.IOException
DesktopTableRenderer
renderRangePagingControl in class DesktopTableRendererjava.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
DesktopTableRenderer
hasControlBarLinks in class DesktopTableRendererjava.io.IOException
protected void renderControlBarLinks(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component,
boolean useDivider)
throws java.io.IOException
renderControlBarLinks in class DesktopTableRendereruseDivider - whether to render a divider after all the links
java.io.IOException
protected void renderControlBarLink(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
java.lang.String onclick,
java.lang.String translationKey,
org.apache.myfaces.trinidad.skin.Icon icon,
java.lang.String id,
boolean hasDivider)
throws java.io.IOException
java.io.IOExceptionprotected boolean isExpandAllEnabled(javax.faces.component.UIComponent component)
protected int renderSpecialColumns(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
TableRenderingContext tContext,
javax.faces.component.UIComponent component,
int physicalColumnIndex)
throws java.io.IOException
renderSpecialColumns in class TableRendererjava.io.IOException
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
renderTableRows in class DesktopTableRendererjava.io.IOExceptionprotected java.lang.String getControlLinkIconName(java.lang.String translationKey)
getControlLinkIconName in class DesktopTableRendererprotected SpecialColumnRenderer getFocusColumnRenderer()
protected boolean isRootNodeRendered(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
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 | |||||||||