org.richfaces.model

## Class ClassicTreeNodeDataModelImpl

- java.lang.Object
- - javax.faces.model.DataModel<E>
  - - org.ajax4jsf.model.ExtendedDataModel<V>
    - - org.richfaces.model.TreeSequenceKeyModel<V>
      - - org.richfaces.model.NodesTreeSequenceKeyModel<TreeNode>
        - - org.richfaces.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

    All Methods Instance Methods Concrete 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.model.NodesTreeSequenceKeyModel

      `createSnapshot, getRootNode, restoreFromSnapshot, setRootNode, setupKey`

    - ### Methods inherited from class org.richfaces.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`

    - ### Methods inherited from interface java.lang.Iterable

      `forEach, spliterator`

- - ### 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 © 2015 JBoss by Red Hat. All Rights Reserved.