public static class ClassBuilderPanel.ClassValidator extends java.lang.Object implements AbstractPicker.PickerResultValidator
Constructor and Description |
---|
ClassBuilderPanel.ClassValidator(ClassBuilderModel model, PackagePopup packagePopup) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getInvalidValueMsg(java.lang.Object result)
Retrieve an error message detailing why the specified value is invalid.
|
boolean |
isResultValid(java.lang.Object value)
Whether the specified browse result is a valid value.
|
public ClassBuilderPanel.ClassValidator(ClassBuilderModel model, PackagePopup packagePopup)
public boolean isResultValid(java.lang.Object value)
AbstractPicker.PickerResultValidator
isResultValid
in interface AbstractPicker.PickerResultValidator
value
- the value to validate.public java.lang.String getInvalidValueMsg(java.lang.Object result)
AbstractPicker.PickerResultValidator
getInvalidValueMsg
in interface AbstractPicker.PickerResultValidator
result
- the invalid value.