| java.lang.Object org.beryl.gui.DialogUtils
DialogUtils | public class DialogUtils (Code) | | |
RESULT_CANCEL | final public static int RESULT_CANCEL(Code) | | |
RESULT_NO | final public static int RESULT_NO(Code) | | |
RESULT_YES | final public static int RESULT_YES(Code) | | |
showOpenFileDialog | public static File showOpenFileDialog(Widget parent, String extension)(Code) | | Display a file open dialog
Parameters: extension - The file extension to look for |
showSaveFileDialog | public static File showSaveFileDialog(Widget parent, String extension)(Code) | | Display a file save dialog
Parameters: extension - The file extension of the destination file |
showYesNoCancelDialog | public static int showYesNoCancelDialog(Frame frame, String title, String message) throws GUIException(Code) | | Show a dialog with a yes/no/cancel button
Parameters: frame - The parent frame Parameters: title - The dialog title Parameters: message - The dialog message The result (RESULT_YES/RESULT_NO/RESULT_CANCEL) |
|
|