org.gnu.gnome
Class PasswordDialog
Dialog
org.gnu.gnome.PasswordDialog
public class PasswordDialog
extends Dialog
PasswordDialog(String title, String message, String username, String password, boolean readonlyUsername) - 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.
|
PasswordDialog
public PasswordDialog(String title,
String message,
String username,
String password,
boolean readonlyUsername)
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 widget
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?
getPassword
public String getPassword()
getRemember
public boolean getRemember()
getUsername
public String getUsername()
runAndBlock
public boolean runAndBlock()
setPassword
public void setPassword(String password)
setReadonlyUsername
public void setReadonlyUsername(boolean readonly)
setRemember
public void setRemember(boolean remember)
setShowUserpassButtons
public void setShowUserpassButtons(boolean show)
setUsername
public void setUsername(String username)