public interface ECPRendererTester
ViewModelContext.| Modifier and Type | Field and Description |
|---|---|
static int |
NOT_APPLICABLE
Return this whenever the renderer should not be used for the tested
ViewModelContext. |
| Modifier and Type | Method and Description |
|---|---|
int |
isApplicable(VElement vElement,
ViewModelContext viewModelContext)
Check whether the provided
VElement and ViewModelContext are fitting for the provided renderer. |
static final int NOT_APPLICABLE
ViewModelContext.int isApplicable(VElement vElement, ViewModelContext viewModelContext)
VElement and ViewModelContext are fitting for the provided renderer.vElement - the VElement to checkviewModelContext - the ViewModelContext to checkNOT_APPLICABLE if the corresponding renderer should not be used, a positive integer value
otherwise. The renderer with the highest priority will be taken.Copyright © 2016. All rights reserved.