org.jdmp.gui.algorithm
Class AlgorithmListTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by org.jdmp.gui.algorithm.AlgorithmListTableModel
All Implemented Interfaces:
Serializable, EventListener, ListDataListener, TableModel

public class AlgorithmListTableModel
extends AbstractTableModel
implements ListDataListener

See Also:
Serialized Form

Field Summary
static int ALGORITHMLISTCOLUMN
           
static int ICONCOLUMN
           
static int LABELCOLUMN
           
static int VARIABLECOLUMN
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
AlgorithmListTableModel(org.jdmp.core.algorithm.HasAlgorithms iAlgorithms)
           
 
Method Summary
 void contentsChanged(ListDataEvent e)
           
 Class<?> getColumnClass(int columnIndex)
           
 int getColumnCount()
           
 String getColumnName(int columnIndex)
           
 int getRowCount()
           
 Object getValueAt(int rowIndex, int columnIndex)
           
 void intervalAdded(ListDataEvent e)
           
 void intervalRemoved(ListDataEvent e)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ICONCOLUMN

public static final int ICONCOLUMN
See Also:
Constant Field Values

LABELCOLUMN

public static final int LABELCOLUMN
See Also:
Constant Field Values

VARIABLECOLUMN

public static final int VARIABLECOLUMN
See Also:
Constant Field Values

ALGORITHMLISTCOLUMN

public static final int ALGORITHMLISTCOLUMN
See Also:
Constant Field Values
Constructor Detail

AlgorithmListTableModel

public AlgorithmListTableModel(org.jdmp.core.algorithm.HasAlgorithms iAlgorithms)
Method Detail

getRowCount

public int getRowCount()
Specified by:
getRowCount in interface TableModel

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface TableModel

getColumnName

public String getColumnName(int columnIndex)
Specified by:
getColumnName in interface TableModel
Overrides:
getColumnName in class AbstractTableModel

getColumnClass

public Class<?> getColumnClass(int columnIndex)
Specified by:
getColumnClass in interface TableModel
Overrides:
getColumnClass in class AbstractTableModel

getValueAt

public Object getValueAt(int rowIndex,
                         int columnIndex)
Specified by:
getValueAt in interface TableModel

contentsChanged

public void contentsChanged(ListDataEvent e)
Specified by:
contentsChanged in interface ListDataListener

intervalAdded

public void intervalAdded(ListDataEvent e)
Specified by:
intervalAdded in interface ListDataListener

intervalRemoved

public void intervalRemoved(ListDataEvent e)
Specified by:
intervalRemoved in interface ListDataListener


Copyright © 2009. All Rights Reserved.