com.objex.panywhere
Class PedigreeSaveDialog

java.lang.Object
  extended by com.objex.panywhere.PedigreeSaveDialog

public class PedigreeSaveDialog
extends java.lang.Object

Creates and displays a Save dialog when user is about to clear or exit current Pedigree


Constructor Summary
PedigreeSaveDialog()
           
 
Method Summary
static boolean showDialog(com.objex.panywhere.Pedigree a_pedigree)
          Displays a new dialog asking if user wants to quit without saving current Pedigree.
static boolean showYesNoDialog(com.objex.panywhere.Pedigree a_pedigree)
          Diaplay a Yes NO dialog box
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PedigreeSaveDialog

public PedigreeSaveDialog()
Method Detail

showDialog

public static boolean showDialog(com.objex.panywhere.Pedigree a_pedigree)
                          throws java.security.AccessControlException,
                                 java.lang.SecurityException,
                                 java.lang.Exception
Displays a new dialog asking if user wants to quit without saving current Pedigree.

Returns:
True if user confirmed that user must proceed with current action, false if current action must be cancelled.
Throws:
java.security.AccessControlException
java.lang.SecurityException
java.lang.Exception

showYesNoDialog

public static boolean showYesNoDialog(com.objex.panywhere.Pedigree a_pedigree)
                               throws java.security.AccessControlException,
                                      java.lang.SecurityException,
                                      java.lang.Exception
Diaplay a Yes NO dialog box

Throws:
java.security.AccessControlException
java.lang.SecurityException
java.lang.Exception