public interface VTViewTemplateProvider
VTViewTemplate
.Modifier and Type | Method and Description |
---|---|
Set<VTStyleProperty> |
getStyleProperties(VElement vElement,
ViewModelContext viewModelContext)
Return all
StyleProperties which are applicable to the provided VElement . |
VTViewTemplate |
getViewTemplate()
Returns a copy of the view template.
|
boolean |
hasControlValidationTemplate() |
Set<VTStyleProperty> getStyleProperties(VElement vElement, ViewModelContext viewModelContext)
StyleProperties
which are applicable to the provided VElement
.
The returned values might be cached by the caller. Therefore on the same arguments, the
VTViewTemplateProvider
is expected to return the same set of VTStylePropertyvElement
- the VElement
to get the StyleProperties
forviewModelContext
- the ViewModelContext
currently in useStyleProperties
which are applicable to the provided
VElement
or an empty setVTViewTemplate getViewTemplate()
VTViewTemplateProvider
VTViewTemplate
boolean hasControlValidationTemplate()
VTViewTemplateProvider
provides a VTControlValidationTemplate
Copyright © 2018. All rights reserved.