Class WindowContainerSelector
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.dialog.GeneratedVaadinDialog<com.vaadin.flow.component.dialog.Dialog>
-
- com.vaadin.flow.component.dialog.Dialog
-
- com.vaadin.componentfactory.EnhancedDialog
-
- org.neotropic.util.visual.dialog.ConfirmDialog
-
- org.neotropic.util.visual.window.ObjectSelectorWindow
-
- com.neotropic.kuwaiba.modules.commercial.ospman.dialogs.WindowContainerSelector
-
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier
,com.vaadin.flow.component.DetachNotifier
,com.vaadin.flow.component.HasComponents
,com.vaadin.flow.component.HasElement
,com.vaadin.flow.component.HasEnabled
,com.vaadin.flow.component.HasSize
,Serializable
public class WindowContainerSelector extends ObjectSelectorWindow
Window to select a container that must be a special child of one of the container endpoints of a given location.- Author:
- Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WindowContainerSelector(BusinessObjectLight location, BusinessEntityManager bem, MetadataEntityManager mem, TranslationService ts, Consumer<BusinessObjectLight> consumerSelectedContainer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<BusinessObjectLight>
getItems(BusinessObjectLight selectedObject)
List of items to set in the selector element.void
open()
-
Methods inherited from class org.neotropic.util.visual.window.ObjectSelectorWindow
getObject, getTranslationService, setButtonOkEnabled
-
Methods inherited from class org.neotropic.util.visual.dialog.ConfirmDialog
getBtnConfirm, setContentSizeFull, setHeader
-
Methods inherited from class com.vaadin.componentfactory.EnhancedDialog
add, addComponentAtIndex, addThemeVariants, addToFooter, addToHeader, remove, removeAll, setContent, setFooter, setHeader, setThemeVariants
-
Methods inherited from class com.vaadin.flow.component.dialog.Dialog
addAttachListener, addDetachListener, addDialogCloseActionListener, addOpenedChangeListener, addResizeListener, close, getChildren, getHeight, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, isCloseOnEsc, isCloseOnOutsideClick, isDraggable, isModal, isOpened, isResizable, setCloseOnEsc, setCloseOnOutsideClick, setDraggable, setHeight, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setModal, setOpened, setResizable, setWidth
-
Methods inherited from class com.vaadin.flow.component.dialog.GeneratedVaadinDialog
getAriaLabelString, isOpenedBoolean, setAriaLabel
-
Methods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
-
-
-
-
Constructor Detail
-
WindowContainerSelector
public WindowContainerSelector(BusinessObjectLight location, BusinessEntityManager bem, MetadataEntityManager mem, TranslationService ts, Consumer<BusinessObjectLight> consumerSelectedContainer)
-
-
Method Detail
-
open
public void open()
- Overrides:
open
in classObjectSelectorWindow
-
getItems
public List<BusinessObjectLight> getItems(BusinessObjectLight selectedObject) throws InventoryException
Description copied from class:ObjectSelectorWindow
List of items to set in the selector element.- Specified by:
getItems
in classObjectSelectorWindow
- Parameters:
selectedObject
- The last object selected.- Returns:
- List of items
- Throws:
InventoryException
-
-