Class EmptyTableModel

    • Field Detail

      • INSTANCE

        public static final EmptyTableModel INSTANCE
        The singleton instance.
    • Method Detail

      • getValueAt

        public Object getValueAt​(List<Integer> row,
                                 int col)
        Description copied from interface: WTable.TableModel
        Retrieves the value at the given row and column.
        Parameters:
        row - ignored
        col - ignored
        Returns:
        null
      • getRowCount

        public int getRowCount()
        Description copied from interface: WTable.TableModel
        Retrieves the number of rows for the root (ie top) level.
        Returns:
        0
      • getChildCount

        public int getChildCount​(List<Integer> row)
        Description copied from interface: WTable.TableModel
        Retrieves the number of children a row has.
        Parameters:
        row - ignored
        Returns:
        0