Uses of Interface
com.vaadin.flow.dom.DomListenerRegistration
-
Packages that use DomListenerRegistration Package Description com.vaadin.flow.component com.vaadin.flow.data.value com.vaadin.flow.dom com.vaadin.flow.dom.impl com.vaadin.flow.internal.nodefeature -
-
Uses of DomListenerRegistration in com.vaadin.flow.component
Methods in com.vaadin.flow.component that return DomListenerRegistration Modifier and Type Method Description protected DomListenerRegistrationAbstractSinglePropertyField. getSynchronizationRegistration()Returns the registration of the DOM event listener that synchronizes the property value.Method parameters in com.vaadin.flow.component with type arguments of type DomListenerRegistration Modifier and Type Method Description <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, 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. -
Uses of DomListenerRegistration in com.vaadin.flow.data.value
Methods in com.vaadin.flow.data.value with parameters of type DomListenerRegistration Modifier and Type Method Description static voidValueChangeMode. applyChangeTimeout(ValueChangeMode mode, int timeout, DomListenerRegistration registration)Applies the value change timeout of the given mode on the registration of the DOM event listener that synchronizes. -
Uses of DomListenerRegistration in com.vaadin.flow.dom
Methods in com.vaadin.flow.dom that return DomListenerRegistration Modifier and Type Method Description DomListenerRegistrationDomListenerRegistration. addEventData(String eventData)Add a JavaScript expression for extracting event data.default DomListenerRegistrationDomListenerRegistration. addEventDataElement(String eventData)Add a JavaScript expression for extracting an element as event data.DomListenerRegistrationElement. addEventListener(String eventType, DomEventListener listener)Adds an event listener for the given event type.DomListenerRegistrationElementStateProvider. addEventListener(StateNode node, String eventType, DomEventListener listener)Adds a DOM event listener.DomListenerRegistrationElement. addPropertyChangeListener(String propertyName, String domEventName, PropertyChangeListener listener)Adds a property change listener and configures the property to be synchronized to the server when a given DOM event is fired.default DomListenerRegistrationDomListenerRegistration. debounce(int timeout)Configures this listener to be notified only when at leasttimeoutmilliseconds has passed since the last time the event was triggered.DomListenerRegistrationDomListenerRegistration. debounce(int timeout, DebouncePhase firstPhase, DebouncePhase... rest)Configures the debouncing phases for which this listener should be triggered.default DomListenerRegistrationDomListenerRegistration. mapEventTargetElement()Marks that the DOM event should map theevent.targetto the closest correspondingElementon the server side, to be returned byDomEvent.getEventTarget().default DomListenerRegistrationDomListenerRegistration. onUnregister(SerializableRunnable unregisterHandler)Adds a handler that will be run when this registration is removed.DomListenerRegistrationDomListenerRegistration. setDisabledUpdateMode(DisabledUpdateMode disabledUpdateMode)Configure whether this listener will be called even in cases when the element is disabled.DomListenerRegistrationDomListenerRegistration. setFilter(String filter)Sets a JavaScript expression that is used for filtering events to this listener.default DomListenerRegistrationDomListenerRegistration. synchronizeProperty(String propertyName)Marks that the DOM event of this registration should trigger synchronization for the given property.default DomListenerRegistrationDomListenerRegistration. throttle(int period)Configures this listener to not be notified more often thanperiodmilliseconds. -
Uses of DomListenerRegistration in com.vaadin.flow.dom.impl
Methods in com.vaadin.flow.dom.impl that return DomListenerRegistration Modifier and Type Method Description DomListenerRegistrationAbstractTextElementStateProvider. addEventListener(StateNode node, String eventType, DomEventListener listener)DomListenerRegistrationBasicElementStateProvider. addEventListener(StateNode node, String eventType, DomEventListener listener)DomListenerRegistrationShadowRootStateProvider. addEventListener(StateNode node, String eventType, DomEventListener listener) -
Uses of DomListenerRegistration in com.vaadin.flow.internal.nodefeature
Methods in com.vaadin.flow.internal.nodefeature that return DomListenerRegistration Modifier and Type Method Description DomListenerRegistrationElementListenerMap. add(String eventType, DomEventListener listener)Add eventData for an event type.
-