org.gnu.gnome

Class PasswordDialog

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
StringgetPassword()
booleangetRemember()
StringgetUsername()
booleanrunAndBlock()
voidsetPassword(String password)
voidsetReadonlyUsername(boolean readonly)
voidsetRemember(boolean remember)
voidsetShowUserpassButtons(boolean show)
voidsetUsername(String username)

Constructor Detail

PasswordDialog

public PasswordDialog(String title, String message, String username, String password, boolean readonlyUsername)

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 widget

Parameters: 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?

Method Detail

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)