|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.nqadmin.swingSet.SSDBNavAdapter
public class SSDBNavAdapter
SSDBNavAdapter.java
SwingSet - Open Toolkit For Making Swing Controls Database-Aware
Abstract class that provides empty implementations of all the methods for the SSDBNav interface. This class is provided for convenience. so that users wishing to write their own SSDBNav implementations can just extend the abstract class and override the desired methods.
| Field Summary |
|---|
| Fields inherited from interface com.nqadmin.swingSet.SSDBNav |
|---|
NAVIGATION_FIRST, NAVIGATION_LAST, NAVIGATION_NEXT, NAVIGATION_PREVIOUS |
| Constructor Summary | |
|---|---|
SSDBNavAdapter()
|
|
| Method Summary | |
|---|---|
boolean |
allowDeletion()
This function returns true by default. |
boolean |
allowInsertion()
This function always return true. |
boolean |
allowUpdate()
This functions is called just before calling the updateRow on the rowset. |
void |
performCancelOps()
Method to perform operations when the user is on the insert row and cancels the insert by clicking on the undo button. |
void |
performNavigationOps(int _navigationType)
Method to perform navigation-related operations. |
void |
performPostDeletionOps()
Method to perform post-deletion operations. |
void |
performPostInsertOps()
Method to perform post-insertion operations. |
void |
performPostUpdateOps()
Method to perform operations after the updateRow has been called. |
void |
performPreDeletionOps()
Method to perform pre-deletion operations. |
void |
performPreInsertOps()
Method to perform pre-insertion operations. |
void |
performRefreshOps()
Method to perform operations when the user hits the refresh button. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SSDBNavAdapter()
| Method Detail |
|---|
public void performPreInsertOps()
performPreInsertOps in interface SSDBNavpublic boolean allowInsertion()
allowInsertion in interface SSDBNavpublic void performPostInsertOps()
performPostInsertOps in interface SSDBNavpublic void performCancelOps()
performCancelOps in interface SSDBNavpublic void performPreDeletionOps()
performPreDeletionOps in interface SSDBNavpublic boolean allowDeletion()
allowDeletion in interface SSDBNavpublic void performPostDeletionOps()
performPostDeletionOps in interface SSDBNavpublic void performNavigationOps(int _navigationType)
performNavigationOps in interface SSDBNav_navigationType - this indicates the type of navigation.public void performRefreshOps()
performRefreshOps in interface SSDBNavpublic boolean allowUpdate()
allowUpdate in interface SSDBNavpublic void performPostUpdateOps()
performPostUpdateOps in interface SSDBNav
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||