pt.uminho.anote2.carrot.linkage.gui.help
Class ClusterSelectionTreeTableModel

java.lang.Object
  extended by org.jdesktop.swingx.treetable.AbstractTreeTableModel
      extended by org.jdesktop.swingx.treetable.DefaultTreeTableModel
          extended by pt.uminho.anote2.carrot.linkage.gui.help.ClusterSelectionTreeTableModel
All Implemented Interfaces:
javax.swing.tree.TreeModel, TreeTableModel

public class ClusterSelectionTreeTableModel
extends DefaultTreeTableModel


Constructor Summary
ClusterSelectionTreeTableModel(TreeTableNode root, int columnEnable, java.util.List<java.lang.String> COLUMN_NAMES)
           
 
Method Summary
 java.lang.Class<?> getColumnClass(int column)
          Returns the most specific superclass for all the cell values in the column.
 
Methods inherited from class org.jdesktop.swingx.treetable.DefaultTreeTableModel
getChild, getChildCount, getColumnCount, getColumnName, getIndexOfChild, getPathToRoot, getRoot, getValueAt, insertNodeInto, isCellEditable, isLeaf, removeNodeFromParent, setColumnIdentifiers, setRoot, setUserObject, setValueAt, valueForPathChanged
 
Methods inherited from class org.jdesktop.swingx.treetable.AbstractTreeTableModel
addTreeModelListener, getHierarchicalColumn, getTreeModelListeners, removeTreeModelListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusterSelectionTreeTableModel

public ClusterSelectionTreeTableModel(TreeTableNode root,
                                      int columnEnable,
                                      java.util.List<java.lang.String> COLUMN_NAMES)
Method Detail

getColumnClass

public java.lang.Class<?> getColumnClass(int column)
Description copied from class: AbstractTreeTableModel
Returns the most specific superclass for all the cell values in the column. This is used by the JXTreeTable to set up a default renderer and editor for the column.

Specified by:
getColumnClass in interface TreeTableModel
Overrides:
getColumnClass in class AbstractTreeTableModel
Parameters:
column - the index of the column
Returns:
the common ancestor class of the object values in the model.
See Also:
TableModel.getColumnClass(int)