Interface ValidationMessage

    • Method Detail

      • getText

        String getText()
        Message text
        Returns:
        message text
      • getSeverity

        Severity getSeverity()
        Message Severity
        Returns:
        message severity
      • getTarget

        Control getTarget()
        Message target - Control which message is related to .
        Returns:
        message target
      • error

        static ValidationMessage error​(Control target,
                                       String text)
        Factory method to create a simple error message
        Parameters:
        target - message target
        text - message text
        Returns:
        error message
      • warning

        static ValidationMessage warning​(Control target,
                                         String text)
        Factory method to create a simple warning message
        Parameters:
        target - message target
        text - message text
        Returns:
        warning message
      • info

        static ValidationMessage info​(Control target,
                                      String text)
        Factory method to create a simple info message
        Parameters:
        target - message target
        text - message text
        Returns:
        info message
      • ok

        static ValidationMessage ok​(Control target,
                                    String text)
        Factory method to create a simple ok message
        Parameters:
        target - message target
        text - message text
        Returns:
        ok message
      • ok

        static ValidationMessage ok​(Control target)
        Factory method to create a simple ok message
        Parameters:
        target - message target
        Returns:
        ok message