Class BusinessObjectSelector
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.orderedlayout.FlexLayout
-
- org.neotropic.util.visual.selectors.BusinessObjectSelector
-
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.ClickNotifier<com.vaadin.flow.component.orderedlayout.FlexLayout>,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.orderedlayout.FlexLayout>,com.vaadin.flow.component.HasSize,com.vaadin.flow.component.HasStyle,com.vaadin.flow.component.orderedlayout.FlexComponent<com.vaadin.flow.component.orderedlayout.FlexLayout>,Serializable
public class BusinessObjectSelector extends com.vaadin.flow.component.orderedlayout.FlexLayoutThis reusable component allows the consumer to search and select an object from the inventory, either directly (typing its name), or- Author:
- Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classBusinessObjectSelector.SelectedObjectChangeEvent-
Nested classes/interfaces inherited from class com.vaadin.flow.component.orderedlayout.FlexLayout
com.vaadin.flow.component.orderedlayout.FlexLayout.ContentAlignment, com.vaadin.flow.component.orderedlayout.FlexLayout.FlexDirection, com.vaadin.flow.component.orderedlayout.FlexLayout.FlexWrap, com.vaadin.flow.component.orderedlayout.FlexLayout.WrapMode
-
-
Constructor Summary
Constructors Constructor Description BusinessObjectSelector(String placeholder, boolean refineSearch, ApplicationEntityManager aem, BusinessEntityManager bem, MetadataEntityManager mem, TranslationService ts, String... clasessToFilter)BusinessObjectSelector(String placeholder, ApplicationEntityManager aem, BusinessEntityManager bem, MetadataEntityManager mem, TranslationService ts, String... clasessToFilter)BusinessObjectSelector(String placeholder, ApplicationEntityManager aem, BusinessEntityManager bem, MetadataEntityManager mem, TranslationService ts, String refineSearchUntilClassname, boolean ignoreSpecialChildren, String... clasessToFilter)BusinessObjectSelector(BusinessObjectLight selectedObject, List<BusinessObjectLight> selectedObjects, String placeholder, ApplicationEntityManager aem, BusinessEntityManager bem, MetadataEntityManager mem, TranslationService ts, String... clasessToFilter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.vaadin.flow.component.orderedlayout.HorizontalLayoutaddRow()com.vaadin.flow.component.orderedlayout.HorizontalLayoutaddRow(BusinessObjectLight parent, BusinessObjectLight businessObject)com.vaadin.flow.shared.RegistrationaddSelectedObjectChangeListener(com.vaadin.flow.component.ComponentEventListener<BusinessObjectSelector.SelectedObjectChangeEvent> listener)-
Methods inherited from class com.vaadin.flow.component.orderedlayout.FlexLayout
getAlignContent, getFlexBasis, getFlexDirection, getFlexShrink, getFlexWrap, getOrder, getWrapMode, setAlignContent, setFlexBasis, setFlexDirection, setFlexShrink, setFlexWrap, setOrder, setWrapMode
-
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.orderedlayout.FlexComponent
expand, getAlignItems, getAlignSelf, getFlexGrow, getJustifyContentMode, replace, setAlignItems, setAlignSelf, setFlexGrow, setJustifyContentMode
-
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
-
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
-
-
-
-
Constructor Detail
-
BusinessObjectSelector
public BusinessObjectSelector(String placeholder, ApplicationEntityManager aem, BusinessEntityManager bem, MetadataEntityManager mem, TranslationService ts, String... clasessToFilter)
-
BusinessObjectSelector
public BusinessObjectSelector(String placeholder, ApplicationEntityManager aem, BusinessEntityManager bem, MetadataEntityManager mem, TranslationService ts, String refineSearchUntilClassname, boolean ignoreSpecialChildren, String... clasessToFilter)
-
BusinessObjectSelector
public BusinessObjectSelector(String placeholder, boolean refineSearch, ApplicationEntityManager aem, BusinessEntityManager bem, MetadataEntityManager mem, TranslationService ts, String... clasessToFilter)
-
BusinessObjectSelector
public BusinessObjectSelector(BusinessObjectLight selectedObject, List<BusinessObjectLight> selectedObjects, String placeholder, ApplicationEntityManager aem, BusinessEntityManager bem, MetadataEntityManager mem, TranslationService ts, String... clasessToFilter)
-
-
Method Detail
-
addRow
public com.vaadin.flow.component.orderedlayout.HorizontalLayout addRow()
-
addRow
public com.vaadin.flow.component.orderedlayout.HorizontalLayout addRow(BusinessObjectLight parent, BusinessObjectLight businessObject)
-
addSelectedObjectChangeListener
public com.vaadin.flow.shared.Registration addSelectedObjectChangeListener(com.vaadin.flow.component.ComponentEventListener<BusinessObjectSelector.SelectedObjectChangeEvent> listener)
-
-