Package docking.widgets.values
Interface ValuesMapValidator
public interface ValuesMapValidator
Interface for validating values in a
GValuesMap
-
Method Summary
Modifier and TypeMethodDescriptionboolean
validate
(GValuesMap values, StatusListener statusListener) Validates one or more values in the given ValuesMap.
-
Method Details
-
validate
Validates one or more values in the given ValuesMap. This is used by the ValuesMapDialog to validate values when the user presses the "Ok" button. If it returns true, the dialog will close. Otherwise, the dialog will remain visible, displaying the error message that was reported to the given StatusListener.- Parameters:
values
- the ValuesMap whose values are to be validatedstatusListener
- aStatusListener
to report validation errors back to the dialog- Returns:
- true if the values pass the validation check.
-