protected static class RenameProjectHandler.MyInputValidator extends java.lang.Object implements InputValidator
| Constructor and Description |
|---|
MyInputValidator(ProjectEx project,
Module module) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canClose(java.lang.String inputString)
This method is invoked just before message dialog is closed with OK code.
|
boolean |
checkInput(java.lang.String inputString)
Checks whether the
inputString is valid. |
public boolean checkInput(java.lang.String inputString)
InputValidatorinputString is valid. It is invoked each time
input changes.checkInput in interface InputValidatorinputString - the input to checkpublic boolean canClose(java.lang.String inputString)
InputValidatorfalse is returned then then the message dialog will not be closed.canClose in interface InputValidatorinputString - the input to check