Class JTreeTable

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, CellEditorListener, ListSelectionListener, RowSorterListener, TableColumnModelListener, TableModelListener, Scrollable

public class JTreeTable extends JTable
See Also:
  • Constructor Details

    • JTreeTable

      public JTreeTable()
      The default implementation will use DefaultTreeTableModel
    • JTreeTable

      public JTreeTable(int numRows, int numColumns)
      Parameters:
      numRows - number of rows the table holds
      numColumns - number of columns the table holds
    • JTreeTable

      public JTreeTable(TreeTableModel dm)
      Parameters:
      dm - the data model to use
    • JTreeTable

      public JTreeTable(Object[][] rowData, Object[] columnNames)
      Parameters:
      rowData - the data for the table
      columnNames - the names for the columns
    • JTreeTable

      public JTreeTable(Vector<?> rowData, Vector<?> columnNames)
      Parameters:
      rowData - the data for the table. Has to be a Vector of Vectors.
      columnNames - the names for the columns