Class TreeTableRenderer
java.lang.Object
javax.faces.render.Renderer
org.primefaces.renderkit.CoreRenderer
org.primefaces.renderkit.DataRenderer
org.primefaces.component.treetable.TreeTableRenderer
-
Field Summary
Fields inherited from class javax.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) voidencodeChildren(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) voidencodeColumnFooter(javax.faces.context.FacesContext context, TreeTable table, UIColumn column) voidencodeColumnHeader(javax.faces.context.FacesContext context, TreeTable tt, UIColumn column) voidencodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) protected voidencodeFacet(javax.faces.context.FacesContext context, TreeTable tt, javax.faces.component.UIComponent facet, String styleClass) protected voidencodeFilter(javax.faces.context.FacesContext context, TreeTable tt, UIColumn column) protected voidencodeMarkup(javax.faces.context.FacesContext context, TreeTable tt) voidencodeNode(javax.faces.context.FacesContext context, TreeTable tt, TreeNode root, TreeNode treeNode) voidencodeNodeChildren(javax.faces.context.FacesContext context, TreeTable tt, TreeNode root, TreeNode treeNode) voidencodeNodeChildren(javax.faces.context.FacesContext context, TreeTable tt, TreeNode root, TreeNode treeNode, int first, int size) protected voidencodeRegularMarkup(javax.faces.context.FacesContext context, TreeTable tt, TreeNode root) protected voidencodeScript(javax.faces.context.FacesContext context, TreeTable tt) protected voidencodeScrollableMarkup(javax.faces.context.FacesContext context, TreeTable tt, TreeNode root) protected voidencodeScrollAreaEnd(javax.faces.context.FacesContext context) protected voidencodeScrollAreaStart(javax.faces.context.FacesContext context, TreeTable tt, String containerClass, String containerBoxClass, String tableStyle, String tableStyleClass, String facet, String facetClass) protected voidencodeScrollBody(javax.faces.context.FacesContext context, TreeTable tt, TreeNode root, String tableStyle, String tableStyleClass) voidencodeTbody(javax.faces.context.FacesContext context, TreeTable tt, TreeNode root, boolean dataOnly) protected voidencodeTfoot(javax.faces.context.FacesContext context, TreeTable tt) protected voidencodeThead(javax.faces.context.FacesContext context, TreeTable tt) booleanprotected voidprotected voidprotected voidrenderNativeCheckbox(javax.faces.context.FacesContext context, TreeTable tt, boolean checked, boolean partialSelected) protected StringresolveDefaultSortIcon(SortMeta sortMeta) Methods inherited from class org.primefaces.renderkit.DataRenderer
addPaginatorElement, encodeFacet, encodePaginatorConfig, encodePaginatorMarkup, getHeaderLabel, removePaginatorElementMethods inherited from class org.primefaces.renderkit.CoreRenderer
buildAjaxRequest, buildAjaxRequest, buildAjaxRequest, buildDomEvent, buildNonAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, encodeIndexedId, endsWithLenghtUnit, getEventBehaviors, getHighlighter, getIconOnlyButtonText, getResourceRequestPath, getResourceURL, getStyleBuilder, getStyleClassBuilder, getWidgetBuilder, isGrouped, isValueBlank, logDevelopmentWarning, preConfiguredAjaxRequestBuilder, preConfiguredAjaxRequestBuilder, renderAttribute, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderHiddenInput, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteIdMethods inherited from class javax.faces.render.Renderer
convertClientId, encodeBegin, getConvertedValue
-
Constructor Details
-
TreeTableRenderer
public TreeTableRenderer()
-
-
Method Details
-
decode
public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) - Overrides:
decodein classjavax.faces.render.Renderer
-
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException - Overrides:
encodeEndin classjavax.faces.render.Renderer- Throws:
IOException
-
render
- Throws:
IOException
-
preRender
-
encodeScript
protected void encodeScript(javax.faces.context.FacesContext context, TreeTable tt) throws IOException - Throws:
IOException
-
encodeMarkup
protected void encodeMarkup(javax.faces.context.FacesContext context, TreeTable tt) throws IOException - Throws:
IOException
-
encodeScrollableMarkup
protected void encodeScrollableMarkup(javax.faces.context.FacesContext context, TreeTable tt, TreeNode root) throws IOException - Throws:
IOException
-
encodeScrollBody
protected void encodeScrollBody(javax.faces.context.FacesContext context, TreeTable tt, TreeNode root, String tableStyle, String tableStyleClass) throws IOException - Throws:
IOException
-
encodeScrollAreaStart
protected void encodeScrollAreaStart(javax.faces.context.FacesContext context, TreeTable tt, String containerClass, String containerBoxClass, String tableStyle, String tableStyleClass, String facet, String facetClass) throws IOException - Throws:
IOException
-
encodeScrollAreaEnd
- Throws:
IOException
-
encodeRegularMarkup
protected void encodeRegularMarkup(javax.faces.context.FacesContext context, TreeTable tt, TreeNode root) throws IOException - Throws:
IOException
-
encodeThead
protected void encodeThead(javax.faces.context.FacesContext context, TreeTable tt) throws IOException - Throws:
IOException
-
encodeTbody
public void encodeTbody(javax.faces.context.FacesContext context, TreeTable tt, TreeNode root, boolean dataOnly) throws IOException - Throws:
IOException
-
encodeNode
public void encodeNode(javax.faces.context.FacesContext context, TreeTable tt, TreeNode root, TreeNode treeNode) throws IOException - Throws:
IOException
-
encodeColumnHeader
public void encodeColumnHeader(javax.faces.context.FacesContext context, TreeTable tt, UIColumn column) throws IOException - Throws:
IOException
-
resolveDefaultSortIcon
-
encodeFilter
protected void encodeFilter(javax.faces.context.FacesContext context, TreeTable tt, UIColumn column) throws IOException - Throws:
IOException
-
encodeNodeChildren
public void encodeNodeChildren(javax.faces.context.FacesContext context, TreeTable tt, TreeNode root, TreeNode treeNode) throws IOException - Throws:
IOException
-
encodeNodeChildren
public void encodeNodeChildren(javax.faces.context.FacesContext context, TreeTable tt, TreeNode root, TreeNode treeNode, int first, int size) throws IOException - Throws:
IOException
-
encodeFacet
protected void encodeFacet(javax.faces.context.FacesContext context, TreeTable tt, javax.faces.component.UIComponent facet, String styleClass) throws IOException - Throws:
IOException
-
encodeTfoot
protected void encodeTfoot(javax.faces.context.FacesContext context, TreeTable tt) throws IOException - Throws:
IOException
-
encodeChildren
public void encodeChildren(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) throws IOException - Overrides:
encodeChildrenin classjavax.faces.render.Renderer- Throws:
IOException
-
getRendersChildren
public boolean getRendersChildren()- Overrides:
getRendersChildrenin classjavax.faces.render.Renderer
-
renderNativeCheckbox
protected void renderNativeCheckbox(javax.faces.context.FacesContext context, TreeTable tt, boolean checked, boolean partialSelected) throws IOException - Throws:
IOException
-