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 Type
    Method
    Description
    char[]
    Obtain the password.
    boolean
    Is the password set.
    void
    Release resources.
    void
    report a bad password.
    boolean
    Show 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

      void reportBadPassword(String pError)
      report a bad password.
      Parameters:
      pError - the error details