Class SearchInventaryObject
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.HtmlComponent
-
- com.vaadin.flow.component.HtmlContainer
-
- com.vaadin.flow.component.html.Div
-
- org.neotropic.kuwaiba.modules.commercial.sync.components.SearchInventaryObject
-
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier
,com.vaadin.flow.component.ClickNotifier<com.vaadin.flow.component.html.Div>
,com.vaadin.flow.component.DetachNotifier
,com.vaadin.flow.component.HasComponents
,com.vaadin.flow.component.HasElement
,com.vaadin.flow.component.HasEnabled
,com.vaadin.flow.component.HasOrderedComponents
,com.vaadin.flow.component.HasSize
,com.vaadin.flow.component.HasStyle
,com.vaadin.flow.component.HasText
,Serializable
public class SearchInventaryObject extends com.vaadin.flow.component.html.Div
- Author:
- Hardy Ryan Chingal Martinez <ryan.chingal@neotropic.co>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
SearchInventaryObject.SelectObjectEvent
-
Field Summary
Fields Modifier and Type Field Description static int
MAX_CLASSES_SEARCH_LIMIT
limit of the amount of classes that will be searchstatic int
MAX_OBJECTS_SEARCH_LIMIT
The limit of object that will be search by class
-
Constructor Summary
Constructors Constructor Description SearchInventaryObject(TranslationService ts, BusinessEntityManager bem, IconGenerator iconGenerator, Consumer<Object> consumerSearch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.vaadin.flow.shared.Registration
addSelectObjectListener(com.vaadin.flow.component.ComponentEventListener<SearchInventaryObject.SelectObjectEvent> listener)
void
clearSearch()
void
close()
-
Methods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, 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.ClickNotifier
addClickListener, addClickShortcut
-
Methods inherited from interface com.vaadin.flow.component.HasComponents
add, add, addComponentAsFirst, addComponentAtIndex, remove, removeAll
-
Methods inherited from interface com.vaadin.flow.component.HasOrderedComponents
getChildren, getComponentAt, getComponentCount, indexOf, replace
-
Methods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull
-
-
-
-
Field Detail
-
MAX_CLASSES_SEARCH_LIMIT
public static final int MAX_CLASSES_SEARCH_LIMIT
limit of the amount of classes that will be search- See Also:
- Constant Field Values
-
MAX_OBJECTS_SEARCH_LIMIT
public static final int MAX_OBJECTS_SEARCH_LIMIT
The limit of object that will be search by class- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SearchInventaryObject
public SearchInventaryObject(TranslationService ts, BusinessEntityManager bem, IconGenerator iconGenerator, Consumer<Object> consumerSearch)
-
-
Method Detail
-
addSelectObjectListener
public com.vaadin.flow.shared.Registration addSelectObjectListener(com.vaadin.flow.component.ComponentEventListener<SearchInventaryObject.SelectObjectEvent> listener)
-
close
public void close()
-
clearSearch
public void clearSearch()
-
-