appli.sqlplayer.gui
Class SqlTableModel

java.lang.Object
  extended byjavax.swing.table.AbstractTableModel
      extended byappli.sqlplayer.gui.SqlTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class SqlTableModel
extends javax.swing.table.AbstractTableModel

This table model contains the SQL statements, one per row.

See Also:
Serialized Form

Field Summary
private  java.lang.String[] headers
           
private  SqlCommands sqlList
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
SqlTableModel(SqlCommands sqls)
           
 
Method Summary
 int getColumnCount()
           
 java.lang.String getColumnName(int i)
           
 int getRowCount()
           
 java.lang.Object getValueAt(int row, int col)
          Connect to current sqlParser and get values for cell
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, 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

headers

private final java.lang.String[] headers

sqlList

private SqlCommands sqlList
Constructor Detail

SqlTableModel

public SqlTableModel(SqlCommands sqls)
Method Detail

getColumnName

public java.lang.String getColumnName(int i)

getColumnCount

public int getColumnCount()

getValueAt

public java.lang.Object getValueAt(int row,
                                   int col)
Connect to current sqlParser and get values for cell


getRowCount

public int getRowCount()