|
Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.table.AbstractTableModel cytoscape.util.swing.TreeTableModelAdapter
public class TreeTableModelAdapter
This is a wrapper class takes a TreeTableModel and implements the table model interface. The implementation is trivial, with all of the event dispatching support provided by the superclass: the AbstractTableModel.
Constructor Summary | |
---|---|
TreeTableModelAdapter(TreeTableModel treeTableModel,
JTree tree)
Creates a new TreeTableModelAdapter object. |
Method Summary | |
---|---|
Class |
getColumnClass(int column)
DOCUMENT ME! |
int |
getColumnCount()
DOCUMENT ME! |
String |
getColumnName(int column)
DOCUMENT ME! |
int |
getRowCount()
DOCUMENT ME! |
Object |
getValueAt(int row,
int column)
DOCUMENT ME! |
boolean |
isCellEditable(int row,
int column)
DOCUMENT ME! |
void |
setValueAt(Object value,
int row,
int column)
DOCUMENT ME! |
Methods inherited from class javax.swing.table.AbstractTableModel |
---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TreeTableModelAdapter(TreeTableModel treeTableModel, JTree tree)
treeTableModel
- DOCUMENT ME!tree
- DOCUMENT ME!Method Detail |
---|
public int getColumnCount()
public String getColumnName(int column)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
column
- DOCUMENT ME!
public Class getColumnClass(int column)
getColumnClass
in interface TableModel
getColumnClass
in class AbstractTableModel
column
- DOCUMENT ME!
public int getRowCount()
public Object getValueAt(int row, int column)
row
- DOCUMENT ME!column
- DOCUMENT ME!
public boolean isCellEditable(int row, int column)
isCellEditable
in interface TableModel
isCellEditable
in class AbstractTableModel
row
- DOCUMENT ME!column
- DOCUMENT ME!
public void setValueAt(Object value, int row, int column)
setValueAt
in interface TableModel
setValueAt
in class AbstractTableModel
value
- DOCUMENT ME!row
- DOCUMENT ME!column
- DOCUMENT ME!
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |