|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jurvis.swing.form.JvViewUtilities
public final class JvViewUtilities
Various utilities in support of JvViews.
| Constructor Summary | |
|---|---|
JvViewUtilities()
|
|
| Method Summary | |
|---|---|
static int |
promptToSaveModifications(JvView view)
Prompt the user to determine if they wish to save the unsaved modifications to this view. |
static int |
promptToSaveModifications(JvView view,
int optionType)
Prompt the user to determine if they wish to save the unsaved modifications to this view. |
static boolean |
validateAndCommit(JvView view)
Validate and save the user modifications. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JvViewUtilities()
| Method Detail |
|---|
public static int promptToSaveModifications(JvView view)
view - the view to be saved
public static int promptToSaveModifications(JvView view,
int optionType)
view - the view to be savedoptionType - an int designating the options available on the dialog:
YES_NO_OPTION, or YES_NO_CANCEL_OPTION
public static boolean validateAndCommit(JvView view)
view - the view to validate and commit
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||