Package weka.gui.sql

Class ResultSetTable

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, CellEditorListener, ListSelectionListener, RowSorterListener, TableColumnModelListener, TableModelListener, Scrollable

public class ResultSetTable extends JTable
Represents an extended JTable, containing a table model based on a ResultSet and the corresponding query.
Version:
$Revision: 8034 $
Author:
FracPete (fracpete at waikato dot ac dot nz)
See Also:
  • Constructor Details

    • ResultSetTable

      public ResultSetTable(String url, String user, String pw, String query, ResultSetTableModel model)
      initializes the table
      Parameters:
      url - the database URL
      user - the database user
      pw - the database password
      query - the query
  • Method Details

    • getURL

      public String getURL()
      returns the database URL that produced the table model
    • getUser

      public String getUser()
      returns the user that produced the table model
    • getPassword

      public String getPassword()
      returns the password that produced the table model
    • getQuery

      public String getQuery()
      returns the query that produced the table model
    • finalize

      public void finalize() throws Throwable
      frees up the memory
      Throws:
      Throwable