Interface TethysUIPasswordDialog
- All Known Implementing Classes:
TethysUICorePasswordDialog
public interface TethysUIPasswordDialog
Dialog to request a password. Will also ask for password confirmation if required.
-
Method Summary
Modifier and TypeMethodDescriptionchar[]Obtain the password.booleanIs the password set.voidrelease()Release resources.voidreportBadPassword(String pError) report a bad password.booleanShow the dialog under an invokeAndWait clause.
-
Method Details
-
showDialog
boolean showDialog()Show the dialog under an invokeAndWait clause.- Returns:
- successful dialog usage true/false
-
getPassword
char[] getPassword()Obtain the password.- Returns:
- the password
-
isPasswordSet
boolean isPasswordSet()Is the password set.- Returns:
- true/false
-
release
void release()Release resources. -
reportBadPassword
report a bad password.- Parameters:
pError- the error details
-