Class DialogAdapter

    • Constructor Summary

      Constructors 
      Constructor Description
      DialogAdapter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean getConfirmation​(java.lang.String confirmationPrompt)
      Invoked when the user agent needs to display a confirmation dialog.
      java.lang.String getUserResponse​(java.lang.String prompt, java.lang.String defaultResponse)
      Invoked when the user agent needs to display a generic dialog and obtain a user response.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DialogAdapter

        public DialogAdapter()
    • Method Detail

      • getConfirmation

        public boolean getConfirmation​(java.lang.String confirmationPrompt)
        Invoked when the user agent needs to display a confirmation dialog. This default implementation confirms all dialogs.
        Specified by:
        getConfirmation in interface DialogResponder
      • getUserResponse

        public java.lang.String getUserResponse​(java.lang.String prompt,
                                                java.lang.String defaultResponse)
        Invoked when the user agent needs to display a generic dialog and obtain a user response. This default implementation returns the default response.
        Specified by:
        getUserResponse in interface DialogResponder