Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces UI Components UI 4.3.1.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.richfaces.renderkit
Class TreeNodeRendererBase

    java.lang.Object
      javax.faces.render.Renderer
          org.richfaces.renderkit.RendererBase
              org.richfaces.renderkit.TreeNodeRendererBase

All Implemented Interfaces:
  org.richfaces.renderkit.MetaComponentRenderer

Direct Known Subclasses:
  TreeNodeRenderer

    public class TreeNodeRendererBase

extends RendererBase
implements org.richfaces.renderkit.MetaComponentRenderer

Author:
  Nick Belaevski

Constructor Summary
`TreeNodeRendererBase()`

Method Summary
`protected void` | `addClientEventHandlers(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)`
`void` | `decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)`
`void` | `decodeMetaComponent(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String metaComponentId)`
`protected void` | `encodeCustomIcon(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String styleClass, String iconSource)`
`protected void` | `encodeDefaultIcon(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String styleClass)`
`protected void` | `encodeIcon(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)`
`protected void` | `encodeIconForNodeState(javax.faces.context.FacesContext context, AbstractTree tree, AbstractTreeNode treeNode, TreeNodeState nodeState, String customIcon)`
`void` | `encodeMetaComponent(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String metaComponentId)`
`protected javax.faces.component.UIComponent` | `getHandleLoadingFacetIfApplicable(javax.faces.component.UIComponent component)`
`protected TreeNodeState` | `getNodeState(javax.faces.context.FacesContext context)`
`protected javax.faces.component.UIComponent` | `getTreeComponent(javax.faces.component.UIComponent treeNodeComponent)`

Methods inherited from class org.richfaces.renderkit.RendererBase
`concatClasses, concatStyles, doDecode, doEncodeBegin, doEncodeChildren, doEncodeEnd, encodeBegin, encodeChildren, encodeEnd, getComponentClass, getResourcePath, getSkin, getUtils, preDecode, preEncodeBegin, queueComponentEventForBehaviorEvent, renderChildren`

Methods inherited from class javax.faces.render.Renderer
`convertClientId, getConvertedValue, getRendersChildren`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TreeNodeRendererBase

    public TreeNodeRendererBase()

Method Detail

### decode

    public void decode(javax.faces.context.FacesContext context,
                       javax.faces.component.UIComponent component)

  Overrides:
    `decode` in class `RendererBase`

### decodeMetaComponent

    public void decodeMetaComponent(javax.faces.context.FacesContext context,
                                    javax.faces.component.UIComponent component,
                                    String metaComponentId)

  Specified by:
    `decodeMetaComponent` in interface `org.richfaces.renderkit.MetaComponentRenderer`

### encodeMetaComponent

    public void encodeMetaComponent(javax.faces.context.FacesContext context,
                                    javax.faces.component.UIComponent component,
                                    String metaComponentId)
                             throws IOException

  Specified by:
    `encodeMetaComponent` in interface `org.richfaces.renderkit.MetaComponentRenderer`
  Throws:
    `IOException`

### getNodeState

    protected TreeNodeState getNodeState(javax.faces.context.FacesContext context)

### getTreeComponent

    protected javax.faces.component.UIComponent getTreeComponent(javax.faces.component.UIComponent treeNodeComponent)

### encodeDefaultIcon

    protected void encodeDefaultIcon(javax.faces.context.FacesContext context,
                                     javax.faces.component.UIComponent component,
                                     String styleClass)
                              throws IOException

  Throws:
    `IOException`

### encodeCustomIcon

    protected void encodeCustomIcon(javax.faces.context.FacesContext context,
                                    javax.faces.component.UIComponent component,
                                    String styleClass,
                                    String iconSource)
                             throws IOException

  Throws:
    `IOException`

### encodeIcon

    protected void encodeIcon(javax.faces.context.FacesContext context,
                              javax.faces.component.UIComponent component)
                       throws IOException

  Throws:
    `IOException`

### encodeIconForNodeState

    protected void encodeIconForNodeState(javax.faces.context.FacesContext context,
                                          AbstractTree tree,
                                          AbstractTreeNode treeNode,
                                          TreeNodeState nodeState,
                                          String customIcon)
                                   throws IOException

  Throws:
    `IOException`

### addClientEventHandlers

    protected void addClientEventHandlers(javax.faces.context.FacesContext facesContext,
                                          javax.faces.component.UIComponent component)

### getHandleLoadingFacetIfApplicable

    protected javax.faces.component.UIComponent getHandleLoadingFacetIfApplicable(javax.faces.component.UIComponent component)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces UI Components UI 4.3.1.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.