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()
Deprecated.
Use
getStyleProperties(VElement, ViewModelContext) instead of using the
VTViewTemplate directly |
boolean |
hasControlValidationTemplate()
Deprecated.
The usage of
VTControlValidationTemplates is deprecated. Use
VTValidationStyleProperties instead. |
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 set@Deprecated VTViewTemplate getViewTemplate()
getStyleProperties(VElement, ViewModelContext)
instead of using the
VTViewTemplate
directlyVTViewTemplateProvider
VTViewTemplate
@Deprecated boolean hasControlValidationTemplate()
VTControlValidationTemplates
is deprecated. Use
VTValidationStyleProperties
instead.VTViewTemplateProvider
provides a VTControlValidationTemplate
Copyright © 2019. All rights reserved.