| Modifier and Type | Class and Description |
|---|---|
class |
KeyEventListener<E extends KeyboardEvent>
A conditional event listener for
KeyboardEvents. |
| Modifier and Type | Method and Description |
|---|---|
default Registration |
AttachNotifier.addAttachListener(ComponentEventListener<AttachEvent> listener)
Adds a attach listener to this component.
|
default Registration |
BlurNotifier.addBlurListener(ComponentEventListener<BlurNotifier.BlurEvent<T>> listener)
Add a listener to blur DOM events.
|
default Registration |
ClickNotifier.addClickListener(ComponentEventListener<ClickEvent<T>> listener)
Adds a click listener to this component.
|
default Registration |
CompositionNotifier.addCompositionEndListener(ComponentEventListener<CompositionEndEvent> listener)
Adds a
compositionend listener to this component. |
default Registration |
CompositionNotifier.addCompositionStartListener(ComponentEventListener<CompositionStartEvent> listener)
Adds a
compositionstart listener to this component. |
default Registration |
CompositionNotifier.addCompositionUpdateListener(ComponentEventListener<CompositionUpdateEvent> listener)
Adds a
compositionupdate listener to this component. |
default Registration |
DetachNotifier.addDetachListener(ComponentEventListener<DetachEvent> listener)
Adds a detach listener to this component.
|
default Registration |
FocusNotifier.addFocusListener(ComponentEventListener<FocusNotifier.FocusEvent<T>> listener)
Add a listener to focus DOM events.
|
default Registration |
InputNotifier.addInputListener(ComponentEventListener<InputEvent> listener)
Adds an input listener to this component.
|
default Registration |
KeyNotifier.addKeyDownListener(ComponentEventListener<KeyDownEvent> listener)
Adds a
keydown listener to this component. |
default Registration |
KeyNotifier.addKeyDownListener(Key key,
ComponentEventListener<KeyDownEvent> listener,
KeyModifier... modifiers)
Adds a
keydown listener to this component, which will trigger
only if the keys involved in the event match the key and
modifiers parameters. |
default Registration |
KeyNotifier.addKeyPressListener(ComponentEventListener<KeyPressEvent> listener)
Adds a
keypress listener to this component. |
default Registration |
KeyNotifier.addKeyPressListener(Key key,
ComponentEventListener<KeyPressEvent> listener,
KeyModifier... modifiers)
Adds a
keypress listener to this component, which will trigger
only if the keys involved in the event match the key and
modifiers parameters. |
default Registration |
KeyNotifier.addKeyUpListener(ComponentEventListener<KeyUpEvent> listener)
Adds a
keyup listener to this component. |
default Registration |
KeyNotifier.addKeyUpListener(Key key,
ComponentEventListener<KeyUpEvent> listener,
KeyModifier... modifiers)
Adds a
keyup listener to this component, which will trigger only
if the keys involved in the event match the key and
modifiers parameters. |
<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. |
default Registration |
PollNotifier.addPollListener(ComponentEventListener<PollEvent> listener)
Add a poll listener.
|
| Constructor and Description |
|---|
KeyEventListener(ComponentEventListener<E> listener,
Key key,
KeyModifier... modifiers)
Create a listener which will delegate to
listener only if
key is the target key. |
| Constructor and Description |
|---|
Button(Component icon,
ComponentEventListener<ClickEvent<Button>> clickListener)
Creates a button with an icon and a listener for click events.
|
Button(String text,
Component icon,
ComponentEventListener<ClickEvent<Button>> clickListener)
Create a button with a text, an icon and a listener for click events.
|
Button(String text,
ComponentEventListener<ClickEvent<Button>> clickListener)
Creates a button with a text and a listener for click events.
|
| Modifier and Type | Method and Description |
|---|---|
protected Registration |
GeneratedVaadinCheckbox.addChangeListener(ComponentEventListener<GeneratedVaadinCheckbox.ChangeEvent<R>> listener)
Adds a listener for
change events fired by the webcomponent. |
protected Registration |
GeneratedVaadinCheckbox.addCheckedChangeListener(ComponentEventListener<GeneratedVaadinCheckbox.CheckedChangeEvent<R>> listener)
Adds a listener for
checked-changed events fired by the
webcomponent. |
protected Registration |
GeneratedVaadinCheckbox.addIndeterminateChangeListener(ComponentEventListener<GeneratedVaadinCheckbox.IndeterminateChangeEvent<R>> listener)
Adds a listener for
indeterminate-changed events fired by the
webcomponent. |
| Modifier and Type | Method and Description |
|---|---|
Registration |
ComboBox.addCustomValueSetListener(ComponentEventListener<GeneratedVaadinComboBox.CustomValueSetEvent<ComboBox<T>>> listener)
Adds a listener for CustomValueSetEvent which is fired when user types in
a value that don't already exist in the ComboBox.
|
protected Registration |
GeneratedVaadinComboBox.addCustomValueSetListener(ComponentEventListener<GeneratedVaadinComboBox.CustomValueSetEvent<R>> listener)
Adds a listener for
custom-value-set events fired by the
webcomponent. |
protected Registration |
GeneratedVaadinComboBox.addFilterChangeListener(ComponentEventListener<GeneratedVaadinComboBox.FilterChangeEvent<R>> listener)
Adds a listener for
filter-changed events fired by the
webcomponent. |
protected Registration |
GeneratedVaadinComboBox.addInvalidChangeListener(ComponentEventListener<GeneratedVaadinComboBox.InvalidChangeEvent<R>> listener)
Adds a listener for
invalid-changed events fired by the
webcomponent. |
protected Registration |
GeneratedVaadinComboBox.addOpenedChangeListener(ComponentEventListener<GeneratedVaadinComboBox.OpenedChangeEvent<R>> listener)
Adds a listener for
opened-changed events fired by the
webcomponent. |
protected Registration |
GeneratedVaadinComboBox.addSelectedItemChangeListener(ComponentEventListener<GeneratedVaadinComboBox.SelectedItemChangeEvent<R>> listener)
Adds a listener for
selected-item-changed events fired by the
webcomponent. |
| Modifier and Type | Method and Description |
|---|---|
Registration |
DatePicker.addInvalidChangeListener(ComponentEventListener<GeneratedVaadinDatePicker.InvalidChangeEvent<DatePicker>> listener) |
protected Registration |
GeneratedVaadinDatePicker.addInvalidChangeListener(ComponentEventListener<GeneratedVaadinDatePicker.InvalidChangeEvent<R>> listener)
Adds a listener for
invalid-changed events fired by the
webcomponent. |
Registration |
DatePicker.addOpenedChangeListener(ComponentEventListener<GeneratedVaadinDatePicker.OpenedChangeEvent<DatePicker>> listener) |
protected Registration |
GeneratedVaadinDatePicker.addOpenedChangeListener(ComponentEventListener<GeneratedVaadinDatePicker.OpenedChangeEvent<R>> listener)
Adds a listener for
opened-changed events fired by the
webcomponent. |
| Modifier and Type | Method and Description |
|---|---|
Registration |
Dialog.addAttachListener(ComponentEventListener<AttachEvent> listener)
Adds a attach listener to this component.
|
Registration |
Dialog.addDetachListener(ComponentEventListener<DetachEvent> listener)
Adds a detach listener to this component.
|
Registration |
Dialog.addDialogCloseActionListener(ComponentEventListener<Dialog.DialogCloseActionEvent> listener)
Add a listener that controls whether the dialog should be closed or not.
|
Registration |
Dialog.addOpenedChangeListener(ComponentEventListener<GeneratedVaadinDialog.OpenedChangeEvent<Dialog>> listener)
Add a lister for event fired by the
opened-changed events. |
protected Registration |
GeneratedVaadinDialog.addOpenedChangeListener(ComponentEventListener<GeneratedVaadinDialog.OpenedChangeEvent<R>> listener)
Adds a listener for
opened-changed events fired by the
webcomponent. |
| Modifier and Type | Method and Description |
|---|---|
Registration |
Grid.addSortListener(ComponentEventListener<SortEvent<Grid<T>,GridSortOrder<T>>> listener) |
| Constructor and Description |
|---|
NativeButton(String text,
ComponentEventListener<ClickEvent<NativeButton>> clickListener)
Creates a button with the given text and click listener.
|
| Modifier and Type | Method and Description |
|---|---|
Registration |
Notification.addAttachListener(ComponentEventListener<AttachEvent> listener)
Adds a attach listener to this component.
|
Registration |
Notification.addDetachListener(ComponentEventListener<DetachEvent> listener)
Adds a detach listener to this component.
|
Registration |
Notification.addOpenedChangeListener(ComponentEventListener<GeneratedVaadinNotification.OpenedChangeEvent<Notification>> listener) |
protected Registration |
GeneratedVaadinNotification.addOpenedChangeListener(ComponentEventListener<GeneratedVaadinNotification.OpenedChangeEvent<R>> listener)
Adds a listener for
opened-changed events fired by the
webcomponent. |
| Modifier and Type | Method and Description |
|---|---|
protected Registration |
GeneratedVaadinRadioButton.addCheckedChangeListener(ComponentEventListener<GeneratedVaadinRadioButton.CheckedChangeEvent<R>> listener)
Adds a listener for
checked-changed events fired by the
webcomponent. |
| Modifier and Type | Method and Description |
|---|---|
protected Registration |
GeneratedVaadinSplitLayout.addIronResizeListener(ComponentEventListener<GeneratedVaadinSplitLayout.IronResizeEvent<R>> listener)
Adds a listener for
iron-resize events fired by the webcomponent. |
protected Registration |
GeneratedVaadinSplitLayout.addSplitterDragendListener(ComponentEventListener<GeneratedVaadinSplitLayout.SplitterDragendEvent<R>> listener)
Adds a listener for
splitter-dragend events fired by the
webcomponent. |
Registration |
SplitLayout.addSplitterDragendListener(ComponentEventListener<GeneratedVaadinSplitLayout.SplitterDragendEvent<SplitLayout>> listener)
Adds a listener for the
splitter-dragend event, which is fired when the user has stopped resizing the
splitter with drag and drop. |
| Modifier and Type | Method and Description |
|---|---|
Registration |
Tabs.addSelectedChangeListener(ComponentEventListener<Tabs.SelectedChangeEvent> listener)
Adds a listener for
Tabs.SelectedChangeEvent. |
| Modifier and Type | Method and Description |
|---|---|
protected Registration |
GeneratedVaadinTextArea.addChangeListener(ComponentEventListener<GeneratedVaadinTextArea.ChangeEvent<R>> listener)
Adds a listener for
change events fired by the webcomponent. |
protected Registration |
GeneratedVaadinTextField.addChangeListener(ComponentEventListener<GeneratedVaadinTextField.ChangeEvent<R>> listener)
Adds a listener for
change events fired by the webcomponent. |
protected Registration |
GeneratedVaadinTextArea.addInvalidChangeListener(ComponentEventListener<GeneratedVaadinTextArea.InvalidChangeEvent<R>> listener)
Adds a listener for
invalid-changed events fired by the
webcomponent. |
protected Registration |
GeneratedVaadinTextField.addInvalidChangeListener(ComponentEventListener<GeneratedVaadinTextField.InvalidChangeEvent<R>> listener)
Adds a listener for
invalid-changed events fired by the
webcomponent. |
| Modifier and Type | Method and Description |
|---|---|
Registration |
Upload.addFailedListener(ComponentEventListener<FailedEvent> listener)
Add a succeeded listener that is informed on upload failure.
|
protected Registration |
GeneratedVaadinUploadFile.addFileAbortListener(ComponentEventListener<GeneratedVaadinUploadFile.FileAbortEvent<R>> listener)
Adds a listener for
file-abort events fired by the webcomponent. |
protected Registration |
GeneratedVaadinUpload.addFileRejectListener(ComponentEventListener<GeneratedVaadinUpload.FileRejectEvent<R>> listener)
Adds a listener for
file-reject events fired by the webcomponent. |
protected Registration |
GeneratedVaadinUploadFile.addFileRemoveListener(ComponentEventListener<GeneratedVaadinUploadFile.FileRemoveEvent<R>> listener)
Adds a listener for
file-remove events fired by the webcomponent. |
protected Registration |
GeneratedVaadinUploadFile.addFileRetryListener(ComponentEventListener<GeneratedVaadinUploadFile.FileRetryEvent<R>> listener)
Adds a listener for
file-retry events fired by the webcomponent. |
protected Registration |
GeneratedVaadinUpload.addFilesChangeListener(ComponentEventListener<GeneratedVaadinUpload.FilesChangeEvent<R>> listener)
Adds a listener for
files-changed events fired by the
webcomponent. |
protected Registration |
GeneratedVaadinUploadFile.addFileStartListener(ComponentEventListener<GeneratedVaadinUploadFile.FileStartEvent<R>> listener)
Adds a listener for
file-start events fired by the webcomponent. |
Registration |
Upload.addFinishedListener(ComponentEventListener<FinishedEvent> listener)
Add a succeeded listener that is informed on upload finished.
|
protected Registration |
GeneratedVaadinUpload.addMaxFilesReachedChangeListener(ComponentEventListener<GeneratedVaadinUpload.MaxFilesReachedChangeEvent<R>> listener)
Adds a listener for
max-files-reached-changed events fired by the
webcomponent. |
Registration |
Upload.addProgressListener(ComponentEventListener<ProgressUpdateEvent> listener)
Add a progress listener that is informed on upload progress.
|
Registration |
Upload.addStartedListener(ComponentEventListener<StartedEvent> listener)
Add a succeeded listener that is informed on upload start.
|
Registration |
Upload.addSucceededListener(ComponentEventListener<SucceededEvent> listener)
Add a succeeded listener that is informed on upload succeeded.
|
protected Registration |
GeneratedVaadinUpload.addUploadAbortListener(ComponentEventListener<GeneratedVaadinUpload.UploadAbortEvent<R>> listener)
Adds a listener for
upload-abort events fired by the
webcomponent. |
protected Registration |
GeneratedVaadinUpload.addUploadBeforeListener(ComponentEventListener<GeneratedVaadinUpload.UploadBeforeEvent<R>> listener)
Adds a listener for
upload-before events fired by the
webcomponent. |
protected Registration |
GeneratedVaadinUpload.addUploadErrorListener(ComponentEventListener<GeneratedVaadinUpload.UploadErrorEvent<R>> listener)
Adds a listener for
upload-error events fired by the
webcomponent. |
protected Registration |
GeneratedVaadinUpload.addUploadProgressListener(ComponentEventListener<GeneratedVaadinUpload.UploadProgressEvent<R>> listener)
Adds a listener for
upload-progress events fired by the
webcomponent. |
protected Registration |
GeneratedVaadinUpload.addUploadRequestListener(ComponentEventListener<GeneratedVaadinUpload.UploadRequestEvent<R>> listener)
Adds a listener for
upload-request events fired by the
webcomponent. |
protected Registration |
GeneratedVaadinUpload.addUploadResponseListener(ComponentEventListener<GeneratedVaadinUpload.UploadResponseEvent<R>> listener)
Adds a listener for
upload-response events fired by the
webcomponent. |
protected Registration |
GeneratedVaadinUpload.addUploadRetryListener(ComponentEventListener<GeneratedVaadinUpload.UploadRetryEvent<R>> listener)
Adds a listener for
upload-retry events fired by the
webcomponent. |
protected Registration |
GeneratedVaadinUpload.addUploadStartListener(ComponentEventListener<GeneratedVaadinUpload.UploadStartEvent<R>> listener)
Adds a listener for
upload-start events fired by the
webcomponent. |
protected Registration |
GeneratedVaadinUpload.addUploadSuccessListener(ComponentEventListener<GeneratedVaadinUpload.UploadSuccessEvent<R>> listener)
Adds a listener for
upload-success events fired by the
webcomponent. |
| Modifier and Type | Method and Description |
|---|---|
Registration |
SortEvent.SortNotifier.addSortListener(ComponentEventListener<SortEvent<T,S>> listener)
Adds a sort order change listener that gets notified when the sort
order changes.
|
Copyright © 2019. All rights reserved.