org.apache.ojb.tools.mapping.reversedb2.actions
Class ActionOpenDatabase
java.lang.Object
javax.swing.AbstractAction
org.apache.ojb.tools.mapping.reversedb2.actions.ActionOpenDatabase
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
- public class ActionOpenDatabase
- extends javax.swing.AbstractAction
First opens a JDlgDBConnection to get a JDBC connection and if this
was successful, a JIFrmDatabase is created with this connection and
added to the parentFrame specified in the constructor.
- Version:
- $Id: ActionOpenDatabase.java,v 1.1 2002/06/18 12:37:45 florianbruckner Exp $
- Author:
- Florian Bruckner
- See Also:
- Serialized Form
Nested classes inherited from class javax.swing.AbstractAction |
|
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary |
ActionOpenDatabase(javax.swing.JFrame pcontainingFrame)
Creates a new instance of ActionOpenDatabase, pcontainingFrame
is the parent frame for the dialog and the containing frame
for the internal frame created. |
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent actionEvent)
Called to execute this action. |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
containingFrame
javax.swing.JFrame containingFrame
ActionOpenDatabase
public ActionOpenDatabase(javax.swing.JFrame pcontainingFrame)
- Creates a new instance of ActionOpenDatabase, pcontainingFrame
is the parent frame for the dialog and the containing frame
for the internal frame created.
- Parameters:
pcontainingFrame
- parent frame for the dialog, containing frame for the IFrame
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent actionEvent)
- Called to execute this action.
- Parameters:
actionEvent
-
Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14