org.icefaces.ace.model.table

## Class TreeDataModel

- java.lang.Object
- - javax.faces.model.DataModel
  - - org.icefaces.ace.model.table.TreeDataModel

- All Implemented Interfaces:
    java.io.Serializable, java.lang.Iterable

      public class TreeDataModel
      extends javax.faces.model.DataModel
      implements java.io.Serializable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TreeDataModel()`
    `TreeDataModel(java.util.List<java.util.Map.Entry<java.lang.Object,java.util.List>> inputModel)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getCurrentRowChildCount()`
    `java.lang.Object` | `getRootData()`
    `java.lang.String` | `getRootIndex()`
    `java.lang.Integer[]` | `getRootIndexArray()`
    `int` | `getRowCount()`
    `java.lang.Object` | `getRowData()`
    `java.util.Map.Entry<java.lang.Object,java.util.List>` | `getRowEntry()`
    `int` | `getRowIndex()`
    `java.lang.Object` | `getWrappedData()`
    `boolean` | `isRootIndexSet()`
    `boolean` | `isRowAvailable()`
    `int` | `pop()`
    `void` | `setRootIndex(java.lang.String expandedRowId)`
    `void` | `setRowIndex(int rowIndex)`
    `void` | `setWrappedData(java.lang.Object wrappedData)`

    - ### 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

    - #### TreeDataModel

          public TreeDataModel()

    - #### TreeDataModel

          public TreeDataModel(java.util.List<java.util.Map.Entry<java.lang.Object,java.util.List>> inputModel)

  - ### Method Detail

    - #### getWrappedData

          public java.lang.Object getWrappedData()

      Specified by:
        `getWrappedData` in class `javax.faces.model.DataModel`

    - #### getRowCount

          public int getRowCount()

      Specified by:
        `getRowCount` in class `javax.faces.model.DataModel`

    - #### getRowEntry

          public java.util.Map.Entry<java.lang.Object,java.util.List> getRowEntry()

    - #### getRowData

          public java.lang.Object getRowData()

      Specified by:
        `getRowData` in class `javax.faces.model.DataModel`

    - #### getRootData

          public java.lang.Object getRootData()

    - #### getRowIndex

          public int getRowIndex()

      Specified by:
        `getRowIndex` in class `javax.faces.model.DataModel`

    - #### isRowAvailable

          public boolean isRowAvailable()

      Specified by:
        `isRowAvailable` in class `javax.faces.model.DataModel`

    - #### setWrappedData

          public void setWrappedData(java.lang.Object wrappedData)

      Specified by:
        `setWrappedData` in class `javax.faces.model.DataModel`

    - #### setRowIndex

          public void setRowIndex(int rowIndex)

      Specified by:
        `setRowIndex` in class `javax.faces.model.DataModel`

    - #### setRootIndex

          public void setRootIndex(java.lang.String expandedRowId)

    - #### isRootIndexSet

          public boolean isRootIndexSet()

    - #### getRootIndex

          public java.lang.String getRootIndex()

    - #### pop

          public int pop()

    - #### getCurrentRowChildCount

          public int getCurrentRowChildCount()

    - #### getRootIndexArray

          public java.lang.Integer[] getRootIndexArray()

Copyright 2025 ICEsoft Technologies Canada, Corp. All Rights Reserved.