org.apache.jorphan.gui

## Interface TreeTableModel

- All Superinterfaces:
    javax.swing.table.TableModel
  All Known Implementing Classes:
    AbstractTreeTableModel, DefaultTreeTableModel

      public interface TreeTableModel
      extends javax.swing.table.TableModel

  This is a basic interface for TreeTableModel that extends TableModel. It's pretty minimal and isn't as full featured at other implementations.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | `getValueAt(java.lang.Object node, int col)` The method is similar to getValueAt(int,int).
    `boolean` | `isCellEditable(java.lang.Object node, int col)` the method is similar to isCellEditable(int,int).
    `void` | `setValueAt(java.lang.Object val, java.lang.Object node, int column)` the method is similar to isCellEditable(int,int).

    - ### Methods inherited from interface javax.swing.table.TableModel

      `addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt`

- - ### Method Detail

    - #### getValueAt

          java.lang.Object getValueAt(java.lang.Object node,
                                      int col)

      The method is similar to getValueAt(int,int). Instead of int, the row is an object.
      Parameters:
        `node` - the node which value is to be fetched
        `col` - the column of the node
      Returns:
        the value at the column

    - #### isCellEditable

          boolean isCellEditable(java.lang.Object node,
                                 int col)

      the method is similar to isCellEditable(int,int). Instead of int, the row is an object.
      Parameters:
        `node` - the node which value is to be fetched
        `col` - the column of the node
      Returns:
        `true` if cell is editable

    - #### setValueAt

          void setValueAt(java.lang.Object val,
                          java.lang.Object node,
                          int column)

      the method is similar to isCellEditable(int,int). Instead of int, the row is an object.
      Parameters:
        `val` - the value to be set
        `node` - the node which value is to be set
        `column` - the column of the node

Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.