|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.limegroup.gnutella.gui.PasswordDialog
A class for accepting user's login/password
Field Summary | |
static int |
CANCELLED
The return code for when the user cancelled the action. |
static int |
OK
The return code for when the user has pressed ok |
Constructor Summary | |
PasswordDialog(java.lang.String title)
Constructs the diaog with a field for username, and for password |
Method Summary | |
java.lang.String |
getPassword()
Returns the text contained in the wrapped text field. |
int |
getReturnCode()
Returns the return code of the input window. |
java.lang.String |
getUsername()
Returns the text contained in the wrapped text field. |
static void |
main(java.lang.String[] args)
|
int |
showDialog()
Displays the modal dialog, returning the appropriate return code to the caller. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int OK
public static final int CANCELLED
Constructor Detail |
public PasswordDialog(java.lang.String title)
Method Detail |
public int showDialog()
public java.lang.String getUsername()
public java.lang.String getPassword()
public int getReturnCode()
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |