Uses of Interface
com.vaadin.flow.shared.Registration
Packages that use Registration
Package
Description
-
Uses of Registration in com.vaadin.flow.component
Classes in com.vaadin.flow.component that implement RegistrationModifier and TypeClassDescriptionclassA registration object for both configuring and removing the registered keyboard shortcut.Methods in com.vaadin.flow.component that return RegistrationModifier and TypeMethodDescriptionUI.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.UI.addBeforeEnterListener(BeforeEnterListener listener) Add a listener that will be informed when a new set of components are going to be attached.UI.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.UI.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.AbstractCompositeField.addValueChangeListener(HasValue.ValueChangeListener<? super AbstractField.ComponentValueChangeEvent<S, T>> listener) AbstractField.addValueChangeListener(HasValue.ValueChangeListener<? super AbstractField.ComponentValueChangeEvent<C, T>> listener) HasValue.addValueChangeListener(HasValue.ValueChangeListener<? super E> listener) Adds a value change listener.static <C extends Component,T>
RegistrationComponentEffect.bind(C owner, com.vaadin.signals.Signal<T> signal, SerializableBiConsumer<C, T> setter) Binds asignal's value to a given owner component in a way defined insetterfunction and creates a Signal effect function executing the setter whenever the signal value changes.static <C extends Component>
RegistrationCreates a Signal effect that is owned by a given component.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 RegistrationModifier and TypeMethodDescriptionUIInternals.addAfterNavigationListener(AfterNavigationListener listener) Add a listener that will be informed when new components have been attached and all navigation tasks have resolved.UIInternals.addBeforeEnterListener(BeforeEnterListener listener) Add a listener that will be informed when a new set of components are going to be attached.UIInternals.addBeforeLeaveListener(BeforeLeaveListener listener) Add a listener that will be informed when old components are detached.UIInternals.addHeartbeatListener(HeartbeatListener listener) AbstractFieldSupport.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 RegistrationModifier and TypeMethodDescriptionPage.addBrowserWindowResizeListener(BrowserWindowResizeListener resizeListener) Adds a newBrowserWindowResizeListenerto this UI.Page.addStyleSheet(String url) Adds the given style sheet to the page and ensures that it is loaded successfully.Page.addStyleSheet(String url, LoadMode loadMode) Adds the given style sheet to the page and ensures that it is loaded successfully. -
Uses of Registration in com.vaadin.flow.dom
Subinterfaces of Registration in com.vaadin.flow.domModifier and TypeInterfaceDescriptioninterfaceA registration for configuring or removing a DOM event listener added to an element.Methods in com.vaadin.flow.dom that return RegistrationModifier and TypeMethodDescriptionElement.addAttachListener(ElementAttachListener attachListener) Adds an attach listener for this element.Element.addDetachListener(ElementDetachListener detachListener) Adds a detach listener for this element.Element.addPropertyChangeListener(String name, PropertyChangeListener listener) Adds a property change listener which is triggered when the property's value is updated on the server side.ElementStateProvider.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 RegistrationModifier and TypeMethodDescriptionAbstractTextElementStateProvider.addPropertyChangeListener(StateNode node, String name, PropertyChangeListener listener) BasicElementStateProvider.addPropertyChangeListener(StateNode node, String name, PropertyChangeListener listener) ShadowRootStateProvider.addPropertyChangeListener(StateNode node, String name, PropertyChangeListener listener) -
Uses of Registration in com.vaadin.flow.internal
Subinterfaces of Registration in com.vaadin.flow.internalModifier and TypeInterfaceDescriptionstatic interfaceA registration object for removing a task registered for execution before the client response.Methods in com.vaadin.flow.internal that return RegistrationModifier and TypeMethodDescriptionStateNode.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.StateNode.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.nodefeatureModifier and TypeInterfaceDescriptioninterfaceA registration for a return channel.Methods in com.vaadin.flow.internal.nodefeature that return RegistrationModifier and TypeMethodDescriptionAdds a listener for a event created from a template method.ElementPropertyMap.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 RegistrationModifier and TypeMethodDescriptionRouteConfiguration.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 RegistrationModifier and TypeMethodDescriptionAbstractRouteRegistry.addRoutesChangeListener(RoutesChangedListener listener) -
Uses of Registration in com.vaadin.flow.server
Methods in com.vaadin.flow.server that return RegistrationModifier and TypeMethodDescriptionRouteRegistry.addRoutesChangeListener(RoutesChangedListener listener) Adds the given route change listener to the registry.SessionRouteRegistry.addRoutesChangeListener(RoutesChangedListener listener) Adds the given route change listener to the registry.VaadinService.addServiceDestroyListener(ServiceDestroyListener listener) Adds a service destroy listener that gets notified when this service is destroyed.VaadinService.addSessionDestroyListener(SessionDestroyListener listener) Adds a listener that gets notified when a Vaadin service session that has been initialized for this service is destroyed.VaadinSession.addSessionDestroyListener(SessionDestroyListener listener) Adds a listener that gets notified when this session is destroyed.VaadinService.addSessionInitListener(SessionInitListener listener) Adds a listener that gets notified when a new Vaadin service session is initialized for this service.VaadinService.addUIInitListener(UIInitListener listener) Adds a listener that gets notified when a new UI has been initialized. -
Uses of Registration in com.vaadin.flow.server.streams
Methods in com.vaadin.flow.server.streams that return RegistrationModifier and TypeMethodDescriptionprotected RegistrationTransferProgressAwareHandler.addTransferProgressListener(TransferProgressListener listener) Adds a listener to be notified of data transfer progress events, such as:TransferProgressListener.onStart(TransferContext)TransferProgressListener.onProgress(TransferContext, long, long)TransferProgressListener.onError(TransferContext, IOException)TransferProgressListener.onComplete(TransferContext, long)