public interface InputValidator
Messages.showInputDialog(String, String, javax.swing.Icon, String, InputValidator)
,
Messages.showInputDialog(java.awt.Component, String, String, javax.swing.Icon, String, InputValidator)
,
Messages.showInputDialog(com.intellij.openapi.project.Project, String, String, javax.swing.Icon, String, InputValidator)
,
Messages.showEditableChooseDialog(String, String, javax.swing.Icon, String[], String, InputValidator)
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. |
boolean checkInput(java.lang.String inputString)
inputString
is valid. It is invoked each time
input changes.inputString
- the input to checkboolean canClose(java.lang.String inputString)
false
is returned then then the message dialog will not be closed.inputString
- the input to check