|
Cytoscape 2.8.0 API | |||||||||
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.
Field Summary |
---|
Fields inherited from class javax.swing.table.AbstractTableModel |
---|
listenerList |
Constructor Summary | |
---|---|
TreeTableModelAdapter(TreeTableModel treeTableModel,
JTree tree)
Creates a new TreeTableModelAdapter object. |
Method Summary | |
---|---|
protected void |
delayedFireTableDataChanged()
Invokes fireTableDataChanged after all the pending events have been processed. |
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! |
protected Object |
nodeForRow(int row)
|
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 |
---|
clone, equals, finalize, 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()
protected Object nodeForRow(int row)
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!protected void delayedFireTableDataChanged()
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |