Interface TextInputDialogResultValidator


  • public interface TextInputDialogResultValidator
    Interface to implement for custom validation of text input in a TextInputDialog
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String validate​(java.lang.String content)
      Tests the content in the text box if it is valid or not
    • Method Detail

      • validate

        java.lang.String validate​(java.lang.String content)
        Tests the content in the text box if it is valid or not
        Parameters:
        content - Current content of the text box
        Returns:
        null if the content is valid, or an error message explaining what's wrong with the content otherwise