Class Inquirer
java.lang.Object
|
+----Inquirer
- public class Inquirer
- extends Object
- implements ActionListener, ItemListener
A simple application for SQL statements testing
-
Inquirer()
- Initializes private variables
-
actionPerformed(ActionEvent)
- implements the ActionListener method.
-
closeSql()
- Closes all the SQL objects opened.
-
DBConnect(String)
- connects to the Database and initializes it.
-
init()
- Initializes the components in the window.
-
itemStateChanged(ItemEvent)
- implements the ItemListener method.
-
main(String[])
- The main entry function.
Inquirer
public Inquirer()
- Initializes private variables
main
public static void main(String args[])
- The main entry function. It constructs an Inquirer object
and initializes it.
closeSql
protected void closeSql()
- Closes all the SQL objects opened.
init
public void init()
- Initializes the components in the window.
itemStateChanged
public void itemStateChanged(ItemEvent e)
- implements the ItemListener method. This method is used to update the rows
in the other columns keeping track of row examined by the user
- Parameters:
- e - the item event
DBConnect
protected void DBConnect(String dbName)
- connects to the Database and initializes it.
actionPerformed
public void actionPerformed(ActionEvent e)
- implements the ActionListener method. This method choose an action
listening to the TextFields changes.
- Parameters:
- e - the action event