|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.isti.util.gui.IstiDialogPopup
com.isti.util.gui.IstiPasswordDialog
public class IstiPasswordDialog
Class IstiPasswordDialog defines a password dialog.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.isti.util.gui.IstiDialogPopup |
|---|
IstiDialogPopup.CloseListener |
| Field Summary | |
|---|---|
static java.lang.String |
LOGIN_DIALOG_CANCEL_OPTION_STRING
Cancel button-option string for login dialog. |
static java.lang.String |
LOGIN_DIALOG_DEFAULT_OPTION_STRING
Default button-option string for login dialog. |
static java.lang.String |
LOGIN_DIALOG_DEFAULT_TITLE_STRING
Default title string to login dialog. |
| Fields inherited from interface javax.swing.WindowConstants |
|---|
EXIT_ON_CLOSE |
| Constructor Summary | |
|---|---|
|
IstiPasswordDialog(java.awt.Component parentComp)
Creates a password dialog with restricted character input for the username. |
|
IstiPasswordDialog(java.awt.Component parentComp,
java.lang.String titleStr)
Creates a password dialog with restricted character input for the username. |
|
IstiPasswordDialog(java.awt.Component parentComp,
java.lang.String titleStr,
IstiPasswordPanel passwordPanel)
Creates a password dialog. |
protected |
IstiPasswordDialog(java.awt.Component parentComp,
java.lang.String titleStr,
IstiPasswordPanel passwordPanel,
javax.swing.JButton okButton,
javax.swing.JButton cancelButton)
Creates a password dialog. |
|
IstiPasswordDialog(java.awt.Component parentComp,
java.lang.String titleStr,
java.lang.String panelPromptStr)
Creates a password dialog with restricted character input for the username. |
| Method Summary | |
|---|---|
java.net.PasswordAuthentication |
getPasswordAuthentication()
Get the password authentication and clear this dialog's password. |
IstiPasswordPanel |
getPasswordPanel()
Gets the password panel. |
java.lang.String |
getPasswordText()
Return the password text. |
java.lang.String |
getUsernameText()
Return the username text. |
void |
setPasswordText(java.lang.String passwordText)
Sets the password text. |
void |
setUsernameAsInitalFocus()
Sets the "username" field to have the initial focus. |
void |
setUsernameText(java.lang.String usernameText)
Sets the username text. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String LOGIN_DIALOG_DEFAULT_TITLE_STRING
public static java.lang.String LOGIN_DIALOG_DEFAULT_OPTION_STRING
public static java.lang.String LOGIN_DIALOG_CANCEL_OPTION_STRING
| Constructor Detail |
|---|
public IstiPasswordDialog(java.awt.Component parentComp)
parentComp - the parent component for the popup.
public IstiPasswordDialog(java.awt.Component parentComp,
java.lang.String titleStr)
parentComp - the parent component for the popup.titleStr - the title string for popup window.
public IstiPasswordDialog(java.awt.Component parentComp,
java.lang.String titleStr,
java.lang.String panelPromptStr)
parentComp - the parent component for the popup.titleStr - the title string for popup window.panelPromptStr - the "prompt" text to be shown on the panel,
or null for none.
public IstiPasswordDialog(java.awt.Component parentComp,
java.lang.String titleStr,
IstiPasswordPanel passwordPanel)
parentComp - the parent component for the popup.titleStr - the title string for popup window.passwordPanel - the password panel.
protected IstiPasswordDialog(java.awt.Component parentComp,
java.lang.String titleStr,
IstiPasswordPanel passwordPanel,
javax.swing.JButton okButton,
javax.swing.JButton cancelButton)
parentComp - the parent component for the popup.titleStr - the title string for popup window.passwordPanel - the password panel.okButton - the ok button.cancelButton - the cancel button.| Method Detail |
|---|
public IstiPasswordPanel getPasswordPanel()
public java.lang.String getPasswordText()
public java.lang.String getUsernameText()
public void setPasswordText(java.lang.String passwordText)
passwordText - the password text.public void setUsernameText(java.lang.String usernameText)
usernameText - the username text.public void setUsernameAsInitalFocus()
public java.net.PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication in interface PasswordAuthenticator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||