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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
decode
(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) void
encodeChildren
(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) void
encodeColumnFooter
(javax.faces.context.FacesContext context, TreeTable table, UIColumn column) void
encodeColumnHeader
(javax.faces.context.FacesContext context, TreeTable tt, UIColumn column) void
encodeEnd
(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) protected void
encodeFacet
(javax.faces.context.FacesContext context, TreeTable tt, javax.faces.component.UIComponent facet, String styleClass) protected void
encodeFilter
(javax.faces.context.FacesContext context, TreeTable tt, UIColumn column) protected void
encodeMarkup
(javax.faces.context.FacesContext context, TreeTable tt) void
encodeNode
(javax.faces.context.FacesContext context, TreeTable tt, TreeNode root, TreeNode treeNode) void
encodeNodeChildren
(javax.faces.context.FacesContext context, TreeTable tt, TreeNode root, TreeNode treeNode) void
encodeNodeChildren
(javax.faces.context.FacesContext context, TreeTable tt, TreeNode root, TreeNode treeNode, int first, int size) protected void
encodeRegularMarkup
(javax.faces.context.FacesContext context, TreeTable tt, TreeNode root) protected void
encodeScript
(javax.faces.context.FacesContext context, TreeTable tt) protected void
encodeScrollableMarkup
(javax.faces.context.FacesContext context, TreeTable tt, TreeNode root) protected void
encodeScrollAreaEnd
(javax.faces.context.FacesContext context) protected void
encodeScrollAreaStart
(javax.faces.context.FacesContext context, TreeTable tt, String containerClass, String containerBoxClass, String tableStyle, String tableStyleClass, String facet, String facetClass) protected void
encodeScrollBody
(javax.faces.context.FacesContext context, TreeTable tt, TreeNode root, String tableStyle, String tableStyleClass) void
encodeTbody
(javax.faces.context.FacesContext context, TreeTable tt, TreeNode root, boolean dataOnly) protected void
encodeTfoot
(javax.faces.context.FacesContext context, TreeTable tt) protected void
encodeThead
(javax.faces.context.FacesContext context, TreeTable tt) boolean
protected void
protected void
protected void
renderNativeCheckbox
(javax.faces.context.FacesContext context, TreeTable tt, boolean checked, boolean partialSelected) protected String
resolveDefaultSortIcon
(SortMeta sortMeta) Methods inherited from class org.primefaces.renderkit.DataRenderer
addPaginatorElement, encodeFacet, encodePaginatorConfig, encodePaginatorMarkup, getHeaderLabel, removePaginatorElement
Methods 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, shouldWriteId
Methods 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:
decode
in classjavax.faces.render.Renderer
-
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException - Overrides:
encodeEnd
in 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:
encodeChildren
in classjavax.faces.render.Renderer
- Throws:
IOException
-
getRendersChildren
public boolean getRendersChildren()- Overrides:
getRendersChildren
in classjavax.faces.render.Renderer
-
renderNativeCheckbox
protected void renderNativeCheckbox(javax.faces.context.FacesContext context, TreeTable tt, boolean checked, boolean partialSelected) throws IOException - Throws:
IOException
-