org.grinvin.list

Class GraphInvariantTableModel

Implemented Interfaces:
TableModel

public class GraphInvariantTableModel
extends java.lang.Object
implements TableModel

TableModel to be used in GraphTableComponent. This class is only used to represent the model for this component. A data structure that combines both a GraphListModel and an InvariantListModel is GraphInvariantListModel.

Constructor Summary

GraphInvariantTableModel(GraphListModel graphListModel, InvariantListModel invariantListModel)

Method Summary

void
addTableModelListener(TableModelListener listener)
implement TableModel ****
Class
getColumnClass(int col)
int
getColumnCount()
String
getColumnName(int column)
GraphList
getGraphList()
int
getRowCount()
Object
getValueAt(int row, int column)
boolean
isCellEditable(int row, int col)
void
removeColumn(int column)
implement TableModel ****
void
removeTableModelListener(TableModelListener listener)
void
setValueAt(Object value, int row, int col)

Constructor Details

GraphInvariantTableModel

public GraphInvariantTableModel(GraphListModel graphListModel,
                                InvariantListModel invariantListModel)

Method Details

addTableModelListener

public void addTableModelListener(TableModelListener listener)
implement TableModel ****

getColumnClass

public Class getColumnClass(int col)

getColumnCount

public int getColumnCount()

getColumnName

public String getColumnName(int column)

getGraphList

public GraphList getGraphList()

getRowCount

public int getRowCount()

getValueAt

public Object getValueAt(int row,
                         int column)

isCellEditable

public boolean isCellEditable(int row,
                              int col)

removeColumn

public void removeColumn(int column)
implement TableModel ****

removeTableModelListener

public void removeTableModelListener(TableModelListener listener)

setValueAt

public void setValueAt(Object value,
                       int row,
                       int col)