Class MultiValueSelectDialog<E>
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
io.jmix.flowui.view.View<ViewLayout>
io.jmix.flowui.view.StandardView
io.jmix.flowui.view.StandardListView<E>
io.jmix.flowui.app.multivaluepicker.MultiValueSelectDialog<E>
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier
,com.vaadin.flow.component.DetachNotifier
,com.vaadin.flow.component.HasElement
,com.vaadin.flow.router.AfterNavigationObserver
,com.vaadin.flow.router.BeforeEnterObserver
,com.vaadin.flow.router.BeforeLeaveObserver
,com.vaadin.flow.router.HasDynamicTitle
,com.vaadin.flow.router.internal.AfterNavigationHandler
,com.vaadin.flow.router.internal.BeforeEnterHandler
,com.vaadin.flow.router.internal.BeforeLeaveHandler
,MultiValueSelectView<E>
,LookupView<E>
,MultiSelectLookupView
,Serializable
@ViewController("multiValueSelectDialog")
@ViewDescriptor("multi-value-select-dialog.xml")
@DialogMode(height="30em",
minWidth="25em",
resizable=true)
public class MultiValueSelectDialog<E>
extends StandardListView<E>
implements MultiValueSelectView<E>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.view.View
View.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.QueryParametersChangeEvent, View.ReadyEvent
Nested classes/interfaces inherited from interface io.jmix.flowui.view.LookupView
LookupView.ValidationContext<E>
Nested classes/interfaces inherited from interface io.jmix.flowui.app.multivaluepicker.MultiValueSelectView
MultiValueSelectView.MultiValueSelectContext<E>
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.vaadin.flow.component.orderedlayout.HorizontalLayout
protected MultiValueSelectView.MultiValueSelectContext<E>
protected CurrentAuthentication
protected DatatypeRegistry
protected DialogWindows
protected Messages
protected MetadataTools
protected com.vaadin.flow.component.orderedlayout.VerticalLayout
protected JmixButton
protected UiComponents
protected UiComponentsGenerator
Fields inherited from class io.jmix.flowui.view.StandardListView
DISCARD_ACTION_DEFAULT_ID, LOOKUP_ACTIONS_LAYOUT_DEFAULT_ID, SELECT_ACTION_DEFAULT_ID, selectionHandler, selectionValidator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addValueInternal
(com.vaadin.flow.component.HasValue<?, E> component) protected void
addValueToLayout
(E value) protected String
getGeneratedLabel
(E value) getValue()
protected void
protected void
protected boolean
isValid
(SupportsValidation<E> component) protected void
void
onCancel
(ActionPerformedEvent event) void
onSelect
(ActionPerformedEvent event) void
protected boolean
valueExists
(E value) Methods inherited from class io.jmix.flowui.view.StandardListView
closeWithDiscard, doSelect, findLookupComponent, getDiscardAction, getLookupActionsLayout, getLookupComponent, getSelectAction, getSelectionHandler, getSelectionValidator, handleSelection, setLookupComponentMultiSelect, setSelectionHandler, setSelectionValidator, setupLookupComponent, setupSaveShortcut, validateSelectedItems
Methods inherited from class io.jmix.flowui.view.StandardView
initContent
Methods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addReadyListener, afterNavigation, beforeEnter, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, onDetach, setApplicationContext, setId, setViewActions, setViewData, setViewFacets
Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement
Methods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getEventBus, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onEnabledStateChanged, scrollIntoView, set, setElement, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListener
Methods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
-
Field Details
-
selectBtn
-
addItemLayout
-
multiValueLayout
-
messages
-
uiComponentsGenerator
-
uiComponents
-
dialogWindows
-
datatypeRegistry
-
currentAuthentication
-
metadataTools
-
context
-
values
-
-
Constructor Details
-
MultiValueSelectDialog
public MultiValueSelectDialog()
-
-
Method Details
-
setMultiValueSelectContext
- Specified by:
setMultiValueSelectContext
in interfaceMultiValueSelectView<E>
-
getValue
- Specified by:
getValue
in interfaceMultiValueSelectView<E>
-
initAddComponentLayout
protected void initAddComponentLayout() -
addValueInternal
-
isValid
-
valueExists
-
initValues
protected void initValues() -
addValueToLayout
-
lookupActionPerformed
-
getGeneratedLabel
-
onSelect
-
onCancel
-