Interface TreeTableModel

    • Method Detail

      • getValueAt

        Object getValueAt​(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​(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​(Object val,
                        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