org.gnu.gnome
public class PasswordDialog extends Dialog
Deprecated: This class is part of the java-gnome 2.x family of libraries,
which, due to their inefficiency and complexity, are no longer
being maintained and have been abandoned by the java-gnome
project. This class may have an equivalent
in java-gnome 4.0; have a look for
org.gnome.gnome.PasswordDialog
.
Constructor Summary | |
---|---|
PasswordDialog(String title, String message, String username, String password, boolean readonlyUsername)
Construct a new PasswordDialog widget
|
Method Summary | |
---|---|
String | getPassword() |
boolean | getRemember() |
String | getUsername() |
boolean | runAndBlock() |
void | setPassword(String password) |
void | setReadonlyUsername(boolean readonly) |
void | setRemember(boolean remember) |
void | setShowUserpassButtons(boolean show) |
void | setUsername(String username) |
Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Construct a new PasswordDialog widgetParameters: title The title for the dialog. message A message that is displayed on the dialog. username The username to set in the username entry widget. password The password to set in the password entry widget. readonlyUsername Is the username editable?