com.ibm.di.admin.ui
Class ConfigTable.ConfigSelector

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

public class ConfigTable.ConfigSelector
extends DefaultTableModel

The configuration table model

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.DefaultTableModel
columnIdentifiers, dataVector
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
ConfigTable.ConfigSelector()
           
 
Method Summary
 void addComponentNames(Hashtable compNames)
           
 int getColumnCount()
           
 String getColumnName(int col)
           
 BaseConfiguration getConfig(int row)
           
 int getRowCount()
           
 String getTemplate(BaseConfiguration config)
           
 Object getValueAt(int row, int col)
           
 boolean isALConnector(int row)
          Returns true if the chosen object is an AL internal connector
 boolean isCellEditable(int row, int col)
           
 void setFilter(String filter)
           
 
Methods inherited from class javax.swing.table.DefaultTableModel
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getDataVector, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount, setValueAt
 
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

ConfigTable.ConfigSelector

public ConfigTable.ConfigSelector()
                           throws Exception
Throws:
Exception
Method Detail

addComponentNames

public void addComponentNames(Hashtable compNames)

setFilter

public void setFilter(String filter)

isALConnector

public boolean isALConnector(int row)
                      throws Exception
Returns true if the chosen object is an AL internal connector

Throws:
Exception

getConfig

public BaseConfiguration getConfig(int row)
                            throws Exception
Throws:
Exception

getRowCount

public int getRowCount()
Specified by:
getRowCount in interface TableModel
Overrides:
getRowCount in class DefaultTableModel

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface TableModel
Overrides:
getColumnCount in class DefaultTableModel

getColumnName

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

isCellEditable

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

getValueAt

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

getTemplate

public String getTemplate(BaseConfiguration config)