Class ReportDetailView.JmixComboBoxBinder<V>
java.lang.Object
io.jmix.reportsflowui.view.report.ReportDetailView.JmixComboBoxBinder<V>
- Type Parameters:
- V- type of field value
- Enclosing class:
- ReportDetailView
Class wraps ComboBox value change listener and manages its registration.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected JmixComboBox<V>protected com.vaadin.flow.component.HasValue.ValueChangeListener<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixComboBox<V>,V>> protected com.vaadin.flow.shared.Registration
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetItemsSilently(Collection<V> items) Sets items without triggeringAbstractField.ComponentValueChangeEvent.voidsetItemsSilently(Collection<V> items, boolean restoreValue) Sets items without triggeringAbstractField.ComponentValueChangeEvent.voidsetValueChangeListener(com.vaadin.flow.component.HasValue.ValueChangeListener<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixComboBox<V>, V>> listener) 
- 
Field Details- 
comboBox
- 
valueChangeRegistrationprotected com.vaadin.flow.shared.Registration valueChangeRegistration
- 
listenerprotected com.vaadin.flow.component.HasValue.ValueChangeListener<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixComboBox<V>,V>> listener
 
- 
- 
Constructor Details- 
JmixComboBoxBinder
 
- 
- 
Method Details- 
setValueChangeListenerpublic void setValueChangeListener(com.vaadin.flow.component.HasValue.ValueChangeListener<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixComboBox<V>, V>> listener) 
- 
setItemsSilentlySets items without triggeringAbstractField.ComponentValueChangeEvent.Note that field's value will be unset. - Parameters:
- items- items to set
 
- 
setItemsSilentlySets items without triggeringAbstractField.ComponentValueChangeEvent. If therestoreValueparameter istrue, the field's value will be restored.- Parameters:
- items- items to set
- restoreValue- whether field's value should be restored after setting items
 
 
-