Package org.apache.jorphan.gui
Interface TreeTableModel
- All Superinterfaces:
- TableModel
- All Known Implementing Classes:
- AbstractTreeTableModel,- DefaultTreeTableModel
This is a basic interface for TreeTableModel that extends TableModel.
 It's pretty minimal and isn't as full featured at other implementations.
- 
Method SummaryModifier and TypeMethodDescriptiongetValueAt(Object node, int col) The method is similar to getValueAt(int,int).booleanisCellEditable(Object node, int col) the method is similar to isCellEditable(int,int).voidsetValueAt(Object val, Object node, int column) the method is similar to isCellEditable(int,int).Methods inherited from interface javax.swing.table.TableModeladdTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt
- 
Method Details- 
getValueAtThe 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
 
- 
isCellEditablethe 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:
- trueif cell is editable
 
- 
setValueAtthe 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
 
 
-