net.sourceforge.selfesteem.applet
Class TreeTableModelAdapter

java.lang.Object
  |
  +--javax.swing.table.AbstractTableModel
        |
        +--net.sourceforge.selfesteem.applet.TreeTableModelAdapter
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class TreeTableModelAdapter
extends javax.swing.table.AbstractTableModel

See Also:
Serialized Form

Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
TreeTableModelAdapter(javax.swing.JTree tree)
           
 
Method Summary
 java.lang.Class getColumnClass(int column)
           
 int getColumnCount()
           
 java.lang.String getColumnName(int column)
           
 int getRowCount()
           
 java.lang.Object getValueAt(int row, int column)
           
 boolean isCellEditable(int row, int column)
           
protected  java.lang.Object nodeForRow(int row)
           
 void setValueAt(java.lang.Object value, int row, int column)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeTableModelAdapter

public TreeTableModelAdapter(javax.swing.JTree tree)
Method Detail

getColumnCount

public int getColumnCount()
Overrides:
getColumnCount in class javax.swing.table.AbstractTableModel

getColumnName

public java.lang.String getColumnName(int column)
Overrides:
getColumnName in class javax.swing.table.AbstractTableModel

getColumnClass

public java.lang.Class getColumnClass(int column)
Overrides:
getColumnClass in class javax.swing.table.AbstractTableModel

getRowCount

public int getRowCount()
Overrides:
getRowCount in class javax.swing.table.AbstractTableModel

nodeForRow

protected java.lang.Object nodeForRow(int row)

getValueAt

public java.lang.Object getValueAt(int row,
                                   int column)
Overrides:
getValueAt in class javax.swing.table.AbstractTableModel

isCellEditable

public boolean isCellEditable(int row,
                              int column)
Overrides:
isCellEditable in class javax.swing.table.AbstractTableModel

setValueAt

public void setValueAt(java.lang.Object value,
                       int row,
                       int column)
Overrides:
setValueAt in class javax.swing.table.AbstractTableModel


Copyright © 2002-2002 Thoughtworks, LLC. All Rights Reserved.