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.
-
da_DatabaseConnectDialog(Frame)
- Constructor.
-
da_DatabaseConnectDialog(Frame, xm_DocumentModel)
- Constructor.
-
analyseDatabase()
- Analyse the database, and reflect the details in the document model.
-
getConnection()
- Retrieve the connection which was established (or null if one hasn't been
established).
-
getDocumentModel()
- Retrieve the document model into which we placed the analysed structure
of the database.
-
initScreen()
- Initialise the screen.
-
setDocumentModel(xm_DocumentModel)
- Pass in the document model into which we are to place the analysed structure
of the database.
da_DatabaseConnectDialog
public da_DatabaseConnectDialog(Frame InputParentFrame,
xm_DocumentModel InputDocumentModel)
- Constructor.
da_DatabaseConnectDialog
public da_DatabaseConnectDialog(Frame InputParentFrame)
- Constructor.
initScreen
protected void initScreen()
- Initialise the screen.
analyseDatabase
public void analyseDatabase()
- Analyse the database, and reflect the details in the document model.
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
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
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