]> source.dussan.org Git - vaadin-framework.git/commit
Use lambda with Listeners (#10222)
authorAhmed Ashour <asashour@yahoo.com>
Thu, 26 Oct 2017 19:19:41 +0000 (21:19 +0200)
committerPekka Maanpää <pekkamaa@vaadin.com>
Thu, 26 Oct 2017 19:19:41 +0000 (22:19 +0300)
commit01c93a6aef27ef562267d7966c6386ecaa6c1f6b
tree438810691e69e7751710917c251c2ba677c969d4
parent10bd7544fd22dccd7e8e32cb236eb50f102892d3
 Use lambda with Listeners (#10222)

Also use "event" as the name for events
213 files changed:
client/src/main/java/com/vaadin/client/DependencyLoader.java
client/src/main/java/com/vaadin/client/JavaScriptConnectorHelper.java
client/src/main/java/com/vaadin/client/SuperDevMode.java
client/src/main/java/com/vaadin/client/connectors/grid/DetailsManagerConnector.java
client/src/main/java/com/vaadin/client/debug/internal/HierarchySection.java
client/src/main/java/com/vaadin/client/ui/VAbstractDateFieldCalendar.java
client/src/main/java/com/vaadin/client/ui/VAbstractPopupCalendar.java
client/src/main/java/com/vaadin/client/ui/VDateField.java
client/src/main/java/com/vaadin/client/ui/VNotification.java
client/src/main/java/com/vaadin/client/ui/datefield/AbstractInlineDateFieldConnector.java
client/src/main/java/com/vaadin/client/ui/datefield/DateTimeFieldConnector.java
client/src/main/java/com/vaadin/client/ui/datefield/InlineDateTimeFieldConnector.java
client/src/main/java/com/vaadin/client/ui/datefield/TextualDateConnector.java
client/src/main/java/com/vaadin/client/ui/dd/DragHandle.java
client/src/main/java/com/vaadin/client/ui/flash/FlashConnector.java
client/src/main/java/com/vaadin/client/ui/formlayout/FormLayoutConnector.java
client/src/main/java/com/vaadin/client/ui/nativeselect/NativeSelectConnector.java
client/src/main/java/com/vaadin/client/ui/optiongroup/RadioButtonGroupConnector.java
client/src/main/java/com/vaadin/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java
client/src/main/java/com/vaadin/client/ui/slider/SliderConnector.java
client/src/main/java/com/vaadin/client/widget/escalator/ScrollbarBundle.java
liferay-integration/src/main/java/com/vaadin/osgi/liferay/OsgiUIProvider.java
server/src/main/java/com/vaadin/navigator/Navigator.java
server/src/main/java/com/vaadin/server/communication/PushRequestHandler.java
server/src/main/java/com/vaadin/ui/Tree.java
server/src/main/java/com/vaadin/ui/components/colorpicker/ColorPickerPopup.java
server/src/main/java/com/vaadin/ui/components/grid/EditorImpl.java
server/src/main/java/com/vaadin/ui/components/grid/MultiSelectionModel.java
server/src/main/java/com/vaadin/ui/components/grid/SingleSelectionModel.java
server/src/main/java/com/vaadin/ui/dnd/DropTargetExtension.java
server/src/test/java/com/vaadin/data/BinderTestBase.java
server/src/test/java/com/vaadin/tests/components/grid/GridMultiSelectionModelTest.java
server/src/test/java/com/vaadin/tests/components/grid/GridSingleSelectionModelTest.java
server/src/test/java/com/vaadin/tests/components/treegrid/TreeGridTest.java
server/src/test/java/com/vaadin/tests/design/designroot/ExtendedDesignWithEmptyAnnotation.java
server/src/test/java/com/vaadin/tests/server/component/button/ButtonClickTest.java
server/src/test/java/com/vaadin/tests/server/component/tabsheet/TabSheetTest.java
server/src/test/java/com/vaadin/tests/server/component/window/AttachDetachWindowTest.java
server/src/test/java/com/vaadin/tests/server/navigator/NavigatorTest.java
server/src/test/java/com/vaadin/ui/AbstractSingleSelectTest.java
server/src/test/java/com/vaadin/ui/CheckBoxTest.java
server/src/test/java/com/vaadin/ui/ComboBoxTest.java
test/cdi/src/main/java/com/vaadin/test/cdi/MyVaadinUI.java
test/servlet-containers/generic-tests/src/main/java/com/vaadin/tests/integration/push/LongPollingProxyServerIT.java
test/servlet-containers/generic-ui/src/main/java/com/vaadin/tests/integration/push/BasicPush.java
test/servlet-containers/karaf/vaadin-karaf-bundle1/src/main/java/com/vaadin/test/osgi/myapplication1/MyUI.java
test/servlet-containers/karaf/vaadin-karaf-bundle2/src/main/java/com/vaadin/test/osgi/myapplication/MyUI.java
test/spring-boot-subcontext/src/main/java/com/example/view/DefaultView.java
test/spring-boot/src/main/java/com/example/view/DefaultView.java
test/widget-set-testutil/src/main/java/com/vaadin/test/widgetset/AbstractTestWidgetSetUI.java
testbench-api/src/main/java/com/vaadin/testbench/elements/GridElement.java
uitest/src/main/java/com/vaadin/launcher/ApplicationRunnerServlet.java
uitest/src/main/java/com/vaadin/launcher/DevelopmentServerLauncher.java
uitest/src/main/java/com/vaadin/screenshotbrowser/ScreenshotBrowser.java
uitest/src/main/java/com/vaadin/tests/accessibility/WindowWaiAriaRoles.java
uitest/src/main/java/com/vaadin/tests/actions/ActionsOnInvisibleComponents.java
uitest/src/main/java/com/vaadin/tests/application/ApplicationCloseTest.java
uitest/src/main/java/com/vaadin/tests/application/CommErrorEmulatorUI.java
uitest/src/main/java/com/vaadin/tests/application/ConfirmBrowserTabClose.java
uitest/src/main/java/com/vaadin/tests/application/ConnectorBundleStatus.java
uitest/src/main/java/com/vaadin/tests/application/CriticalNotifications.java
uitest/src/main/java/com/vaadin/tests/application/DetachOldUIOnReload.java
uitest/src/main/java/com/vaadin/tests/application/ErrorInUnloadEvent.java
uitest/src/main/java/com/vaadin/tests/application/MissingHierarchyDetection.java
uitest/src/main/java/com/vaadin/tests/application/ReconnectDialogUI.java
uitest/src/main/java/com/vaadin/tests/application/RefreshStatePreserve.java
uitest/src/main/java/com/vaadin/tests/application/ResynchronizeUI.java
uitest/src/main/java/com/vaadin/tests/application/TerminalErrorNotification.java
uitest/src/main/java/com/vaadin/tests/application/ThreadLocalInstances.java
uitest/src/main/java/com/vaadin/tests/application/TimingInfoReported.java
uitest/src/main/java/com/vaadin/tests/application/VaadinSessionAttribute.java
uitest/src/main/java/com/vaadin/tests/application/WebBrowserSize.java
uitest/src/main/java/com/vaadin/tests/application/WebBrowserTimeZone.java
uitest/src/main/java/com/vaadin/tests/application/calculator/Calc.java
uitest/src/main/java/com/vaadin/tests/applicationcontext/ChangeSessionId.java
uitest/src/main/java/com/vaadin/tests/applicationcontext/CleanupBrokenUI.java
uitest/src/main/java/com/vaadin/tests/applicationcontext/CloseSession.java
uitest/src/main/java/com/vaadin/tests/applicationcontext/CloseUI.java
uitest/src/main/java/com/vaadin/tests/applicationservlet/SessionExpiration.java
uitest/src/main/java/com/vaadin/tests/applicationservlet/SystemMessages.java
uitest/src/main/java/com/vaadin/tests/browserfeatures/WebkitScrollbarTest.java
uitest/src/main/java/com/vaadin/tests/components/absolutelayout/AbsoluteLayoutCorrectPositioningOfHiddenField.java
uitest/src/main/java/com/vaadin/tests/components/absolutelayout/AbsoluteLayoutHideComponent.java
uitest/src/main/java/com/vaadin/tests/components/absolutelayout/AbsoluteLayoutPrimaryStylename.java
uitest/src/main/java/com/vaadin/tests/components/absolutelayout/MoveComponentsFromAbsoluteLayoutToInnerLayout.java
uitest/src/main/java/com/vaadin/tests/components/abstractcomponent/ChangeHierarchyBeforeResponse.java
uitest/src/main/java/com/vaadin/tests/components/abstractcomponent/ContextClickUI.java
uitest/src/main/java/com/vaadin/tests/components/abstractcomponent/PrimaryStyle.java
uitest/src/main/java/com/vaadin/tests/components/abstractcomponent/ResponseWritingErrorHandling.java
uitest/src/main/java/com/vaadin/tests/components/abstractcomponent/UseStateFromHierachy.java
uitest/src/main/java/com/vaadin/tests/components/abstractfield/AbstractComponentDataBindingTest.java
uitest/src/main/java/com/vaadin/tests/components/abstractfield/AbstractFieldCommitWithInvalidValues.java
uitest/src/main/java/com/vaadin/tests/components/abstractfield/AbstractFieldDataSourceReadOnly.java
uitest/src/main/java/com/vaadin/tests/components/abstractfield/DateFieldBasedOnLong.java
uitest/src/main/java/com/vaadin/tests/components/abstractfield/IntegerDoubleFieldsWithDataSource.java
uitest/src/main/java/com/vaadin/tests/components/abstractfield/IntegerFieldWithoutDataSource.java
uitest/src/main/java/com/vaadin/tests/components/abstractfield/ShortcutAddAndRemove.java
uitest/src/main/java/com/vaadin/tests/components/abstractfield/ShortcutWhenBodyFocused.java
uitest/src/main/java/com/vaadin/tests/components/abstractfield/TextFieldConversions.java
uitest/src/main/java/com/vaadin/tests/components/abstractlisting/AbstractMultiSelectTestUI.java
uitest/src/main/java/com/vaadin/tests/components/abstractlisting/AbstractSingleSelectTestUI.java
uitest/src/main/java/com/vaadin/tests/components/abstractsingleselect/AbstractSingleSelection.java
uitest/src/main/java/com/vaadin/tests/components/accordion/AccordionAddTab.java
uitest/src/main/java/com/vaadin/tests/components/accordion/AccordionPrimaryStylenames.java
uitest/src/main/java/com/vaadin/tests/components/accordion/AccordionRemoveComponent.java
uitest/src/main/java/com/vaadin/tests/components/accordion/AccordionRemoveTab.java
uitest/src/main/java/com/vaadin/tests/components/accordion/AccordionTabIds.java
uitest/src/main/java/com/vaadin/tests/components/accordion/RemoveTabs.java
uitest/src/main/java/com/vaadin/tests/components/beanitemcontainer/BeanItemContainerNullValues.java
uitest/src/main/java/com/vaadin/tests/components/browserframe/BrowserFrameIsVisible.java
uitest/src/main/java/com/vaadin/tests/components/button/ButtonClick.java
uitest/src/main/java/com/vaadin/tests/components/button/ButtonEnterWithWindowShortcut.java
uitest/src/main/java/com/vaadin/tests/components/button/ButtonErrorMessage.java
uitest/src/main/java/com/vaadin/tests/components/button/ButtonHtml.java
uitest/src/main/java/com/vaadin/tests/components/button/ButtonIOSDragTest.java
uitest/src/main/java/com/vaadin/tests/components/button/ButtonKeyboardClick.java
uitest/src/main/java/com/vaadin/tests/components/button/ButtonMouseDetails.java
uitest/src/main/java/com/vaadin/tests/components/button/ButtonToggleIcons.java
uitest/src/main/java/com/vaadin/tests/components/button/TooltipForDisabledButton.java
uitest/src/main/java/com/vaadin/tests/components/checkbox/CheckboxContextClick.java
uitest/src/main/java/com/vaadin/tests/components/colorpicker/DefaultCaptionWidth.java
uitest/src/main/java/com/vaadin/tests/components/combobox/ComboBoxAutoresetValue.java
uitest/src/main/java/com/vaadin/tests/components/combobox/ComboBoxCombinedWithEnterShortcut.java
uitest/src/main/java/com/vaadin/tests/components/combobox/ComboBoxDataSourceChange.java
uitest/src/main/java/com/vaadin/tests/components/combobox/ComboBoxInPopup.java
uitest/src/main/java/com/vaadin/tests/components/combobox/ComboBoxInPopupView.java
uitest/src/main/java/com/vaadin/tests/components/combobox/ComboBoxPageLength.java
uitest/src/main/java/com/vaadin/tests/components/combobox/ComboBoxResetValue.java
uitest/src/main/java/com/vaadin/tests/components/combobox/ComboBoxSetNullWhenNewItemsAllowed.java
uitest/src/main/java/com/vaadin/tests/components/combobox/ComboBoxSlow.java
uitest/src/main/java/com/vaadin/tests/components/combobox/ComboBoxSlowInFF.java
uitest/src/main/java/com/vaadin/tests/components/combobox/ComboBoxSuggestionOnDetach.java
uitest/src/main/java/com/vaadin/tests/components/combobox/ComboBoxTextFieldEventOrder.java
uitest/src/main/java/com/vaadin/tests/components/combobox/ComboPushTiming.java
uitest/src/main/java/com/vaadin/tests/components/combobox/RemovalOfSelectedIcon.java
uitest/src/main/java/com/vaadin/tests/components/composite/CompositeChainUI.java
uitest/src/main/java/com/vaadin/tests/components/customcomponent/ClipContent.java
uitest/src/main/java/com/vaadin/tests/components/customcomponent/CustomComponentChildVisibility.java
uitest/src/main/java/com/vaadin/tests/components/customcomponent/CustomComponentGrowingContent.java
uitest/src/main/java/com/vaadin/tests/components/customcomponent/CustomComponentHideContent.java
uitest/src/main/java/com/vaadin/tests/components/customcomponent/CustomComponentSizeUpdate.java
uitest/src/main/java/com/vaadin/tests/components/customlayout/CustomLayoutPrimaryStyleName.java
uitest/src/main/java/com/vaadin/tests/components/customlayout/CustomLayoutUpdateCaption.java
uitest/src/main/java/com/vaadin/tests/components/customlayout/CustomLayoutUsingTheme.java
uitest/src/main/java/com/vaadin/tests/components/customlayout/CustomLayoutWithMissingSlot.java
uitest/src/main/java/com/vaadin/tests/components/datefield/DateFieldFaultyInputNotValid.java
uitest/src/main/java/com/vaadin/tests/components/datefield/DateFieldSetAfterInvalid.java
uitest/src/main/java/com/vaadin/tests/components/datefield/DateFieldValidationError.java
uitest/src/main/java/com/vaadin/tests/components/datefield/DateTextHandling.java
uitest/src/main/java/com/vaadin/tests/components/datefield/DateTimeFieldWeekDays.java
uitest/src/main/java/com/vaadin/tests/components/draganddropwrapper/DragAndDropFocusObtain.java
uitest/src/main/java/com/vaadin/tests/components/draganddropwrapper/DragAndDropWrapperInPanel.java
uitest/src/main/java/com/vaadin/tests/components/draganddropwrapper/Html5DropDenied.java
uitest/src/main/java/com/vaadin/tests/components/embedded/EmbeddedAltText.java
uitest/src/main/java/com/vaadin/tests/components/embedded/EmbeddedApplet.java
uitest/src/main/java/com/vaadin/tests/components/embedded/EmbeddedClickListenerRelativeCoordinates.java
uitest/src/main/java/com/vaadin/tests/components/embedded/EmbeddedImageRefresh.java
uitest/src/main/java/com/vaadin/tests/components/embedded/EmbeddedPdf.java
uitest/src/main/java/com/vaadin/tests/components/embedded/EmbeddedThemeResource.java
uitest/src/main/java/com/vaadin/tests/components/flash/FlashExpansion.java
uitest/src/main/java/com/vaadin/tests/components/formlayout/FormLayoutCaptionStyles.java
uitest/src/main/java/com/vaadin/tests/components/formlayout/FormLayoutClickListener.java
uitest/src/main/java/com/vaadin/tests/components/formlayout/FormLayoutResizing.java
uitest/src/main/java/com/vaadin/tests/components/formlayout/HtmlCaptionInFormLayout.java
uitest/src/main/java/com/vaadin/tests/components/grid/GridAddColumn.java
uitest/src/main/java/com/vaadin/tests/components/grid/GridClientMemoryLeak.java
uitest/src/main/java/com/vaadin/tests/components/grid/GridComponents.java
uitest/src/main/java/com/vaadin/tests/components/grid/GridDefaultSelectionMode.java
uitest/src/main/java/com/vaadin/tests/components/grid/GridDetailsReattach.java
uitest/src/main/java/com/vaadin/tests/components/grid/GridDisabledMultiselect.java
uitest/src/main/java/com/vaadin/tests/components/grid/GridLayoutDetailsRowResize.java
uitest/src/main/java/com/vaadin/tests/components/grid/GridRefreshRow.java
uitest/src/main/java/com/vaadin/tests/components/grid/GridRemoveColumnAndDetach.java
uitest/src/main/java/com/vaadin/tests/components/grid/GridRendererSwitch.java
uitest/src/main/java/com/vaadin/tests/components/grid/GridSortIndicator.java
uitest/src/main/java/com/vaadin/tests/components/grid/GridUndefinedHeight.java
uitest/src/main/java/com/vaadin/tests/components/grid/JavaScriptRenderers.java
uitest/src/main/java/com/vaadin/tests/components/grid/basics/GridBasics.java
uitest/src/main/java/com/vaadin/tests/components/gridlayout/GridLayoutAlignments.java
uitest/src/main/java/com/vaadin/tests/components/gridlayout/GridLayoutExpandRatio.java
uitest/src/main/java/com/vaadin/tests/components/gridlayout/GridLayoutFocusOrderAfterShowChild.java
uitest/src/main/java/com/vaadin/tests/components/gridlayout/GridLayoutHideMiddleCells.java
uitest/src/main/java/com/vaadin/tests/components/gridlayout/InsertRowInMiddle.java
uitest/src/main/java/com/vaadin/tests/components/gridlayout/LayoutAfterHidingError.java
uitest/src/main/java/com/vaadin/tests/components/gridlayout/MoveComponentsFromGridLayoutToInnerLayout.java
uitest/src/main/java/com/vaadin/tests/components/image/ImageAltText.java
uitest/src/main/java/com/vaadin/tests/components/image/ImageClicks.java
uitest/src/main/java/com/vaadin/tests/components/javascriptcomponent/DuplicateJavascriptDependencies.java
uitest/src/main/java/com/vaadin/tests/components/javascriptcomponent/JavaScriptStateTracking.java
uitest/src/main/java/com/vaadin/tests/components/listselect/ListSelectStyleNames.java
uitest/src/main/java/com/vaadin/tests/components/nativeselect/NativeSelectCaptionGeneration.java
uitest/src/main/java/com/vaadin/tests/components/radiobutton/RadioButtonGroupTestUI.java
uitest/src/main/java/com/vaadin/tests/components/slider/SliderUpdateFromValueChange.java
uitest/src/main/java/com/vaadin/tests/components/table/HugeRowCount.java
uitest/src/main/java/com/vaadin/tests/components/table/KeyControl.java
uitest/src/main/java/com/vaadin/tests/components/table/KeyboardNavigationWithChangingContent.java
uitest/src/main/java/com/vaadin/tests/components/table/LargeSelectionCausesNPE.java
uitest/src/main/java/com/vaadin/tests/components/tree/TreeBasicFeatures.java
uitest/src/main/java/com/vaadin/tests/components/tree/TreeWideContent.java
uitest/src/main/java/com/vaadin/tests/components/ui/ConnectorTrackerMemoryLeakUI.java
uitest/src/main/java/com/vaadin/tests/components/window/WindowMaximizeRestoreTest.java
uitest/src/main/java/com/vaadin/tests/data/DataProviderRefresh.java
uitest/src/main/java/com/vaadin/tests/data/DummyData.java
uitest/src/main/java/com/vaadin/tests/dnd/DragAndDropCardShuffle.java
uitest/src/main/java/com/vaadin/tests/elements/ElementComponentGetCaptionBase.java
uitest/src/main/java/com/vaadin/tests/elements/combobox/ComboBoxInputNotAllowed.java
uitest/src/main/java/com/vaadin/tests/elements/combobox/SelectByText.java
uitest/src/main/java/com/vaadin/tests/extensions/NotificationCloseListener.java
uitest/src/main/java/com/vaadin/tests/navigator/DelayedViewLeaveConfirmation.java
uitest/src/main/java/com/vaadin/tests/resources/FrontendLaterLoadedResourceUI.java
uitest/src/test/java/com/vaadin/tests/components/checkboxgroup/CheckBoxGroupTest.java
uitest/src/test/java/com/vaadin/tests/components/listselect/ListSelectTest.java
uitest/src/test/java/com/vaadin/tests/components/tree/TreeBasicFeaturesTest.java