com.ibm.di.admin.ui
Class GenericAttributeMapUI.AttributeMapModel
java.lang.Object
javax.swing.table.AbstractTableModel
com.ibm.di.admin.ui.GenericAttributeMapUI.AttributeMapModel
- All Implemented Interfaces:
- MetamergeConfigChangeListener, Serializable, TableModel
- Enclosing class:
- GenericAttributeMapUI
public class GenericAttributeMapUI.AttributeMapModel
- extends AbstractTableModel
- implements MetamergeConfigChangeListener
An implementation class representing a GUI table.
- See Also:
- Serialized Form
| Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericAttributeMapUI.AttributeMapModel
public GenericAttributeMapUI.AttributeMapModel(AttributeMapConfig config)
init
public void init()
setAttributeMapConfig
public void setAttributeMapConfig(AttributeMapConfig map)
configurationChanged
public void configurationChanged(MetamergeConfigChange changeEvent)
- Specified by:
configurationChanged in interface MetamergeConfigChangeListener
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
setValueAt
public void setValueAt(Object value,
int row,
int col)
- Specified by:
setValueAt in interface TableModel- Overrides:
setValueAt in class AbstractTableModel
getValueAt
public Object getValueAt(int row,
int col)
- Gets the valueAt attribute of the AttributeMapModel object
- Specified by:
getValueAt in interface TableModel
- Parameters:
row - the number of the rowcol - the number of the column
- Returns:
- The valueAt value
getItemAt
public AttributeMapItem getItemAt(int row)
getColumnClass
public Class getColumnClass(int col)
- Specified by:
getColumnClass in interface TableModel- Overrides:
getColumnClass in class AbstractTableModel
getColumnName
public String getColumnName(int col)
- Specified by:
getColumnName in interface TableModel- Overrides:
getColumnName in class AbstractTableModel
setExpanded
public void setExpanded(boolean expanded)
- Sets the expanded attribute of the AttributeMapModel object
- Parameters:
expanded - The new expanded value