X-Git-Url: http://git.nikiroo.be/?p=jvcard.git;a=blobdiff_plain;f=src%2Fcom%2Fgooglecode%2Flanterna%2Fgui2%2Fdialogs%2FTextInputDialogResultValidator.java;fp=src%2Fcom%2Fgooglecode%2Flanterna%2Fgui2%2Fdialogs%2FTextInputDialogResultValidator.java;h=0000000000000000000000000000000000000000;hp=9dee60685bd9316f6ae6ead1742949db2082057c;hb=f06c81000632cfb5f525ca458f719338f55f9f66;hpb=a73a906356c971b080c36368e71a15d87e8b8d31 diff --git a/src/com/googlecode/lanterna/gui2/dialogs/TextInputDialogResultValidator.java b/src/com/googlecode/lanterna/gui2/dialogs/TextInputDialogResultValidator.java deleted file mode 100644 index 9dee606..0000000 --- a/src/com/googlecode/lanterna/gui2/dialogs/TextInputDialogResultValidator.java +++ /dev/null @@ -1,15 +0,0 @@ -package com.googlecode.lanterna.gui2.dialogs; - -/** - * Interface to implement for custom validation of text input in a {@code TextInputDialog} - * @author Martin - */ -public interface TextInputDialogResultValidator { - /** - * Tests the content in the text box if it is valid or not - * @param content Current content of the text box - * @return {@code null} if the content is valid, or an error message explaining what's wrong with the content - * otherwise - */ - String validate(String content); -}