public class LeafRendererTester extends Object implements ECPRendererTester
NOT_APPLICABLE
Constructor and Description |
---|
LeafRendererTester() |
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. |
public int isApplicable(VElement vElement, ViewModelContext viewModelContext)
ECPRendererTester
VElement
and ViewModelContext
are fitting for the provided renderer.isApplicable
in interface ECPRendererTester
vElement
- the VElement
to checkviewModelContext
- the ViewModelContext
to checkECPRendererTester.NOT_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.