Module com.googlecode.lanterna
Interface TextInputDialogResultValidator
public interface TextInputDialogResultValidator
Interface to implement for custom validation of text input in a
TextInputDialog-
Method Summary
-
Method Details
-
validate
Tests the content in the text box if it is valid or not- Parameters:
content- Current content of the text box- Returns:
nullif the content is valid, or an error message explaining what's wrong with the content otherwise
-