com.nqadmin.swingSet
Class SSDBNavImp
java.lang.Object
com.nqadmin.swingSet.SSDBNavAdapter
com.nqadmin.swingSet.SSDBNavImp
- All Implemented Interfaces:
- SSDBNav, java.io.Serializable
public class SSDBNavImp
- extends SSDBNavAdapter
SSDBNavImp.java
SwingSet - Open Toolkit For Making Swing Controls Database-Aware
Custom implementation of SSDBNav that clears/resets the various database-aware
fields on a screen when the user adds a new record. To achieve this, special
implementation of the performPreInsertOps() method is provided. An instance of
this class can be created for the container where the fields are to be cleared
and passed to the data navigator.
The data navigator will call the performPreInsertOps() method whenever the
user presses the insert button on the navigator. This fuctions recursively
clears any JTextFields, JTextAreas, and SSCheckBoxes, and if their are any
SSComboBoxes or SSDBComboBoxes they will be reset to the first item in the
list.
This recursive behavior performed on all the components inside the JPanel or
JTabbedPane inside the specified container.
- Version:
- $Revision: 1.14 $
- See Also:
- Serialized Form
|
Constructor Summary |
SSDBNavImp(java.awt.Container _container)
Constructs a SSDBNavImp with the specified container. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSDBNavImp
public SSDBNavImp(java.awt.Container _container)
- Constructs a SSDBNavImp with the specified container.
performPreInsertOps
public void performPreInsertOps()
- Performs pre-insertion operations.
- Specified by:
performPreInsertOps in interface SSDBNav- Overrides:
performPreInsertOps in class SSDBNavAdapter