public class MyTreeTableModelAdapter<T extends MyTreeNode> extends AbstractTableModel
listenerList
Constructor and Description |
---|
MyTreeTableModelAdapter(MyTreeTableModel<T> treeTableModel,
JTree tree) |
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) |
protected T |
nodeForRow(int row) |
void |
setValueAt(Object value,
int row,
int column) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
public MyTreeTableModelAdapter(MyTreeTableModel<T> treeTableModel, JTree tree)
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()
protected T nodeForRow(int row)
public Object getValueAt(int row, int column)
public boolean isCellEditable(int row, int column)
isCellEditable
in interface TableModel
isCellEditable
in class AbstractTableModel
public void setValueAt(Object value, int row, int column)
setValueAt
in interface TableModel
setValueAt
in class AbstractTableModel
Copyright © 2015. All rights reserved.