public static class OptionsBinder.OptionBindingImpl<V> extends java.lang.Object implements OptionsBinding<V>
Modifier and Type | Field and Description |
---|---|
protected Component |
component |
protected io.jmix.core.common.event.Subscription |
componentValueChangeSubscription |
protected OptionsBinder.OptionsTarget<V> |
optionsTarget |
protected Options<V> |
source |
protected io.jmix.core.common.event.Subscription |
sourceOptionsChangeSupscription |
protected io.jmix.core.common.event.Subscription |
sourceStateChangeSupscription |
protected io.jmix.core.common.event.Subscription |
sourceValueChangeSupscription |
Constructor and Description |
---|
OptionBindingImpl(Options<V> source,
Component component,
OptionsBinder.OptionsTarget<V> optionsTarget) |
Modifier and Type | Method and Description |
---|---|
void |
activate() |
<E> void |
bind() |
protected void |
componentValueChanged(HasValue.ValueChangeEvent event) |
Component |
getComponent() |
Options<V> |
getSource() |
protected void |
optionsSourceOptionsChanged(Options.OptionsChangeEvent<V> event) |
protected void |
optionsSourceStateChanged(DataUnit.StateChangeEvent event) |
protected void |
optionsSourceValueChanged(EntityOptions.ValueChangeEvent<?> event) |
void |
unbind()
Destroy data binding.
|
protected OptionsBinder.OptionsTarget<V> optionsTarget
protected Component component
protected io.jmix.core.common.event.Subscription componentValueChangeSubscription
protected io.jmix.core.common.event.Subscription sourceStateChangeSupscription
protected io.jmix.core.common.event.Subscription sourceOptionsChangeSupscription
protected io.jmix.core.common.event.Subscription sourceValueChangeSupscription
public OptionBindingImpl(Options<V> source, Component component, OptionsBinder.OptionsTarget<V> optionsTarget)
public Options<V> getSource()
getSource
in interface OptionsBinding<V>
public Component getComponent()
getComponent
in interface OptionsBinding<V>
public void activate()
activate
in interface OptionsBinding<V>
public <E> void bind()
protected void optionsSourceOptionsChanged(Options.OptionsChangeEvent<V> event)
protected void optionsSourceValueChanged(EntityOptions.ValueChangeEvent<?> event)
protected void componentValueChanged(HasValue.ValueChangeEvent event)
protected void optionsSourceStateChanged(DataUnit.StateChangeEvent event)