com.puppycrawl.tools.checkstyle.gui
Class TreeTableModelAdapter
AbstractTableModel
com.puppycrawl.tools.checkstyle.gui.TreeTableModelAdapter
public class TreeTableModelAdapter
extends AbstractTableModel
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.
TreeTableModelAdapter
public TreeTableModelAdapter(TreeTableModel aTreeTableModel,
JTree aTree)
delayedFireTableDataChanged
protected void delayedFireTableDataChanged()
Invokes fireTableDataChanged after all the pending events have been
processed. SwingUtilities.invokeLater is used to handle this.
getColumnClass
public Class getColumnClass(int column)
getColumnCount
public int getColumnCount()
getColumnName
public String getColumnName(int column)
getRowCount
public int getRowCount()
getValueAt
public Object getValueAt(int row,
int column)
isCellEditable
public boolean isCellEditable(int row,
int column)
nodeForRow
protected Object nodeForRow(int row)
setValueAt
public void setValueAt(Object value,
int row,
int column)