Module io.github.mmm.ui.api.binding
Class UiBindingReceiverImpl<B extends io.github.mmm.bean.WritableBean>
java.lang.Object
io.github.mmm.ui.api.binding.data.UiBindingReceiverImpl<B>
- Type Parameters:
B
- type ofWritableBean
.
- All Implemented Interfaces:
io.github.mmm.ui.api.attribute.AttributeReadValue<B>
,io.github.mmm.ui.api.attribute.AttributeWriteValueForUser<B>
,UiBindingReceiver
,io.github.mmm.ui.api.binding.UiValueBinding<B>
public class UiBindingReceiverImpl<B extends io.github.mmm.bean.WritableBean>
extends Object
implements UiBindingReceiver, io.github.mmm.ui.api.binding.UiValueBinding<B>
Implementation of
UiBindingReceiver
.- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<V> void
add
(io.github.mmm.property.ReadableProperty<V> property, io.github.mmm.ui.api.widget.input.UiAbstractInput<V> input) Collection
<io.github.mmm.ui.api.widget.input.UiAbstractInput<?>> getValue()
void
void
-
Constructor Details
-
UiBindingReceiverImpl
The constructor.- Parameters:
bean
- theWritableBean
to use as template for the binding.
-
-
Method Details
-
setWidget
- Specified by:
setWidget
in interfaceio.github.mmm.ui.api.binding.UiValueBinding<B extends io.github.mmm.bean.WritableBean>
-
getValue
- Specified by:
getValue
in interfaceio.github.mmm.ui.api.attribute.AttributeReadValue<B extends io.github.mmm.bean.WritableBean>
-
setValue
- Specified by:
setValue
in interfaceio.github.mmm.ui.api.attribute.AttributeWriteValueForUser<B extends io.github.mmm.bean.WritableBean>
-
add
public <V> void add(io.github.mmm.property.ReadableProperty<V> property, io.github.mmm.ui.api.widget.input.UiAbstractInput<V> input) - Specified by:
add
in interfaceUiBindingReceiver
- Type Parameters:
V
- type of theproperty value
.- Parameters:
property
- theReadableProperty
that is bound.input
- theUiAbstractInput
bound to theproperty
.
-
getInputs
- Returns:
- the
Collection
of theUiAbstractInput
s.
-