com.ibm.di.admin.ui
Class SimpleListUI.SimpleListModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by com.ibm.di.admin.ui.SimpleListUI.SimpleListModel
All Implemented Interfaces:
MetamergeConfigChangeListener, Serializable, TableModel
Enclosing class:
SimpleListUI

public class SimpleListUI.SimpleListModel
extends AbstractTableModel
implements MetamergeConfigChangeListener

List Model

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
SimpleListUI.SimpleListModel(BaseConfiguration config)
           
 
Method Summary
 void configurationChanged(MetamergeConfigChange changeEvent)
           
 int getColumnCount()
           
 String getColumnName(int col)
           
 int getRowCount()
           
 Object getValueAt(int row, int col)
           
 boolean isCellEditable(int row, int col)
           
 void removeItems(int[] rows)
           
 void setConfig(BaseConfiguration config)
           
 void setValueAt(Object value, int row, int col)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleListUI.SimpleListModel

public SimpleListUI.SimpleListModel(BaseConfiguration config)
Method Detail

getRowCount

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

getColumnCount

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

isCellEditable

public boolean isCellEditable(int row,
                              int col)
Specified by:
isCellEditable in interface TableModel
Overrides:
isCellEditable in class AbstractTableModel

getColumnName

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

removeItems

public void removeItems(int[] rows)

getValueAt

public Object getValueAt(int row,
                         int col)
Specified by:
getValueAt in interface TableModel

setValueAt

public void setValueAt(Object value,
                       int row,
                       int col)
Specified by:
setValueAt in interface TableModel
Overrides:
setValueAt in class AbstractTableModel

configurationChanged

public void configurationChanged(MetamergeConfigChange changeEvent)
Specified by:
configurationChanged in interface MetamergeConfigChangeListener

setConfig

public void setConfig(BaseConfiguration config)