edu.udo.cs.yale.gui.wizards
Class DBExampleSourceConfigurationWizardDataTable.DBExampleSourceConfigurationWizardDataTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by edu.udo.cs.yale.gui.wizards.DBExampleSourceConfigurationWizardDataTable.DBExampleSourceConfigurationWizardDataTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel
Enclosing class:
DBExampleSourceConfigurationWizardDataTable

private class DBExampleSourceConfigurationWizardDataTable.DBExampleSourceConfigurationWizardDataTableModel
extends javax.swing.table.AbstractTableModel


Field Summary
private  java.lang.String[] attributeNames
           
private  java.util.Map<java.lang.String,java.lang.String> attributeTypeMap
           
private  java.util.List<java.lang.String[]> data
           
private static long serialVersionUID
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
DBExampleSourceConfigurationWizardDataTable.DBExampleSourceConfigurationWizardDataTableModel(java.lang.String[] attributeNames, java.util.List<java.lang.String[]> data, java.util.Map<java.lang.String,java.lang.String> attributeTypeMap)
           
 
Method Summary
 int getColumnCount()
           
 java.lang.String getColumnName(int column)
           
 int getRowCount()
           
 java.lang.Object getValueAt(int rowIndex, int columnIndex)
           
 void setValueAt(java.lang.Object value, int rowIndex, int columnIndex)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

attributeTypeMap

private java.util.Map<java.lang.String,java.lang.String> attributeTypeMap

data

private java.util.List<java.lang.String[]> data

attributeNames

private java.lang.String[] attributeNames
Constructor Detail

DBExampleSourceConfigurationWizardDataTable.DBExampleSourceConfigurationWizardDataTableModel

public DBExampleSourceConfigurationWizardDataTable.DBExampleSourceConfigurationWizardDataTableModel(java.lang.String[] attributeNames,
                                                                                                    java.util.List<java.lang.String[]> data,
                                                                                                    java.util.Map<java.lang.String,java.lang.String> attributeTypeMap)
Method Detail

getColumnCount

public int getColumnCount()

getRowCount

public int getRowCount()

getValueAt

public java.lang.Object getValueAt(int rowIndex,
                                   int columnIndex)

setValueAt

public void setValueAt(java.lang.Object value,
                       int rowIndex,
                       int columnIndex)
Specified by:
setValueAt in interface javax.swing.table.TableModel
Overrides:
setValueAt in class javax.swing.table.AbstractTableModel

getColumnName

public java.lang.String getColumnName(int column)
Specified by:
getColumnName in interface javax.swing.table.TableModel
Overrides:
getColumnName in class javax.swing.table.AbstractTableModel


Copyright © 2001-2006