Class EmptyTreeItemModel

    • Method Detail

      • getRowCount

        public int getRowCount()
        Retrieves the number of rows for the root (ie top) level.
        Returns:
        the number of rows in the model for the root (ie top) level.
      • getChildCount

        public int getChildCount​(List<Integer> row)
        Retrieves the number of children a row has.
        Parameters:
        row - the row index
        Returns:
        the number of rows in the model for this level.
      • getItemLabel

        public String getItemLabel​(List<Integer> row)
        Retrieves the label at the given row.
        Parameters:
        row - - the row index.
        Returns:
        the value at the given row.