Class AddObjectSelector
- 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.optional.topoman.tools.AddObjectSelector
 
 
 
 
 
- 
- 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 AddObjectSelector extends com.vaadin.flow.component.html.DivTheTopologyAddObjectclass provides a UI for searching and adding topological objects.It includes a search text field and tables displaying search results, allowing objects to be added to a graphical view. - Author:
- Mauricio Ruiz Beltrán <mauricio.ruiz@kuwaiba.org>
- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classAddObjectSelector.NewObjectEventEvent fired when a new object is added.
 - 
Constructor SummaryConstructors Constructor Description AddObjectSelector(TranslationService ts, BusinessEntityManager bem, MxGraphCanvas mxGraphCanvas, IconGenerator iconGenerator)Constructs aTopologyAddObjectwith the specified parameters.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description com.vaadin.flow.shared.RegistrationaddNewObjectListener(com.vaadin.flow.component.ComponentEventListener<AddObjectSelector.NewObjectEvent> listener)Adds a listener for new object events.voidsetEnabled(boolean enabled)- 
Methods inherited from class com.vaadin.flow.component.ComponentaddListener, 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.vaadin.flow.component.ClickNotifieraddClickListener, addClickShortcut
 - 
Methods inherited from interface com.vaadin.flow.component.HasComponentsadd, add, addComponentAsFirst, addComponentAtIndex, remove, removeAll
 - 
Methods inherited from interface com.vaadin.flow.component.HasOrderedComponentsgetChildren, getComponentAt, getComponentCount, indexOf, replace
 - 
Methods inherited from interface com.vaadin.flow.component.HasSizegetHeight, 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- 
AddObjectSelectorpublic AddObjectSelector(TranslationService ts, BusinessEntityManager bem, MxGraphCanvas mxGraphCanvas, IconGenerator iconGenerator) Constructs aTopologyAddObjectwith the specified parameters.- Parameters:
- ts- The translation service
- bem- The business entity manager
- mxGraphCanvas- The mxGraph canvas
- iconGenerator- The icon generator
 
 
- 
 - 
Method Detail- 
addNewObjectListenerpublic com.vaadin.flow.shared.Registration addNewObjectListener(com.vaadin.flow.component.ComponentEventListener<AddObjectSelector.NewObjectEvent> listener) Adds a listener for new object events.- Parameters:
- listener- The listener
- Returns:
- The registration for the listener
 
 - 
setEnabledpublic void setEnabled(boolean enabled) 
 
- 
 
-