Interface ECPRendererTester

    • Method Detail

      • isApplicable

        int isApplicable​(VElement vElement,
                         ViewModelContext viewModelContext)
        Check whether the provided VElement and ViewModelContext are fitting for the provided renderer.
        Parameters:
        vElement - the VElement to check
        viewModelContext - the ViewModelContext to check
        Returns:
        NOT_APPLICABLE if the corresponding renderer should not be used, a positive integer value otherwise. The renderer with the highest priority will be taken.