public final class AbstractControlSWTRendererUtil extends Object
AbstractControlSWTRendererUtil
which may be reused by renderers which cannot
inherit from AbstractControlSWTRendererUtil
but want to reuse functionality.Modifier and Type | Method and Description |
---|---|
static int |
getLabelStyleBits(VTViewTemplateProvider viewTemplateProvider,
VElement control,
ViewModelContext viewModelContext)
The style bits for a control label.
|
static VTMandatoryStyleProperty |
getMandatoryStyle(VTViewTemplateProvider vtViewTemplateProvider,
VControl control,
ViewModelContext viewModelContext)
The
VTMandatoryStyleProperty property. |
public static int getLabelStyleBits(VTViewTemplateProvider viewTemplateProvider, VElement control, ViewModelContext viewModelContext)
viewTemplateProvider
- the VTViewTemplateProvider
control
- the VElement
viewModelContext
- the ViewModelContext
public static VTMandatoryStyleProperty getMandatoryStyle(VTViewTemplateProvider vtViewTemplateProvider, VControl control, ViewModelContext viewModelContext)
VTMandatoryStyleProperty
property.vtViewTemplateProvider
- the VTViewTemplateProvider
control
- the VControl
viewModelContext
- the ViewModelContext
Copyright © 2019. All rights reserved.