All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class da.da_DatabaseConnectDialog

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Dialog
                                   |
                                   +----com.sun.java.swing.JDialog
                                           |
                                           +----da.da_DatabaseConnectDialog

public class da_DatabaseConnectDialog
extends JDialog
A dialog for entering details about a database to which to connect.


Constructor Index

 o da_DatabaseConnectDialog(Frame)
Constructor.
 o da_DatabaseConnectDialog(Frame, xm_DocumentModel)
Constructor.

Method Index

 o analyseDatabase()
Analyse the database, and reflect the details in the document model.
 o getConnection()
Retrieve the connection which was established (or null if one hasn't been established).
 o getDocumentModel()
Retrieve the document model into which we placed the analysed structure of the database.
 o initScreen()
Initialise the screen.
 o setDocumentModel(xm_DocumentModel)
Pass in the document model into which we are to place the analysed structure of the database.

Constructors

 o da_DatabaseConnectDialog
 public da_DatabaseConnectDialog(Frame InputParentFrame,
                                 xm_DocumentModel InputDocumentModel)
Constructor.

 o da_DatabaseConnectDialog
 public da_DatabaseConnectDialog(Frame InputParentFrame)
Constructor.

Methods

 o initScreen
 protected void initScreen()
Initialise the screen.

 o analyseDatabase
 public void analyseDatabase()
Analyse the database, and reflect the details in the document model.

 o setDocumentModel
 public void setDocumentModel(xm_DocumentModel InputDocumentModel)
Pass in the document model into which we are to place the analysed structure of the database.

Parameters:
InputDocumentModel - The document model to represent the database's structure
 o getDocumentModel
 public xm_DocumentModel getDocumentModel()
Retrieve the document model into which we placed the analysed structure of the database.

Returns:
The document model representing the database's structure
 o getConnection
 public Connection getConnection()
Retrieve the connection which was established (or null if one hasn't been established).

Returns:
The database connection which has been established

All Packages  Class Hierarchy  This Package  Previous  Next  Index