Class DeviceSelectorWindow
- 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.DeviceSelectorWindow
-
- 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 DeviceSelectorWindow extends ObjectSelectorWindow
Window to select a Device or Viewable Object.- Author:
- Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeviceSelectorWindow(BusinessObjectLight object, MetadataEntityManager mem, TranslationService ts, Consumer<BusinessObjectLight> consumerSelectedObject, BusinessEntityManager bem)
-
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
-
DeviceSelectorWindow
public DeviceSelectorWindow(BusinessObjectLight object, MetadataEntityManager mem, TranslationService ts, Consumer<BusinessObjectLight> consumerSelectedObject, BusinessEntityManager bem)
-
-
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
-
-