Interface Dialog

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean confirm​(java.lang.String message)
      Presents a confirmation prompt with the given message.
      char confirm​(java.lang.String message, java.lang.String values)
      Presents a confirmation prompt for values with the given message.
      char confirm​(java.lang.String message, java.lang.String values, java.lang.String help)
      Presents a confirmation prompt for values with the given messge.
      void notify​(java.lang.String message)
      Simply displays a message to the user, no input is returned from the user.
    • Method Detail

      • confirm

        boolean confirm​(java.lang.String message)
        Presents a confirmation prompt with the given message.
        Parameters:
        message - the confirmation prompt message to display
        Returns:
        true if the user has selected a positive confirmation, otherwise false
      • confirm

        char confirm​(java.lang.String message,
                     java.lang.String values)
        Presents a confirmation prompt for values with the given message.
        Parameters:
        message - the confirmation prompt to display
        values - a list of valid characters to accept
        Returns:
        whatever character the user presses
      • confirm

        char confirm​(java.lang.String message,
                     java.lang.String values,
                     java.lang.String help)
        Presents a confirmation prompt for values with the given messge.
        Parameters:
        message - the confirmation prompt to display
        values - a list of valid characters to accept
        help - a simple help message that can be associated with the message to give additional details about the prompt.
        Returns:
        whatever character the user presses
      • notify

        void notify​(java.lang.String message)
        Simply displays a message to the user, no input is returned from the user.
        Parameters:
        message - the message to display to the user