Uses of Interface
com.vaadin.flow.shared.Registration
-
-
Uses of Registration in com.vaadin.flow.component
Classes in com.vaadin.flow.component that implement Registration Modifier and Type Class Description classShortcutRegistrationA registration object for both configuring and removing the registered keyboard shortcut.Methods in com.vaadin.flow.component that return Registration Modifier and Type Method Description RegistrationUI. addAfterNavigationListener(AfterNavigationListener listener)Add a listener that will be informed when new components have been attached and all navigation tasks have resolved.default RegistrationAttachNotifier. addAttachListener(ComponentEventListener<AttachEvent> listener)Adds a attach listener to this component.RegistrationUI. addBeforeEnterListener(BeforeEnterListener listener)Add a listener that will be informed when a new set of components are going to be attached.RegistrationUI. addBeforeLeaveListener(BeforeLeaveListener listener)Add a listener that will be informed when old components are detached.default RegistrationBlurNotifier. addBlurListener(ComponentEventListener<BlurNotifier.BlurEvent<T>> listener)Add a listener to blur DOM events.default RegistrationClickNotifier. addClickListener(ComponentEventListener<ClickEvent<T>> listener)Adds a click listener to this component.default RegistrationCompositionNotifier. addCompositionEndListener(ComponentEventListener<CompositionEndEvent> listener)Adds acompositionendlistener to this component.default RegistrationCompositionNotifier. addCompositionStartListener(ComponentEventListener<CompositionStartEvent> listener)Adds acompositionstartlistener to this component.default RegistrationCompositionNotifier. addCompositionUpdateListener(ComponentEventListener<CompositionUpdateEvent> listener)Adds acompositionupdatelistener to this component.default RegistrationDetachNotifier. addDetachListener(ComponentEventListener<DetachEvent> listener)Adds a detach listener to this component.default RegistrationClickNotifier. addDoubleClickListener(ComponentEventListener<ClickEvent<T>> listener)Adds a double click listener to this component.default RegistrationFocusNotifier. addFocusListener(ComponentEventListener<FocusNotifier.FocusEvent<T>> listener)Add a listener to focus DOM events.RegistrationUI. addHeartbeatListener(HeartbeatListener listener)Add a listener that will be informed when this UI received a heartbeat from the client-side.default RegistrationInputNotifier. addInputListener(ComponentEventListener<InputEvent> listener)Adds an input listener to this component.default RegistrationKeyNotifier. addKeyDownListener(ComponentEventListener<KeyDownEvent> listener)Adds akeydownlistener to this component.default RegistrationKeyNotifier. addKeyDownListener(Key key, ComponentEventListener<KeyDownEvent> listener, KeyModifier... modifiers)Adds akeydownlistener to this component, which will trigger only if the keys involved in the event match thekeyandmodifiersparameters.default RegistrationKeyNotifier. addKeyPressListener(ComponentEventListener<KeyPressEvent> listener)Adds akeypresslistener to this component.default RegistrationKeyNotifier. addKeyPressListener(Key key, ComponentEventListener<KeyPressEvent> listener, KeyModifier... modifiers)Adds akeypresslistener to this component, which will trigger only if the keys involved in the event match thekeyandmodifiersparameters.default RegistrationKeyNotifier. addKeyUpListener(ComponentEventListener<KeyUpEvent> listener)Adds akeyuplistener to this component.default RegistrationKeyNotifier. addKeyUpListener(Key key, ComponentEventListener<KeyUpEvent> listener, KeyModifier... modifiers)Adds akeyuplistener to this component, which will trigger only if the keys involved in the event match thekeyandmodifiersparameters.protected <T extends ComponentEvent<?>>
RegistrationComponent. addListener(Class<T> eventType, ComponentEventListener<T> listener)Adds a listener for an event of the given type.<T extends ComponentEvent<?>>
RegistrationComponentEventBus. addListener(Class<T> eventType, ComponentEventListener<T> listener)Adds a listener for the given event type.<T extends ComponentEvent<?>>
RegistrationComponentEventBus. addListener(Class<T> eventType, ComponentEventListener<T> listener, Consumer<DomListenerRegistration> domListenerConsumer)Adds a listener for the given event type, and customizes the corresponding DOM event listener with the given consumer.static <T extends ComponentEvent<?>>
RegistrationComponentUtil. addListener(Component component, Class<T> eventType, ComponentEventListener<T> listener)Adds a listener for an event of the given type to thecomponent.static <T extends ComponentEvent<?>>
RegistrationComponentUtil. addListener(Component component, Class<T> eventType, ComponentEventListener<T> listener, Consumer<DomListenerRegistration> domListenerConsumer)Adds a listener for an event of the given type to thecomponent, and customizes the corresponding DOM event listener with the given consumer.default RegistrationPollNotifier. addPollListener(ComponentEventListener<PollEvent> listener)Add a poll listener.default RegistrationClickNotifier. addSingleClickListener(ComponentEventListener<ClickEvent<T>> listener)Adds a single click listener to this component.RegistrationAbstractCompositeField. addValueChangeListener(HasValue.ValueChangeListener<? super AbstractField.ComponentValueChangeEvent<S,T>> listener)RegistrationAbstractField. addValueChangeListener(HasValue.ValueChangeListener<? super AbstractField.ComponentValueChangeEvent<C,T>> listener)RegistrationHasValue. addValueChangeListener(HasValue.ValueChangeListener<? super E> listener)Adds a value change listener.static RegistrationShortcuts. setShortcutListenOnElement(String elementLocatorJs, Component listenOnComponent)Setup an element, that is only accessible on the browser (not server side), to listen for shortcut events on and delegate to the given component. -
Uses of Registration in com.vaadin.flow.component.internal
Methods in com.vaadin.flow.component.internal that return Registration Modifier and Type Method Description RegistrationUIInternals. addAfterNavigationListener(AfterNavigationListener listener)Add a listener that will be informed when new components have been attached and all navigation tasks have resolved.RegistrationUIInternals. addBeforeEnterListener(BeforeEnterListener listener)Add a listener that will be informed when a new set of components are going to be attached.RegistrationUIInternals. addBeforeLeaveListener(BeforeLeaveListener listener)Add a listener that will be informed when old components are detached.RegistrationUIInternals. addHeartbeatListener(HeartbeatListener listener)RegistrationAbstractFieldSupport. addValueChangeListener(HasValue.ValueChangeListener<? super AbstractField.ComponentValueChangeEvent<C,T>> listener) -
Uses of Registration in com.vaadin.flow.component.page
Methods in com.vaadin.flow.component.page that return Registration Modifier and Type Method Description RegistrationPage. addBrowserWindowResizeListener(BrowserWindowResizeListener resizeListener)Adds a newBrowserWindowResizeListenerto this UI. -
Uses of Registration in com.vaadin.flow.dom
Subinterfaces of Registration in com.vaadin.flow.dom Modifier and Type Interface Description interfaceDomListenerRegistrationA registration for configuring or removing a DOM event listener added to an element.Methods in com.vaadin.flow.dom that return Registration Modifier and Type Method Description RegistrationElement. addAttachListener(ElementAttachListener attachListener)Adds an attach listener for this element.RegistrationElement. addDetachListener(ElementDetachListener detachListener)Adds a detach listener for this element.RegistrationElement. addPropertyChangeListener(String name, PropertyChangeListener listener)Adds a property change listener which is triggered when the property's value is updated on the server side.RegistrationElementStateProvider. addPropertyChangeListener(StateNode node, String name, PropertyChangeListener listener)Adds a property change listener. -
Uses of Registration in com.vaadin.flow.dom.impl
Methods in com.vaadin.flow.dom.impl that return Registration Modifier and Type Method Description RegistrationAbstractTextElementStateProvider. addPropertyChangeListener(StateNode node, String name, PropertyChangeListener listener)RegistrationBasicElementStateProvider. addPropertyChangeListener(StateNode node, String name, PropertyChangeListener listener)RegistrationShadowRootStateProvider. addPropertyChangeListener(StateNode node, String name, PropertyChangeListener listener) -
Uses of Registration in com.vaadin.flow.internal
Subinterfaces of Registration in com.vaadin.flow.internal Modifier and Type Interface Description static interfaceStateTree.ExecutionRegistrationA registration object for removing a task registered for execution before the client response.Methods in com.vaadin.flow.internal that return Registration Modifier and Type Method Description RegistrationStateNode. addAttachListener(Command attachListener)Adds a command as an attach listener.static RegistrationReflectionCache. addClearAllAction(Runnable action)Adds an action that will be run when all reflection caches are cleared.RegistrationStateNode. addDetachListener(Command detachListener)Adds a command as a detach listener. -
Uses of Registration in com.vaadin.flow.internal.nodefeature
Subinterfaces of Registration in com.vaadin.flow.internal.nodefeature Modifier and Type Interface Description interfaceReturnChannelRegistrationA registration for a return channel.Methods in com.vaadin.flow.internal.nodefeature that return Registration Modifier and Type Method Description RegistrationPolymerEventListenerMap. add(String methodName, String[] eventDataExpressions)Adds a listener for a event created from a template method.RegistrationElementPropertyMap. addPropertyChangeListener(String name, PropertyChangeListener listener)Adds a property change listener. -
Uses of Registration in com.vaadin.flow.router
Methods in com.vaadin.flow.router that return Registration Modifier and Type Method Description RegistrationRouteConfiguration. addRoutesChangeListener(RoutesChangedListener listener)Add a listener that is notified when routes change for the registry. -
Uses of Registration in com.vaadin.flow.router.internal
Methods in com.vaadin.flow.router.internal that return Registration Modifier and Type Method Description RegistrationAbstractRouteRegistry. addRoutesChangeListener(RoutesChangedListener listener) -
Uses of Registration in com.vaadin.flow.server
Methods in com.vaadin.flow.server that return Registration Modifier and Type Method Description RegistrationRouteRegistry. addRoutesChangeListener(RoutesChangedListener listener)Adds the given route change listener to the registry.RegistrationSessionRouteRegistry. addRoutesChangeListener(RoutesChangedListener listener)Adds the given route change listener to the registry.RegistrationVaadinService. addServiceDestroyListener(ServiceDestroyListener listener)Adds a service destroy listener that gets notified when this service is destroyed.RegistrationVaadinService. addSessionDestroyListener(SessionDestroyListener listener)Adds a listener that gets notified when a Vaadin service session that has been initialized for this service is destroyed.RegistrationVaadinService. addSessionInitListener(SessionInitListener listener)Adds a listener that gets notified when a new Vaadin service session is initialized for this service.RegistrationVaadinService. addUIInitListener(UIInitListener listener)Adds a listener that gets notified when a new UI has been initialized. -
Uses of Registration in com.vaadin.flow.shared
Methods in com.vaadin.flow.shared that return Registration Modifier and Type Method Description static <T> RegistrationRegistration. addAndRemove(Collection<T> collection, T item)Creates a registration by adding an item to a collection immediately and removing the item from the collection when the registration is removed.static RegistrationRegistration. combine(Registration... registrations)Creates a registration that will remove multiple registrations.static RegistrationRegistration. once(Command command)Creates a registration that will run a command only once.Methods in com.vaadin.flow.shared with parameters of type Registration Modifier and Type Method Description static RegistrationRegistration. combine(Registration... registrations)Creates a registration that will remove multiple registrations.
-