Interface TextInputDialogResultValidator


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

    Modifier and Type
    Method
    Description
    validate(String content)
    Tests the content in the text box if it is valid or not
  • Method Details

    • validate

      String validate(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