Interface TreeTableModelProvider

  • All Known Implementing Classes:
    JXTreeTable.TreeTableModelAdapter

    public interface TreeTableModelProvider
    Interface which guarantees access to a TreeTableModel. It is implemented by the internal TreeTableModelAdapter of JXTreeTable to allow direct access to the underlying TreeTableModel from the adapter.

    That's useful f.i. when trying to configure TableColumnExt in a ColumnFactory, like in

     
     JXTreeTable table = new JXTreeTable();
     ColumnFactory factory = new ColumnFactory() {
    
    • Method Detail

      • getTreeTableModel

        TreeTableModel getTreeTableModel()
        Returns a TreeTableModel, guaranteed to be not null.
        Returns:
        a TreeTableModel, guaranteed to be not null.