Modifier and Type | Interface and Description |
---|---|
interface |
ComponentEventListener<T extends ComponentEvent<?>>
Generic listener for component events.
|
Modifier and Type | Class and Description |
---|---|
static class |
AbstractField.ComponentValueChangeEvent<C extends Component,V>
Value change event fired by components.
|
class |
AttachEvent
Event fired after a
Component is attached to the UI. |
static class |
BlurNotifier.BlurEvent<C extends Component>
Class that represents the DOM event "blur".
|
class |
ClickEvent<C extends Component>
Event fired when a component is clicked.
|
class |
CompositionEndEvent
The event when a composition is ended.
|
class |
CompositionStartEvent
The event when a composition is started.
|
class |
CompositionUpdateEvent
The event when a composition is updated.
|
class |
DetachEvent
Event fired before a
Component is detached from the UI. |
static class |
FocusNotifier.FocusEvent<C extends Component>
Class that represents the DOM event "focus".
|
class |
InputEvent
Event fired when the component has received any type of input (e.g.
|
class |
KeyDownEvent
The event when a key is pressed.
|
class |
KeyPressEvent
The event when a key is pressed.
|
class |
KeyUpEvent
The event when a key is released.
|
class |
PollEvent
An event that is fired whenever a client polls the server for asynchronous UI
updates.
|
Modifier and Type | Method and Description |
---|---|
<T extends ComponentEvent<?>> |
ComponentEventBus.addListener(Class<T> eventType,
ComponentEventListener<T> listener)
Adds a listener for the given event type.
|
protected <T extends ComponentEvent<?>> |
Component.addListener(Class<T> eventType,
ComponentEventListener<T> listener)
Adds a listener for an event of the given type.
|
static <T extends ComponentEvent<?>> |
ComponentUtil.addListener(Component component,
Class<T> eventType,
ComponentEventListener<T> listener)
Adds a listener for an event of the given type to the
component . |
static <T extends ComponentEvent<?>> |
ComponentEventBusUtil.getEventConstructor(Class<T> eventType)
Gets the constructor to use for firing a component event, of the given
type, based on a DOM event.
|
Modifier and Type | Method and Description |
---|---|
void |
ComponentEventBus.fireEvent(ComponentEvent event)
Dispatches the event to all listeners registered for the event type.
|
protected void |
Component.fireEvent(ComponentEvent<?> componentEvent)
Dispatches the event to all listeners registered for the event type.
|
static <T extends Component> |
ComponentUtil.fireEvent(T component,
ComponentEvent<? extends T> componentEvent)
Dispatches the event to all listeners registered for the event type.
|
Modifier and Type | Method and Description |
---|---|
static LinkedHashMap<String,Class<?>> |
ComponentEventBusUtil.getEventDataExpressions(Class<? extends ComponentEvent<?>> eventType)
Gets a map of event data expression (for
Element.addEventListener(String, com.vaadin.flow.dom.DomEventListener, String...)
) to Java type, with the same order as the parameters for the event
constructor (as returned by ComponentEventBusUtil.getEventConstructor(Class) ). |
boolean |
ComponentEventBus.hasListener(Class<? extends ComponentEvent> eventType)
Checks if there is at least one listener registered for the given event
type.
|
protected boolean |
Component.hasListener(Class<? extends ComponentEvent> eventType)
Checks if there is at least one listener registered for the given event
type for this component.
|
Modifier and Type | Class and Description |
---|---|
static class |
GeneratedVaadinCheckbox.ChangeEvent<R extends GeneratedVaadinCheckbox<R,?>> |
static class |
GeneratedVaadinCheckbox.CheckedChangeEvent<R extends GeneratedVaadinCheckbox<R,?>> |
static class |
GeneratedVaadinCheckbox.IndeterminateChangeEvent<R extends GeneratedVaadinCheckbox<R,?>> |
Modifier and Type | Class and Description |
---|---|
static class |
GeneratedVaadinComboBox.CustomValueSetEvent<R extends GeneratedVaadinComboBox<R,?>> |
static class |
GeneratedVaadinComboBox.FilterChangeEvent<R extends GeneratedVaadinComboBox<R,?>> |
static class |
GeneratedVaadinComboBox.InvalidChangeEvent<R extends GeneratedVaadinComboBox<R,?>> |
static class |
GeneratedVaadinComboBox.OpenedChangeEvent<R extends GeneratedVaadinComboBox<R,?>> |
static class |
GeneratedVaadinComboBox.SelectedItemChangeEvent<R extends GeneratedVaadinComboBox<R,?>> |
Modifier and Type | Class and Description |
---|---|
static class |
GeneratedVaadinDatePicker.InvalidChangeEvent<R extends GeneratedVaadinDatePicker<R,?>> |
static class |
GeneratedVaadinDatePicker.OpenedChangeEvent<R extends GeneratedVaadinDatePicker<R,?>> |
Modifier and Type | Class and Description |
---|---|
static class |
Dialog.DialogCloseActionEvent
`vaadin-dialog-close-action` is sent when the user clicks outside the
overlay or presses the escape key.
|
static class |
GeneratedVaadinDialog.OpenedChangeEvent<R extends GeneratedVaadinDialog<R>> |
Modifier and Type | Class and Description |
---|---|
class |
AbstractAttachDetachEvent
Internal helper for
AttachEvent and DetachEvent . |
class |
CompositionEvent
Abstract class for composition events.
|
class |
KeyboardEvent
Abstract class for keyboard events.
|
Modifier and Type | Method and Description |
---|---|
<T extends ComponentEvent<?>> |
EventDataCache.getEventConstructor(Class<T> eventType)
Gets the cached DOM event constructor for the given event type.
|
<T extends ComponentEvent<?>> |
EventDataCache.setEventConstructor(Class<T> eventType,
Constructor<T> constructor)
Stores the given DOM event constructor for the given event type in the
cache.
|
Modifier and Type | Method and Description |
---|---|
Optional<LinkedHashMap<String,Class<?>>> |
EventDataCache.getDataExpressions(Class<? extends ComponentEvent<?>> eventType)
Gets the cached data expressions for the given event type.
|
LinkedHashMap<String,Class<?>> |
EventDataCache.setDataExpressions(Class<? extends ComponentEvent<?>> eventType,
LinkedHashMap<String,Class<?>> expressions)
Stores the given data expressions for the given event type in the cache.
|
Modifier and Type | Class and Description |
---|---|
static class |
GeneratedVaadinNotification.OpenedChangeEvent<R extends GeneratedVaadinNotification<R>> |
Modifier and Type | Class and Description |
---|---|
static class |
GeneratedVaadinRadioButton.CheckedChangeEvent<R extends GeneratedVaadinRadioButton<R>> |
Modifier and Type | Class and Description |
---|---|
static class |
GeneratedVaadinSplitLayout.IronResizeEvent<R extends GeneratedVaadinSplitLayout<R>> |
static class |
GeneratedVaadinSplitLayout.SplitterDragendEvent<R extends GeneratedVaadinSplitLayout<R>> |
Modifier and Type | Class and Description |
---|---|
static class |
Tabs.SelectedChangeEvent
An event to mark that the selected tab has changed.
|
Modifier and Type | Class and Description |
---|---|
static class |
GeneratedVaadinTextArea.ChangeEvent<R extends GeneratedVaadinTextArea<R,?>> |
static class |
GeneratedVaadinTextArea.InvalidChangeEvent<R extends GeneratedVaadinTextArea<R,?>> |
static class |
GeneratedVaadinTextField.ChangeEvent<R extends GeneratedVaadinTextField<R,?>> |
static class |
GeneratedVaadinTextField.InvalidChangeEvent<R extends GeneratedVaadinTextField<R,?>> |
Modifier and Type | Class and Description |
---|---|
class |
FailedEvent
Upload.FailedEvent event is sent when the upload is received, but the
reception is interrupted for some reason.
|
class |
FinishedEvent
Upload.FinishedEvent is sent when the upload receives a file, regardless of
whether the reception was successful or failed.
|
static class |
GeneratedVaadinUpload.FileRejectEvent<R extends GeneratedVaadinUpload<R>> |
static class |
GeneratedVaadinUpload.FilesChangeEvent<R extends GeneratedVaadinUpload<R>> |
static class |
GeneratedVaadinUpload.MaxFilesReachedChangeEvent<R extends GeneratedVaadinUpload<R>> |
static class |
GeneratedVaadinUpload.UploadAbortEvent<R extends GeneratedVaadinUpload<R>> |
static class |
GeneratedVaadinUpload.UploadBeforeEvent<R extends GeneratedVaadinUpload<R>> |
static class |
GeneratedVaadinUpload.UploadErrorEvent<R extends GeneratedVaadinUpload<R>> |
static class |
GeneratedVaadinUpload.UploadProgressEvent<R extends GeneratedVaadinUpload<R>> |
static class |
GeneratedVaadinUpload.UploadRequestEvent<R extends GeneratedVaadinUpload<R>> |
static class |
GeneratedVaadinUpload.UploadResponseEvent<R extends GeneratedVaadinUpload<R>> |
static class |
GeneratedVaadinUpload.UploadRetryEvent<R extends GeneratedVaadinUpload<R>> |
static class |
GeneratedVaadinUpload.UploadStartEvent<R extends GeneratedVaadinUpload<R>> |
static class |
GeneratedVaadinUpload.UploadSuccessEvent<R extends GeneratedVaadinUpload<R>> |
static class |
GeneratedVaadinUploadFile.FileAbortEvent<R extends GeneratedVaadinUploadFile<R>> |
static class |
GeneratedVaadinUploadFile.FileRemoveEvent<R extends GeneratedVaadinUploadFile<R>> |
static class |
GeneratedVaadinUploadFile.FileRetryEvent<R extends GeneratedVaadinUploadFile<R>> |
static class |
GeneratedVaadinUploadFile.FileStartEvent<R extends GeneratedVaadinUploadFile<R>> |
class |
NoInputStreamEvent
FailedEvent that indicates that an input stream could not be obtained.
|
class |
NoOutputStreamEvent
FailedEvent that indicates that an output stream could not be obtained.
|
class |
ProgressUpdateEvent
ProgressUpdateEvent is sent to track progress of upload.
|
class |
StartedEvent
Upload.StartedEvent event is sent when the upload is started to received.
|
class |
SucceededEvent
Upload.SucceededEvent event is sent when the upload is received successfully.
|
Modifier and Type | Class and Description |
---|---|
class |
SortEvent<T extends Component,S extends SortOrder<?>>
Event describing a change in sorting of a
DataProvider . |
Modifier and Type | Class and Description |
---|---|
class |
MultiSelectionEvent<C extends Component,T>
Fired when the selection changes in a listing component that supports
multiple item selection.
|
class |
SingleSelectionEvent<C extends Component,T>
Fired when the selection changes in a listing component.
|
Copyright © 2018. All rights reserved.