Modifier and Type | Method and Description |
---|---|
Registration |
UI.addAfterNavigationListener(AfterNavigationListener listener)
Add a listener that will be informed when new components have been
attached and all navigation tasks have resolved.
|
default Registration |
AttachNotifier.addAttachListener(ComponentEventListener<AttachEvent> listener)
Adds a attach listener to this component.
|
Registration |
UI.addBeforeEnterListener(BeforeEnterListener listener)
Add a listener that will be informed when a new set of components are
going to be attached.
|
Registration |
UI.addBeforeLeaveListener(BeforeLeaveListener listener)
Add a listener that will be informed when old components are detached.
|
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.
|
Registration |
AbstractField.addValueChangeListener(HasValue.ValueChangeListener<? super AbstractField.ComponentValueChangeEvent<C,T>> listener) |
Registration |
AbstractCompositeField.addValueChangeListener(HasValue.ValueChangeListener<? super AbstractField.ComponentValueChangeEvent<S,T>> listener) |
Registration |
HasValue.addValueChangeListener(HasValue.ValueChangeListener<? super E> listener)
Adds a value change listener.
|
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 |
GridMultiSelectionModel.addMultiSelectionListener(MultiSelectionListener<Grid<T>,T> listener)
Adds a selection listener that will be called when the selection is
changed either by the user or programmatically.
|
Registration |
AbstractGridMultiSelectionModel.addMultiSelectionListener(MultiSelectionListener<Grid<T>,T> listener) |
Registration |
GridNoneSelectionModel.addSelectionListener(SelectionListener<Grid<T>,T> listener) |
Registration |
Grid.addSelectionListener(SelectionListener<Grid<T>,T> listener)
Adds a selection listener to the current selection model.
|
Registration |
AbstractGridSingleSelectionModel.addSelectionListener(SelectionListener<Grid<T>,T> listener) |
Registration |
AbstractGridMultiSelectionModel.addSelectionListener(SelectionListener<Grid<T>,T> listener) |
Registration |
GridSingleSelectionModel.addSingleSelectionListener(SingleSelectionListener<Grid<T>,T> listener)
Adds a selection listener that will be called when the selection is
changed either by the user or programmatically.
|
Registration |
AbstractGridSingleSelectionModel.addSingleSelectionListener(SingleSelectionListener<Grid<T>,T> listener) |
Registration |
Grid.addSortListener(ComponentEventListener<SortEvent<Grid<T>,GridSortOrder<T>>> listener) |
Modifier and Type | Method and Description |
---|---|
Registration |
UIInternals.addAfterNavigationListener(AfterNavigationListener listener)
Add a listener that will be informed when new components have been
attached and all navigation tasks have resolved.
|
Registration |
UIInternals.addBeforeEnterListener(BeforeEnterListener listener)
Add a listener that will be informed when a new set of components are
going to be attached.
|
Registration |
UIInternals.addBeforeLeaveListener(BeforeLeaveListener listener)
Add a listener that will be informed when old components are detached.
|
Registration |
AbstractFieldSupport.addValueChangeListener(HasValue.ValueChangeListener<? super AbstractField.ComponentValueChangeEvent<C,T>> 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 |
---|---|
protected <T> Registration |
Binder.addListener(Class<T> eventType,
SerializableConsumer<T> method)
Adds a listener to the binder.
|
Registration |
Binder.addStatusChangeListener(StatusChangeListener listener)
Adds status change listener to the binder.
|
Registration |
Binder.addValueChangeListener(HasValue.ValueChangeListener<? super HasValue.ValueChangeEvent<?>> listener)
Adds field value change listener to all the fields in the binder.
|
Registration |
ReadOnlyHasValue.addValueChangeListener(HasValue.ValueChangeListener<? super HasValue.ValueChangeEvent<V>> listener) |
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.
|
Modifier and Type | Method and Description |
---|---|
Registration |
HasDataGenerators.addDataGenerator(DataGenerator<T> generator)
Adds the given data generator.
|
Registration |
CompositeDataGenerator.addDataGenerator(DataGenerator<T> generator) |
Registration |
DataProviderWrapper.addDataProviderListener(DataProviderListener<T> listener) |
Registration |
DataProvider.addDataProviderListener(DataProviderListener<T> listener)
Adds a data provider listener.
|
Registration |
AbstractDataProvider.addDataProviderListener(DataProviderListener<T> listener) |
protected <E> Registration |
AbstractDataProvider.addListener(Class<E> eventType,
SerializableConsumer<E> method)
Registers a new listener with the specified activation method to listen
events generated by this component.
|
Modifier and Type | Method and Description |
---|---|
Registration |
NativeButtonRenderer.addItemClickListener(ClickableRenderer.ItemClickListener<SOURCE> listener) |
Registration |
ClickableRenderer.addItemClickListener(ClickableRenderer.ItemClickListener<SOURCE> listener)
Adds a click listener to the renderer.
|
Modifier and Type | Method and Description |
---|---|
Registration |
MultiSelect.addSelectionListener(MultiSelectionListener<C,T> listener)
Adds a selection listener that will be called when the selection is
changed either by the user or programmatically.
|
Registration |
SelectionModel.addSelectionListener(SelectionListener<C,T> listener)
Adds a generic listener to this selection model, accepting both single
and multiselection events.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DomListenerRegistration
A registration for configuring or removing a DOM event listener added to an
element.
|
Modifier and Type | Method and Description |
---|---|
Registration |
Element.addAttachListener(ElementAttachListener attachListener)
Adds an attach listener for this element.
|
Registration |
Element.addDetachListener(ElementDetachListener detachListener)
Adds a detach listener for this element.
|
Registration |
ElementStateProvider.addPropertyChangeListener(StateNode node,
String name,
PropertyChangeListener listener)
Adds a property change listener.
|
Registration |
Element.addPropertyChangeListener(String name,
PropertyChangeListener listener)
Adds a property change listener.
|
Modifier and Type | Method and Description |
---|---|
Registration |
ShadowRootStateProvider.addPropertyChangeListener(StateNode node,
String name,
PropertyChangeListener listener) |
Registration |
BasicElementStateProvider.addPropertyChangeListener(StateNode node,
String name,
PropertyChangeListener listener) |
Registration |
AbstractTextElementStateProvider.addPropertyChangeListener(StateNode node,
String name,
PropertyChangeListener listener) |
Modifier and Type | Interface and Description |
---|---|
static interface |
StateTree.ExecutionRegistration
A registration object for removing a task registered for execution before
the client response.
|
Modifier and Type | Method and Description |
---|---|
Registration |
StateNode.addAttachListener(Command attachListener)
Adds a command as an attach listener.
|
Registration |
StateNode.addDetachListener(Command detachListener)
Adds a command as a detach listener.
|
Modifier and Type | Method and Description |
---|---|
Registration |
PolymerEventListenerMap.add(String methodName,
String[] eventDataExpressions)
Adds a listener for a event created from a template method.
|
Registration |
ElementPropertyMap.addPropertyChangeListener(String name,
PropertyChangeListener listener)
Adds a property change listener.
|
Modifier and Type | Method and Description |
---|---|
Registration |
VaadinService.addServiceDestroyListener(ServiceDestroyListener listener)
Adds a service destroy listener that gets notified when this service is
destroyed.
|
Registration |
VaadinService.addSessionDestroyListener(SessionDestroyListener listener)
Adds a listener that gets notified when a Vaadin service session that has
been initialized for this service is destroyed.
|
Registration |
VaadinService.addSessionInitListener(SessionInitListener listener)
Adds a listener that gets notified when a new Vaadin service session is
initialized for this service.
|
Registration |
VaadinService.addUIInitListener(UIInitListener listener)
Adds a listener that gets notified when a new UI has been initialized.
|
Copyright © 2018. All rights reserved.