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
,com.vaadin.flow.component.HasTheme
,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
getBtnCancel, getBtnConfirm, setContentSizeFull, setEnableBtnConfirm, 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, addThemeVariants, close, getChildren, getHeight, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, isCloseOnEsc, isCloseOnOutsideClick, isDraggable, isModal, isOpened, isResizable, onAttach, removeThemeVariants, 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, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
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
-
-