core.view.util
Class StdDialogs
java.lang.Object
core.view.util.StdDialogs
public class StdDialogs
- extends Object
This class provides several standard-dialogs such as an information-dialog, a
confirmation-dialog, or an error-dialog. This class is used to keep all
dialogs in FlexiCrypt look the same.
Copyright (c) 2006 Sebastian Erdweg
Copyright (c) 2006 Dominik Schulz
Copyright (c) 2006 Florian Lindner
Copyright (c) 2006 Betim Berjani
This file is part of FlexiCrypt.
FlexiCrypt is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
FlexiCrypt is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with FlexiCrypt; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- Author:
- Sebastian
Field Summary |
static int |
NO
|
static int |
YES
|
YES
public static final int YES
- See Also:
- Constant Field Values
NO
public static final int NO
- See Also:
- Constant Field Values
StdDialogs
public StdDialogs()
inform
public static final void inform(String title,
String msg)
error
public static final void error(String title,
String msg)
confirm
public static final int confirm(String title,
String msg)
- Returns:
- int constant
StdDialogs.YES
or
StdDialogs.NO
.
password
@Deprecated
public static final char[] password(String title,
String msg)
- Deprecated.
input
public static String input(String title,
String msg)
- Parameters:
title
- msg
-
- Returns:
caPrivCertChooser
public static KeyStore.PrivateKeyEntry caPrivCertChooser()
throws Exception
- Throws:
Exception
caPrivCertChooser
public static KeyStore.PrivateKeyEntry caPrivCertChooser(String msg)
throws Exception
- Returns:
-
- Throws:
Exception