public interface ValidationResultModelProvider
ValidationResultModels.
Useful for contexts where the ValidationResultModel cannot be accessed
directly, because its provider is null. In the following example,
the model may be null (if the view is launched without model):
return IconFeedbackPanel.getWrappedComponentTree(
model.getValidationResultModel(), // Fails if model == null
builder.getPanel());
return IconFeedbackPanel.getWrappedComponentTree(
model, // Works if model == null
builder.getPanel());
| Modifier and Type | Method and Description |
|---|---|
ValidationResultModel |
getValidationResultModel()
Returns this provider's validation result model.
|
ValidationResultModel getValidationResultModel()
Copyright © 2003-2014 JGoodies Software GmbH. All Rights Reserved.