public class TreeTableModelAdapter extends AbstractTableModel
listenerList
Constructor and Description |
---|
TreeTableModelAdapter(ParseTreeTableModel treeTableModel,
JTree tree)
Initialise tree and treeTableModel class attributes.
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
getColumnClass(int column) |
int |
getColumnCount() |
String |
getColumnName(int column) |
int |
getRowCount() |
Object |
getValueAt(int row,
int column) |
boolean |
isCellEditable(int row,
int column) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener, setValueAt
public TreeTableModelAdapter(ParseTreeTableModel treeTableModel, JTree tree)
treeTableModel
- Tree table model.tree
- JTree component.public int getColumnCount()
public String getColumnName(int column)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
public Class<?> getColumnClass(int column)
getColumnClass
in interface TableModel
getColumnClass
in class AbstractTableModel
public int getRowCount()
public Object getValueAt(int row, int column)
public boolean isCellEditable(int row, int column)
isCellEditable
in interface TableModel
isCellEditable
in class AbstractTableModel
Copyright © 2001–2018. All rights reserved.