org.richfaces.ui.iteration.tree.model

## Class ClassicTreeNodeDataModelImpl

- java.lang.Object
- - javax.faces.model.DataModel<E>
  - - org.richfaces.model.ExtendedDataModel<V>
    - - org.richfaces.ui.iteration.tree.model.TreeSequenceKeyModel<V>
      - - org.richfaces.ui.iteration.tree.model.NodesTreeSequenceKeyModel<TreeNode>
        - - org.richfaces.ui.iteration.tree.model.ClassicTreeNodeDataModelImpl

- All Implemented Interfaces:
    Iterable<TreeNode>, TreeDataModel<TreeNode>

      public class ClassicTreeNodeDataModelImpl
      extends NodesTreeSequenceKeyModel<TreeNode>

  Author:
    Nick Belaevski

- - ### Field Summary

    - ### Fields inherited from interface org.richfaces.model.TreeDataModel

      `SEPARATOR_CHAR`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ClassicTreeNodeDataModelImpl()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Iterator<TreeDataModelTuple>` | `children()`
    `javax.faces.convert.Converter` | `getRowKeyConverter()`
    `Object` | `getWrappedData()`
    `boolean` | `isLeaf()`
    `protected TreeNode` | `setupChildContext(Object segment)`
    `void` | `setWrappedData(Object data)`

    - ### Methods inherited from class org.richfaces.ui.iteration.tree.model.NodesTreeSequenceKeyModel

      `createSnapshot, getRootNode, restoreFromSnapshot, setRootNode, setupKey`

    - ### Methods inherited from class org.richfaces.ui.iteration.tree.model.TreeSequenceKeyModel

      `getData, getParentRowKey, getRowCount, getRowData, getRowIndex, getRowKey, isDataAvailable, isRowAvailable, setData, setRowIndex, setRowKey, setRowKeyAndData, walk`

    - ### Methods inherited from class javax.faces.model.DataModel

      `addDataModelListener, getDataModelListeners, iterator, removeDataModelListener`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ClassicTreeNodeDataModelImpl

          public ClassicTreeNodeDataModelImpl()

  - ### Method Detail

    - #### isLeaf

          public boolean isLeaf()

    - #### children

          public Iterator<TreeDataModelTuple> children()

    - #### setupChildContext

          protected TreeNode setupChildContext(Object segment)

      Specified by:
        `setupChildContext` in class `NodesTreeSequenceKeyModel<TreeNode>`

    - #### getWrappedData

          public Object getWrappedData()

      Specified by:
        `getWrappedData` in interface `TreeDataModel<TreeNode>`
      Specified by:
        `getWrappedData` in class `javax.faces.model.DataModel<TreeNode>`

    - #### setWrappedData

          public void setWrappedData(Object data)

      Specified by:
        `setWrappedData` in interface `TreeDataModel<TreeNode>`
      Specified by:
        `setWrappedData` in class `javax.faces.model.DataModel<TreeNode>`

    - #### getRowKeyConverter

          public javax.faces.convert.Converter getRowKeyConverter()

Copyright © 2014 JBoss by Red Hat. All rights reserved.