@ComponentSpecification public interface UiDataBindingFactory
UiDataBinding
.Modifier and Type | Method and Description |
---|---|
<VALUE> UiDataBinding<VALUE> |
createDataBinding(AbstractUiContext context,
Class<VALUE> valueType)
|
<VALUE> UiDataBinding<VALUE> |
createDataBinding(AbstractUiWidget<VALUE> widget,
Class<VALUE> valueType)
|
static final String CDI_NAME
CDI name
.<VALUE> UiDataBinding<VALUE> createDataBinding(AbstractUiWidget<VALUE> widget, Class<VALUE> valueType)
VALUE
- is the generic type of the valueType
.widget
- is the widget the UiDataBinding
is associated with.valueType
- is the Class
reflecting the type of the value.UiDataBinding
.<VALUE> UiDataBinding<VALUE> createDataBinding(AbstractUiContext context, Class<VALUE> valueType)
UiDataBinding
for the given valueType
and
context
. It should only be used for very specific cases.VALUE
- is the generic type of the valueType
.context
- is the AbstractUiContext
.valueType
- is the Class
reflecting the type of the value.UiDataBinding
.Copyright © 2001–2016 mmm-Team. All rights reserved.