From eeffa805a212ebb25c4af18db1e927b23a3ad66a Mon Sep 17 00:00:00 2001
From: Artur Signell
Date: Thu, 18 Aug 2016 09:31:40 +0300
Subject: Remove trailing whitespace from code and javadoc
Change-Id: I4c852b7f9928e190572876690d5bef1234494a5d
---
.../main/java/com/vaadin/client/AnimationUtil.java | 40 +-
.../vaadin/client/ApplicationConfiguration.java | 72 +--
.../com/vaadin/client/ApplicationConnection.java | 142 ++---
.../main/java/com/vaadin/client/BrowserInfo.java | 48 +-
.../src/main/java/com/vaadin/client/CSSRule.java | 22 +-
.../java/com/vaadin/client/ComponentConnector.java | 30 +-
.../java/com/vaadin/client/ComponentDetail.java | 8 +-
.../java/com/vaadin/client/ComponentDetailMap.java | 6 +-
.../main/java/com/vaadin/client/ComputedStyle.java | 76 +--
.../client/ConnectorHierarchyChangeEvent.java | 18 +-
.../main/java/com/vaadin/client/ConnectorMap.java | 30 +-
.../vaadin/client/ContainerResizedListener.java | 12 +-
.../java/com/vaadin/client/DateTimeService.java | 24 +-
.../java/com/vaadin/client/DeferredWorker.java | 4 +-
.../vaadin/client/DirectionalManagedLayout.java | 6 +-
.../main/java/com/vaadin/client/EventHelper.java | 24 +-
.../main/java/com/vaadin/client/FastStringMap.java | 6 +-
.../main/java/com/vaadin/client/FastStringSet.java | 6 +-
.../src/main/java/com/vaadin/client/Focusable.java | 8 +-
.../client/HasChildMeasurementHintConnector.java | 12 +-
.../com/vaadin/client/HasComponentsConnector.java | 16 +-
.../vaadin/client/JavaScriptConnectorHelper.java | 10 +-
.../com/vaadin/client/JavaScriptExtension.java | 6 +-
.../main/java/com/vaadin/client/JsArrayObject.java | 6 +-
.../main/java/com/vaadin/client/LayoutManager.java | 148 ++---
.../java/com/vaadin/client/LayoutManagerIE8.java | 10 +-
.../vaadin/client/LocaleNotLoadedException.java | 6 +-
.../main/java/com/vaadin/client/LocaleService.java | 10 +-
.../main/java/com/vaadin/client/MeasuredSize.java | 6 +-
.../vaadin/client/MouseEventDetailsBuilder.java | 14 +-
.../src/main/java/com/vaadin/client/Paintable.java | 8 +-
.../src/main/java/com/vaadin/client/Profiler.java | 22 +-
.../java/com/vaadin/client/RenderInformation.java | 20 +-
.../main/java/com/vaadin/client/RenderSpace.java | 6 +-
.../java/com/vaadin/client/ResourceLoader.java | 52 +-
.../java/com/vaadin/client/ServerConnector.java | 42 +-
.../main/java/com/vaadin/client/SimpleTree.java | 12 +-
.../java/com/vaadin/client/StyleConstants.java | 6 +-
.../main/java/com/vaadin/client/SuperDevMode.java | 22 +-
.../main/java/com/vaadin/client/TooltipInfo.java | 8 +-
client/src/main/java/com/vaadin/client/UIDL.java | 70 +--
client/src/main/java/com/vaadin/client/Util.java | 172 +++---
.../src/main/java/com/vaadin/client/VCaption.java | 32 +-
.../java/com/vaadin/client/VCaptionWrapper.java | 8 +-
.../src/main/java/com/vaadin/client/VConsole.java | 10 +-
.../main/java/com/vaadin/client/VErrorMessage.java | 14 +-
.../java/com/vaadin/client/VLoadingIndicator.java | 30 +-
.../java/com/vaadin/client/VSchedulerImpl.java | 6 +-
.../src/main/java/com/vaadin/client/VTooltip.java | 58 +-
.../main/java/com/vaadin/client/VUIDLBrowser.java | 10 +-
.../src/main/java/com/vaadin/client/ValueMap.java | 8 +-
.../java/com/vaadin/client/WidgetInstantiator.java | 6 +-
.../main/java/com/vaadin/client/WidgetLoader.java | 6 +-
.../src/main/java/com/vaadin/client/WidgetMap.java | 16 +-
.../src/main/java/com/vaadin/client/WidgetSet.java | 12 +-
.../main/java/com/vaadin/client/WidgetUtil.java | 164 +++---
.../vaadin/client/annotations/OnStateChange.java | 10 +-
.../AbstractServerConnectorEvent.java | 8 +-
.../communication/AtmospherePushConnection.java | 16 +-
.../communication/ConnectionStateHandler.java | 40 +-
.../client/communication/Date_Serializer.java | 8 +-
.../DefaultConnectionStateHandler.java | 30 +-
.../communication/DefaultReconnectDialog.java | 8 +-
.../client/communication/DiffJSONSerializer.java | 8 +-
.../HasJavaScriptConnectorHelper.java | 6 +-
.../com/vaadin/client/communication/Heartbeat.java | 12 +-
.../client/communication/JSONSerializer.java | 14 +-
.../communication/JavaScriptMethodInvocation.java | 8 +-
.../vaadin/client/communication/JsonDecoder.java | 6 +-
.../vaadin/client/communication/JsonEncoder.java | 16 +-
.../client/communication/MessageHandler.java | 44 +-
.../vaadin/client/communication/MessageSender.java | 26 +-
.../client/communication/PushConnection.java | 24 +-
.../client/communication/ReconnectDialog.java | 20 +-
.../vaadin/client/communication/RpcManager.java | 16 +-
.../com/vaadin/client/communication/RpcProxy.java | 8 +-
.../client/communication/ServerRpcQueue.java | 32 +-
.../client/communication/StateChangeEvent.java | 34 +-
.../vaadin/client/communication/XhrConnection.java | 16 +-
.../client/communication/XhrConnectionError.java | 20 +-
.../client/componentlocator/ComponentLocator.java | 32 +-
.../componentlocator/LegacyLocatorStrategy.java | 20 +-
.../client/componentlocator/LocatorStrategy.java | 28 +-
.../client/componentlocator/LocatorUtil.java | 16 +-
.../client/componentlocator/SelectorPredicate.java | 16 +-
.../VaadinFinderLocatorStrategy.java | 42 +-
.../connectors/AbstractRendererConnector.java | 22 +-
.../AbstractSelectionModelConnector.java | 8 +-
.../client/connectors/ButtonRendererConnector.java | 8 +-
.../connectors/ClickableRendererConnector.java | 10 +-
.../client/connectors/DateRendererConnector.java | 8 +-
.../DetailComponentManagerConnector.java | 8 +-
.../vaadin/client/connectors/GridConnector.java | 32 +-
.../client/connectors/ImageRendererConnector.java | 8 +-
.../connectors/JavaScriptRendererConnector.java | 20 +-
.../connectors/MultiSelectionModelConnector.java | 22 +-
.../connectors/NoSelectionModelConnector.java | 8 +-
.../client/connectors/NumberRendererConnector.java | 8 +-
.../connectors/ProgressBarRendererConnector.java | 8 +-
.../client/connectors/RpcDataSourceConnector.java | 20 +-
.../connectors/SingleSelectionModelConnector.java | 8 +-
.../client/connectors/TextRendererConnector.java | 8 +-
.../connectors/UnsafeHtmlRendererConnector.java | 8 +-
.../client/data/AbstractRemoteDataSource.java | 52 +-
.../java/com/vaadin/client/data/CacheStrategy.java | 24 +-
.../com/vaadin/client/data/DataChangeHandler.java | 18 +-
.../java/com/vaadin/client/data/DataSource.java | 32 +-
.../client/debug/internal/AnalyzeLayoutsPanel.java | 8 +-
.../client/debug/internal/ConnectorInfoPanel.java | 10 +-
.../vaadin/client/debug/internal/DebugButton.java | 22 +-
.../debug/internal/ErrorNotificationHandler.java | 8 +-
.../client/debug/internal/HierarchyPanel.java | 12 +-
.../client/debug/internal/HierarchySection.java | 12 +-
.../vaadin/client/debug/internal/Highlight.java | 26 +-
.../com/vaadin/client/debug/internal/Icon.java | 6 +-
.../vaadin/client/debug/internal/InfoSection.java | 36 +-
.../vaadin/client/debug/internal/LogSection.java | 16 +-
.../client/debug/internal/NetworkSection.java | 10 +-
.../debug/internal/OptimizedWidgetsetPanel.java | 8 +-
.../client/debug/internal/ProfilerSection.java | 10 +-
.../com/vaadin/client/debug/internal/Section.java | 14 +-
.../debug/internal/SelectConnectorListener.java | 10 +-
.../vaadin/client/debug/internal/SelectorPath.java | 24 +-
.../client/debug/internal/TestBenchSection.java | 8 +-
.../vaadin/client/debug/internal/VDebugWindow.java | 56 +-
.../debug/internal/theme/DebugWindowStyles.java | 6 +-
.../java/com/vaadin/client/event/InputEvent.java | 2 +-
.../java/com/vaadin/client/event/InputHandler.java | 4 +-
.../vaadin/client/event/PointerCancelEvent.java | 10 +-
.../vaadin/client/event/PointerCancelHandler.java | 10 +-
.../com/vaadin/client/event/PointerDownEvent.java | 10 +-
.../vaadin/client/event/PointerDownHandler.java | 10 +-
.../java/com/vaadin/client/event/PointerEvent.java | 28 +-
.../vaadin/client/event/PointerEventSupport.java | 8 +-
.../client/event/PointerEventSupportImpl.java | 8 +-
.../client/event/PointerEventSupportImplIE10.java | 8 +-
.../event/PointerEventSupportImplModernIE.java | 8 +-
.../com/vaadin/client/event/PointerMoveEvent.java | 10 +-
.../vaadin/client/event/PointerMoveHandler.java | 10 +-
.../com/vaadin/client/event/PointerUpEvent.java | 10 +-
.../com/vaadin/client/event/PointerUpHandler.java | 10 +-
.../extensions/AbstractExtensionConnector.java | 8 +-
.../extensions/BrowserWindowOpenerConnector.java | 8 +-
.../client/extensions/FileDownloaderConnector.java | 6 +-
.../client/extensions/ResponsiveConnector.java | 92 ++--
.../JavaScriptManagerConnector.java | 14 +-
.../vaadin/client/legacy/ui/VLegacyTextField.java | 16 +-
.../vaadin/client/metadata/AsyncBundleLoader.java | 6 +-
.../vaadin/client/metadata/BundleLoadCallback.java | 6 +-
.../vaadin/client/metadata/InvokationHandler.java | 6 +-
.../java/com/vaadin/client/metadata/Invoker.java | 6 +-
.../com/vaadin/client/metadata/JsniInvoker.java | 10 +-
.../java/com/vaadin/client/metadata/Method.java | 16 +-
.../vaadin/client/metadata/NoDataException.java | 6 +-
.../client/metadata/OnStateChangeMethod.java | 16 +-
.../java/com/vaadin/client/metadata/Property.java | 18 +-
.../com/vaadin/client/metadata/ProxyHandler.java | 6 +-
.../java/com/vaadin/client/metadata/TypeData.java | 6 +-
.../com/vaadin/client/metadata/TypeDataStore.java | 26 +-
.../vaadin/client/renderers/ButtonRenderer.java | 8 +-
.../vaadin/client/renderers/ClickableRenderer.java | 28 +-
.../vaadin/client/renderers/ComplexRenderer.java | 28 +-
.../com/vaadin/client/renderers/DateRenderer.java | 16 +-
.../com/vaadin/client/renderers/HtmlRenderer.java | 8 +-
.../com/vaadin/client/renderers/ImageRenderer.java | 8 +-
.../vaadin/client/renderers/NumberRenderer.java | 12 +-
.../client/renderers/ProgressBarRenderer.java | 8 +-
.../java/com/vaadin/client/renderers/Renderer.java | 14 +-
.../com/vaadin/client/renderers/TextRenderer.java | 8 +-
.../vaadin/client/renderers/WidgetRenderer.java | 16 +-
.../client/ui/AbstractClickEventHandler.java | 16 +-
.../client/ui/AbstractComponentConnector.java | 44 +-
.../ui/AbstractComponentContainerConnector.java | 8 +-
.../com/vaadin/client/ui/AbstractConnector.java | 36 +-
.../vaadin/client/ui/AbstractFieldConnector.java | 10 +-
.../client/ui/AbstractHasComponentsConnector.java | 10 +-
.../vaadin/client/ui/AbstractLayoutConnector.java | 6 +-
.../AbstractSingleComponentContainerConnector.java | 12 +-
.../src/main/java/com/vaadin/client/ui/Action.java | 10 +-
.../java/com/vaadin/client/ui/ActionOwner.java | 6 +-
.../java/com/vaadin/client/ui/CalendarEntry.java | 6 +-
.../com/vaadin/client/ui/ClickEventHandler.java | 12 +-
.../client/ui/ConnectorFocusAndBlurHandler.java | 8 +-
.../src/main/java/com/vaadin/client/ui/Field.java | 10 +-
.../com/vaadin/client/ui/FocusElementPanel.java | 6 +-
.../main/java/com/vaadin/client/ui/FocusUtil.java | 20 +-
.../com/vaadin/client/ui/FocusableFlexTable.java | 18 +-
.../com/vaadin/client/ui/FocusableFlowPanel.java | 16 +-
.../com/vaadin/client/ui/FocusableScrollPanel.java | 16 +-
.../main/java/com/vaadin/client/ui/FontIcon.java | 22 +-
.../src/main/java/com/vaadin/client/ui/Icon.java | 14 +-
.../main/java/com/vaadin/client/ui/ImageIcon.java | 8 +-
.../client/ui/JavaScriptComponentConnector.java | 6 +-
.../com/vaadin/client/ui/JavaScriptWidget.java | 6 +-
.../vaadin/client/ui/JsniMousewheelHandler.java | 14 +-
.../vaadin/client/ui/LayoutClickEventHandler.java | 6 +-
.../java/com/vaadin/client/ui/LegacyConnector.java | 6 +-
.../java/com/vaadin/client/ui/ManagedLayout.java | 6 +-
.../com/vaadin/client/ui/MediaBaseConnector.java | 6 +-
.../com/vaadin/client/ui/PostLayoutListener.java | 8 +-
.../com/vaadin/client/ui/SimpleFocusablePanel.java | 6 +-
.../com/vaadin/client/ui/SimpleManagedLayout.java | 6 +-
.../java/com/vaadin/client/ui/SubPartAware.java | 12 +-
.../com/vaadin/client/ui/TouchScrollDelegate.java | 42 +-
.../main/java/com/vaadin/client/ui/TreeAction.java | 10 +-
.../client/ui/UnknownComponentConnector.java | 6 +-
.../java/com/vaadin/client/ui/VAbsoluteLayout.java | 46 +-
.../com/vaadin/client/ui/VAbstractSplitPanel.java | 26 +-
.../main/java/com/vaadin/client/ui/VAccordion.java | 14 +-
.../src/main/java/com/vaadin/client/ui/VAudio.java | 6 +-
.../java/com/vaadin/client/ui/VBrowserFrame.java | 10 +-
.../main/java/com/vaadin/client/ui/VButton.java | 32 +-
.../main/java/com/vaadin/client/ui/VCalendar.java | 152 +++---
.../java/com/vaadin/client/ui/VCalendarPanel.java | 100 ++--
.../main/java/com/vaadin/client/ui/VCheckBox.java | 8 +-
.../java/com/vaadin/client/ui/VColorPicker.java | 14 +-
.../com/vaadin/client/ui/VColorPickerArea.java | 26 +-
.../java/com/vaadin/client/ui/VContextMenu.java | 16 +-
.../main/java/com/vaadin/client/ui/VCssLayout.java | 6 +-
.../com/vaadin/client/ui/VCustomComponent.java | 6 +-
.../java/com/vaadin/client/ui/VCustomLayout.java | 22 +-
.../main/java/com/vaadin/client/ui/VDateField.java | 12 +-
.../com/vaadin/client/ui/VDateFieldCalendar.java | 6 +-
.../com/vaadin/client/ui/VDragAndDropWrapper.java | 36 +-
.../vaadin/client/ui/VDragAndDropWrapperIE.java | 16 +-
.../main/java/com/vaadin/client/ui/VEmbedded.java | 12 +-
.../java/com/vaadin/client/ui/VFilterSelect.java | 126 ++---
.../src/main/java/com/vaadin/client/ui/VFlash.java | 6 +-
.../java/com/vaadin/client/ui/VFormLayout.java | 14 +-
.../java/com/vaadin/client/ui/VGridLayout.java | 20 +-
.../com/vaadin/client/ui/VHorizontalLayout.java | 6 +-
.../src/main/java/com/vaadin/client/ui/VImage.java | 6 +-
.../src/main/java/com/vaadin/client/ui/VLabel.java | 6 +-
.../java/com/vaadin/client/ui/VLazyExecutor.java | 8 +-
.../src/main/java/com/vaadin/client/ui/VLink.java | 6 +-
.../java/com/vaadin/client/ui/VListSelect.java | 6 +-
.../main/java/com/vaadin/client/ui/VMediaBase.java | 8 +-
.../main/java/com/vaadin/client/ui/VMenuBar.java | 74 +--
.../java/com/vaadin/client/ui/VNativeButton.java | 8 +-
.../java/com/vaadin/client/ui/VNativeSelect.java | 10 +-
.../java/com/vaadin/client/ui/VNotification.java | 20 +-
.../java/com/vaadin/client/ui/VOptionGroup.java | 6 +-
.../com/vaadin/client/ui/VOptionGroupBase.java | 8 +-
.../main/java/com/vaadin/client/ui/VOverlay.java | 12 +-
.../src/main/java/com/vaadin/client/ui/VPanel.java | 10 +-
.../java/com/vaadin/client/ui/VPasswordField.java | 10 +-
.../java/com/vaadin/client/ui/VPopupCalendar.java | 42 +-
.../java/com/vaadin/client/ui/VProgressBar.java | 10 +-
.../com/vaadin/client/ui/VProgressIndicator.java | 10 +-
.../java/com/vaadin/client/ui/VRichTextArea.java | 20 +-
.../java/com/vaadin/client/ui/VScrollTable.java | 278 +++++-----
.../main/java/com/vaadin/client/ui/VSlider.java | 18 +-
.../vaadin/client/ui/VSplitPanelHorizontal.java | 6 +-
.../com/vaadin/client/ui/VSplitPanelVertical.java | 6 +-
.../main/java/com/vaadin/client/ui/VTabsheet.java | 14 +-
.../java/com/vaadin/client/ui/VTabsheetBase.java | 20 +-
.../java/com/vaadin/client/ui/VTabsheetPanel.java | 16 +-
.../main/java/com/vaadin/client/ui/VTextArea.java | 12 +-
.../main/java/com/vaadin/client/ui/VTextField.java | 4 +-
.../java/com/vaadin/client/ui/VTextualDate.java | 6 +-
.../src/main/java/com/vaadin/client/ui/VTree.java | 110 ++--
.../main/java/com/vaadin/client/ui/VTreeTable.java | 28 +-
.../java/com/vaadin/client/ui/VTwinColSelect.java | 16 +-
.../com/vaadin/client/ui/VUnknownComponent.java | 6 +-
.../main/java/com/vaadin/client/ui/VUpload.java | 12 +-
.../java/com/vaadin/client/ui/VVerticalLayout.java | 6 +-
.../src/main/java/com/vaadin/client/ui/VVideo.java | 12 +-
.../main/java/com/vaadin/client/ui/VWindow.java | 52 +-
.../ui/absolutelayout/AbsoluteLayoutConnector.java | 28 +-
.../client/ui/accordion/AccordionConnector.java | 8 +-
.../java/com/vaadin/client/ui/aria/AriaHelper.java | 24 +-
.../vaadin/client/ui/aria/HandlesAriaCaption.java | 10 +-
.../vaadin/client/ui/aria/HandlesAriaInvalid.java | 8 +-
.../vaadin/client/ui/aria/HandlesAriaRequired.java | 8 +-
.../com/vaadin/client/ui/audio/AudioConnector.java | 6 +-
.../ui/browserframe/BrowserFrameConnector.java | 6 +-
.../vaadin/client/ui/button/ButtonConnector.java | 6 +-
.../client/ui/calendar/CalendarConnector.java | 24 +-
.../vaadin/client/ui/calendar/VCalendarAction.java | 22 +-
.../client/ui/calendar/schedule/CalendarDay.java | 8 +-
.../client/ui/calendar/schedule/CalendarEvent.java | 48 +-
.../client/ui/calendar/schedule/DateCell.java | 12 +-
.../ui/calendar/schedule/DateCellContainer.java | 8 +-
.../ui/calendar/schedule/DateCellDayEvent.java | 12 +-
.../client/ui/calendar/schedule/DateCellGroup.java | 8 +-
.../client/ui/calendar/schedule/DateUtil.java | 12 +-
.../client/ui/calendar/schedule/DayToolbar.java | 10 +-
.../calendar/schedule/FocusableComplexPanel.java | 20 +-
.../client/ui/calendar/schedule/FocusableGrid.java | 20 +-
.../client/ui/calendar/schedule/FocusableHTML.java | 20 +-
.../client/ui/calendar/schedule/HasTooltipKey.java | 12 +-
.../ui/calendar/schedule/MonthEventLabel.java | 22 +-
.../client/ui/calendar/schedule/MonthGrid.java | 10 +-
.../client/ui/calendar/schedule/SimpleDayCell.java | 8 +-
.../ui/calendar/schedule/SimpleDayToolbar.java | 10 +-
.../ui/calendar/schedule/SimpleWeekToolbar.java | 10 +-
.../client/ui/calendar/schedule/WeekGrid.java | 12 +-
.../calendar/schedule/WeekGridMinuteTimeRange.java | 10 +-
.../client/ui/calendar/schedule/WeekLabel.java | 8 +-
.../ui/calendar/schedule/WeeklyLongEvents.java | 10 +-
.../schedule/WeeklyLongEventsDateCell.java | 8 +-
.../calendar/schedule/dd/CalendarDropHandler.java | 16 +-
.../schedule/dd/CalendarMonthDropHandler.java | 22 +-
.../schedule/dd/CalendarWeekDropHandler.java | 22 +-
.../client/ui/checkbox/CheckBoxConnector.java | 6 +-
.../colorpicker/AbstractColorPickerConnector.java | 12 +-
.../ui/colorpicker/ColorPickerAreaConnector.java | 8 +-
.../ui/colorpicker/ColorPickerConnector.java | 8 +-
.../colorpicker/ColorPickerGradientConnector.java | 8 +-
.../ui/colorpicker/ColorPickerGridConnector.java | 8 +-
.../ui/colorpicker/VColorPickerGradient.java | 14 +-
.../client/ui/colorpicker/VColorPickerGrid.java | 16 +-
.../client/ui/combobox/ComboBoxConnector.java | 30 +-
.../client/ui/csslayout/CssLayoutConnector.java | 18 +-
.../customcomponent/CustomComponentConnector.java | 6 +-
.../ui/customfield/CustomFieldConnector.java | 14 +-
.../ui/customlayout/CustomLayoutConnector.java | 6 +-
.../ui/datefield/AbstractDateFieldConnector.java | 6 +-
.../client/ui/datefield/DateFieldConnector.java | 12 +-
.../ui/datefield/InlineDateFieldConnector.java | 6 +-
.../client/ui/datefield/TextualDateConnector.java | 6 +-
.../vaadin/client/ui/dd/DDEventHandleStrategy.java | 46 +-
.../main/java/com/vaadin/client/ui/dd/DDUtil.java | 6 +-
.../vaadin/client/ui/dd/DragAndDropHandler.java | 16 +-
.../java/com/vaadin/client/ui/dd/DragHandle.java | 16 +-
.../com/vaadin/client/ui/dd/DragImageModifier.java | 10 +-
.../vaadin/client/ui/dd/VAbstractDropHandler.java | 12 +-
.../java/com/vaadin/client/ui/dd/VAcceptAll.java | 8 +-
.../com/vaadin/client/ui/dd/VAcceptCallback.java | 6 +-
.../com/vaadin/client/ui/dd/VAcceptCriteria.java | 6 +-
.../com/vaadin/client/ui/dd/VAcceptCriterion.java | 8 +-
.../client/ui/dd/VAcceptCriterionFactory.java | 6 +-
.../main/java/com/vaadin/client/ui/dd/VAnd.java | 8 +-
.../vaadin/client/ui/dd/VContainsDataFlavor.java | 8 +-
.../vaadin/client/ui/dd/VDragAndDropManager.java | 32 +-
.../java/com/vaadin/client/ui/dd/VDragEvent.java | 44 +-
.../client/ui/dd/VDragEventServerCallback.java | 6 +-
.../com/vaadin/client/ui/dd/VDragSourceIs.java | 8 +-
.../java/com/vaadin/client/ui/dd/VDropHandler.java | 20 +-
.../com/vaadin/client/ui/dd/VHasDropHandler.java | 10 +-
.../com/vaadin/client/ui/dd/VHtml5DragEvent.java | 16 +-
.../java/com/vaadin/client/ui/dd/VHtml5File.java | 6 +-
.../java/com/vaadin/client/ui/dd/VIsOverId.java | 8 +-
.../java/com/vaadin/client/ui/dd/VItemIdIs.java | 8 +-
.../main/java/com/vaadin/client/ui/dd/VNot.java | 10 +-
.../src/main/java/com/vaadin/client/ui/dd/VOr.java | 10 +-
.../com/vaadin/client/ui/dd/VOverTreeNode.java | 8 +-
.../com/vaadin/client/ui/dd/VServerAccept.java | 8 +-
.../com/vaadin/client/ui/dd/VSourceIsTarget.java | 8 +-
.../com/vaadin/client/ui/dd/VTargetDetailIs.java | 8 +-
.../com/vaadin/client/ui/dd/VTransferable.java | 14 +-
.../DragAndDropWrapperConnector.java | 6 +-
.../client/ui/embedded/EmbeddedConnector.java | 6 +-
.../com/vaadin/client/ui/flash/FlashConnector.java | 6 +-
.../client/ui/formlayout/FormLayoutConnector.java | 6 +-
.../com/vaadin/client/ui/image/ImageConnector.java | 6 +-
.../com/vaadin/client/ui/label/LabelConnector.java | 6 +-
.../ui/layout/ComponentConnectorLayoutSlot.java | 6 +-
.../client/ui/layout/ElementResizeEvent.java | 6 +-
.../client/ui/layout/ElementResizeListener.java | 6 +-
.../client/ui/layout/LayoutDependencyTree.java | 16 +-
.../java/com/vaadin/client/ui/layout/Margins.java | 6 +-
.../vaadin/client/ui/layout/MayScrollChildren.java | 6 +-
.../com/vaadin/client/ui/layout/VLayoutSlot.java | 6 +-
.../com/vaadin/client/ui/link/LinkConnector.java | 6 +-
.../client/ui/listselect/ListSelectConnector.java | 6 +-
.../client/ui/loginform/LoginFormConnector.java | 6 +-
.../com/vaadin/client/ui/loginform/VLoginForm.java | 6 +-
.../java/com/vaadin/client/ui/menubar/MenuBar.java | 58 +-
.../vaadin/client/ui/menubar/MenuBarConnector.java | 8 +-
.../com/vaadin/client/ui/menubar/MenuItem.java | 32 +-
.../ui/nativebutton/NativeButtonConnector.java | 6 +-
.../ui/nativeselect/NativeSelectConnector.java | 6 +-
.../ui/optiongroup/OptionGroupBaseConnector.java | 6 +-
.../ui/optiongroup/OptionGroupConnector.java | 6 +-
.../AbstractOrderedLayoutConnector.java | 26 +-
.../client/ui/orderedlayout/CaptionPosition.java | 6 +-
.../orderedlayout/HorizontalLayoutConnector.java | 8 +-
.../com/vaadin/client/ui/orderedlayout/Slot.java | 64 +--
.../ui/orderedlayout/VAbstractOrderedLayout.java | 70 +--
.../ui/orderedlayout/VerticalLayoutConnector.java | 8 +-
.../com/vaadin/client/ui/panel/PanelConnector.java | 6 +-
.../ui/passwordfield/PasswordFieldConnector.java | 6 +-
.../client/ui/popupview/PopupViewConnector.java | 6 +-
.../client/ui/popupview/VisibilityChangeEvent.java | 6 +-
.../ui/popupview/VisibilityChangeHandler.java | 6 +-
.../ui/progressindicator/ProgressBarConnector.java | 8 +-
.../ProgressIndicatorConnector.java | 8 +-
.../client/ui/richtextarea/VRichTextToolbar.java | 8 +-
.../vaadin/client/ui/slider/SliderConnector.java | 6 +-
.../ui/splitpanel/AbstractSplitPanelConnector.java | 6 +-
.../splitpanel/HorizontalSplitPanelConnector.java | 6 +-
.../ui/splitpanel/VerticalSplitPanelConnector.java | 6 +-
.../com/vaadin/client/ui/table/TableConnector.java | 6 +-
.../client/ui/tabsheet/TabsheetBaseConnector.java | 10 +-
.../client/ui/tabsheet/TabsheetConnector.java | 8 +-
.../client/ui/textfield/TextFieldConnector.java | 6 +-
.../com/vaadin/client/ui/tree/TreeConnector.java | 8 +-
.../vaadin/client/ui/tree/VTargetInSubtree.java | 8 +-
.../client/ui/treetable/TreeTableConnector.java | 6 +-
.../ui/twincolselect/TwinColSelectConnector.java | 6 +-
.../java/com/vaadin/client/ui/ui/UIConnector.java | 38 +-
.../vaadin/client/ui/upload/UploadConnector.java | 6 +-
.../ui/upload/UploadIFrameOnloadStrategy.java | 6 +-
.../ui/upload/UploadIFrameOnloadStrategyIE.java | 8 +-
.../com/vaadin/client/ui/video/VideoConnector.java | 6 +-
.../vaadin/client/ui/window/WindowMoveEvent.java | 16 +-
.../vaadin/client/ui/window/WindowMoveHandler.java | 10 +-
.../com/vaadin/client/widget/escalator/Cell.java | 18 +-
.../widget/escalator/ColumnConfiguration.java | 32 +-
.../client/widget/escalator/EscalatorUpdater.java | 26 +-
.../client/widget/escalator/FlyweightCell.java | 14 +-
.../client/widget/escalator/FlyweightRow.java | 26 +-
.../client/widget/escalator/PositionFunction.java | 12 +-
.../com/vaadin/client/widget/escalator/Row.java | 12 +-
.../client/widget/escalator/RowContainer.java | 40 +-
.../widget/escalator/RowVisibilityChangeEvent.java | 20 +-
.../escalator/RowVisibilityChangeHandler.java | 10 +-
.../client/widget/escalator/ScrollbarBundle.java | 76 +--
.../com/vaadin/client/widget/escalator/Spacer.java | 12 +-
.../client/widget/escalator/SpacerUpdater.java | 12 +-
.../vaadin/client/widget/grid/AutoScroller.java | 20 +-
.../vaadin/client/widget/grid/CellReference.java | 28 +-
.../client/widget/grid/CellStyleGenerator.java | 10 +-
.../client/widget/grid/DataAvailableEvent.java | 10 +-
.../client/widget/grid/DataAvailableHandler.java | 10 +-
.../widget/grid/DefaultEditorEventHandler.java | 24 +-
.../client/widget/grid/DetailsGenerator.java | 10 +-
.../vaadin/client/widget/grid/EditorHandler.java | 40 +-
.../client/widget/grid/EventCellReference.java | 18 +-
.../widget/grid/HeightAwareDetailsGenerator.java | 10 +-
.../client/widget/grid/RendererCellReference.java | 18 +-
.../vaadin/client/widget/grid/RowReference.java | 20 +-
.../client/widget/grid/RowStyleGenerator.java | 10 +-
.../widget/grid/datasources/ListDataSource.java | 26 +-
.../client/widget/grid/datasources/ListSorter.java | 8 +-
.../grid/events/AbstractGridKeyEventHandler.java | 8 +-
.../grid/events/AbstractGridMouseEventHandler.java | 8 +-
.../widget/grid/events/BodyClickHandler.java | 8 +-
.../widget/grid/events/BodyDoubleClickHandler.java | 8 +-
.../widget/grid/events/BodyKeyDownHandler.java | 8 +-
.../widget/grid/events/BodyKeyPressHandler.java | 8 +-
.../widget/grid/events/BodyKeyUpHandler.java | 8 +-
.../widget/grid/events/ColumnReorderEvent.java | 8 +-
.../widget/grid/events/ColumnReorderHandler.java | 10 +-
.../widget/grid/events/ColumnResizeEvent.java | 8 +-
.../widget/grid/events/ColumnResizeHandler.java | 10 +-
.../grid/events/ColumnVisibilityChangeEvent.java | 14 +-
.../grid/events/ColumnVisibilityChangeHandler.java | 12 +-
.../widget/grid/events/FooterClickHandler.java | 8 +-
.../grid/events/FooterDoubleClickHandler.java | 8 +-
.../widget/grid/events/FooterKeyDownHandler.java | 8 +-
.../widget/grid/events/FooterKeyPressHandler.java | 8 +-
.../widget/grid/events/FooterKeyUpHandler.java | 8 +-
.../client/widget/grid/events/GridClickEvent.java | 8 +-
.../widget/grid/events/GridDoubleClickEvent.java | 8 +-
.../widget/grid/events/GridKeyDownEvent.java | 20 +-
.../widget/grid/events/GridKeyPressEvent.java | 12 +-
.../client/widget/grid/events/GridKeyUpEvent.java | 20 +-
.../widget/grid/events/HeaderClickHandler.java | 8 +-
.../grid/events/HeaderDoubleClickHandler.java | 8 +-
.../widget/grid/events/HeaderKeyDownHandler.java | 8 +-
.../widget/grid/events/HeaderKeyPressHandler.java | 8 +-
.../widget/grid/events/HeaderKeyUpHandler.java | 8 +-
.../client/widget/grid/events/ScrollEvent.java | 8 +-
.../client/widget/grid/events/ScrollHandler.java | 10 +-
.../client/widget/grid/events/SelectAllEvent.java | 8 +-
.../widget/grid/events/SelectAllHandler.java | 10 +-
.../selection/AbstractRowHandleSelectionModel.java | 12 +-
.../widget/grid/selection/ClickSelectHandler.java | 12 +-
.../grid/selection/HasSelectionHandlers.java | 4 +-
.../grid/selection/MultiSelectionRenderer.java | 12 +-
.../widget/grid/selection/SelectionEvent.java | 18 +-
.../widget/grid/selection/SelectionHandler.java | 4 +-
.../widget/grid/selection/SelectionModel.java | 44 +-
.../widget/grid/selection/SelectionModelMulti.java | 2 +-
.../widget/grid/selection/SelectionModelNone.java | 2 +-
.../grid/selection/SelectionModelSingle.java | 2 +-
.../widget/grid/selection/SpaceSelectHandler.java | 12 +-
.../com/vaadin/client/widget/grid/sort/Sort.java | 16 +-
.../vaadin/client/widget/grid/sort/SortEvent.java | 14 +-
.../client/widget/grid/sort/SortHandler.java | 4 +-
.../vaadin/client/widget/grid/sort/SortOrder.java | 12 +-
.../java/com/vaadin/client/widgets/Escalator.java | 290 +++++-----
.../main/java/com/vaadin/client/widgets/Grid.java | 604 ++++++++++-----------
.../java/com/vaadin/client/widgets/Overlay.java | 76 +--
.../com/vaadin/client/DateTimeServiceTest.java | 4 +-
.../java/com/vaadin/client/LocatorUtilTest.java | 6 +-
.../communication/ServerMessageHandlerTest.java | 8 +-
.../vaadin/client/ui/grid/PartitioningTest.java | 6 +-
490 files changed, 4645 insertions(+), 4645 deletions(-)
(limited to 'client/src')
diff --git a/client/src/main/java/com/vaadin/client/AnimationUtil.java b/client/src/main/java/com/vaadin/client/AnimationUtil.java
index 816a5f9e28..4f4bc71f86 100644
--- a/client/src/main/java/com/vaadin/client/AnimationUtil.java
+++ b/client/src/main/java/com/vaadin/client/AnimationUtil.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -22,7 +22,7 @@ import com.google.gwt.dom.client.Style;
/**
* Utility methods for working with CSS transitions and animations.
- *
+ *
* @author Vaadin Ltd
* @since 7.3
*/
@@ -30,9 +30,9 @@ public class AnimationUtil {
/**
* For internal use only. May be removed or replaced in the future.
- *
+ *
* Set the animation-duration CSS property.
- *
+ *
* @param elem
* the element whose animation-duration to set
* @param duration
@@ -45,9 +45,9 @@ public class AnimationUtil {
/**
* For internal use only. May be removed or replaced in the future.
- *
+ *
* Set the animation-delay CSS property.
- *
+ *
* @param elem
* the element whose animation-delay to set
* @param delay
@@ -65,15 +65,15 @@ public class AnimationUtil {
var callbackFunc = $entry(function(e) {
listener.@com.vaadin.client.AnimationUtil.AnimationEndListener::onAnimationEnd(Lcom/google/gwt/dom/client/NativeEvent;)(e);
});
-
+
elem.addEventListener(@com.vaadin.client.AnimationUtil::ANIMATION_END_EVENT_NAME, callbackFunc, false);
-
+
// Store function reference for later removal
if(!elem._vaadin_animationend_callbacks) {
elem._vaadin_animationend_callbacks = [];
}
elem._vaadin_animationend_callbacks.push(callbackFunc);
-
+
return callbackFunc;
}-*/;
@@ -111,7 +111,7 @@ public class AnimationUtil {
return event.mozAnimationName;
else if(event.oAnimationName)
return event.oAnimationName;
-
+
return "";
}-*/;
@@ -119,22 +119,22 @@ public class AnimationUtil {
public static native String getAnimationName(ComputedStyle cstyle)
/*-{
var cs = cstyle.@com.vaadin.client.ComputedStyle::computedStyle;
-
+
if(!cs.getPropertyValue)
return "";
-
+
if(cs.getPropertyValue("-webkit-animation-name"))
return cs.getPropertyValue("-webkit-animation-name");
-
+
else if(cs.getPropertyValue("animation-name"))
return cs.getPropertyValue("animation-name");
-
+
else if(cs.getPropertyValue("-moz-animation-name"))
return cs.getPropertyValue("-moz-animation-name");
-
+
else if(cs.getPropertyValue("-o-animation-name"))
return cs.getPropertyValue("-o-animation-name");
-
+
return "";
}-*/;
@@ -149,7 +149,7 @@ public class AnimationUtil {
'MozAnimation': 'animationend',
'WebkitAnimation': 'webkitAnimationEnd'
}
-
+
for(var a in anims){
if( el.style[a] !== undefined ){
return anims[a];
@@ -168,7 +168,7 @@ public class AnimationUtil {
'mozAnimation',
'webkitAnimation'
]
-
+
for(var i=0; i < anims.length; i++) {
if( el.style[anims[i]] !== undefined ){
return anims[i];
diff --git a/client/src/main/java/com/vaadin/client/ApplicationConfiguration.java b/client/src/main/java/com/vaadin/client/ApplicationConfiguration.java
index 81cea63313..6adb5968e7 100644
--- a/client/src/main/java/com/vaadin/client/ApplicationConfiguration.java
+++ b/client/src/main/java/com/vaadin/client/ApplicationConfiguration.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -62,7 +62,7 @@ public class ApplicationConfiguration implements EntryPoint {
/**
* Helper class for reading configuration options from the bootstap
* javascript
- *
+ *
* @since 7.0
*/
private static class JsoConfiguration extends JavaScriptObject {
@@ -74,7 +74,7 @@ public class ApplicationConfiguration implements EntryPoint {
* Reads a configuration parameter as a string. Please note that the
* javascript value of the parameter should also be a string, or else an
* undefined exception may be thrown.
- *
+ *
* @param name
* name of the configuration parameter
* @return value of the configuration parameter, or null if
@@ -94,7 +94,7 @@ public class ApplicationConfiguration implements EntryPoint {
* Reads a configuration parameter as a boolean object. Please note that
* the javascript value of the parameter should also be a boolean, or
* else an undefined exception may be thrown.
- *
+ *
* @param name
* name of the configuration parameter
* @return boolean value of the configuration paramter, or
@@ -115,7 +115,7 @@ public class ApplicationConfiguration implements EntryPoint {
* Reads a configuration parameter as an integer object. Please note
* that the javascript value of the parameter should also be an integer,
* or else an undefined exception may be thrown.
- *
+ *
* @param name
* name of the configuration parameter
* @return integer value of the configuration paramter, or
@@ -138,7 +138,7 @@ public class ApplicationConfiguration implements EntryPoint {
* an object with appropriate fields, or else an undefined exception may
* be thrown when calling this method or when calling methods on the
* returned object.
- *
+ *
* @param name
* name of the configuration parameter
* @return error message with the given name, or null if no
@@ -152,7 +152,7 @@ public class ApplicationConfiguration implements EntryPoint {
/**
* Returns a native javascript object containing version information
* from the server.
- *
+ *
* @return a javascript object with the version information
*/
private native JavaScriptObject getVersionInfoJSObject()
@@ -162,9 +162,9 @@ public class ApplicationConfiguration implements EntryPoint {
/**
* Gets the version of the Vaadin framework used on the server.
- *
+ *
* @return a string with the version
- *
+ *
* @see com.vaadin.server.VaadinServlet#VERSION
*/
private native String getVaadinVersion()
@@ -174,9 +174,9 @@ public class ApplicationConfiguration implements EntryPoint {
/**
* Gets the version of the Atmosphere framework.
- *
+ *
* @return a string with the version
- *
+ *
* @see org.atmosphere.util#getRawVersion()
*/
private native String getAtmosphereVersion()
@@ -186,7 +186,7 @@ public class ApplicationConfiguration implements EntryPoint {
/**
* Gets the JS version used in the Atmosphere framework.
- *
+ *
* @return a string with the version
*/
private native String getAtmosphereJSVersion()
@@ -206,7 +206,7 @@ public class ApplicationConfiguration implements EntryPoint {
/**
* Wraps a native javascript object containing fields for an error message
- *
+ *
* @since 7.0
*/
public static final class ErrorMessage extends JavaScriptObject {
@@ -268,9 +268,9 @@ public class ApplicationConfiguration implements EntryPoint {
* Checks whether path info in requests to the server-side service should be
* in a request parameter (named v-resourcePath) or appended to
* the end of the service URL.
- *
+ *
* @see #getServiceUrl()
- *
+ *
* @return true if path info should be a request parameter;
* false if the path info goes after the service URL
*/
@@ -282,7 +282,7 @@ public class ApplicationConfiguration implements EntryPoint {
* Return the name of the parameter used to to send data to the service url.
* This method should only be called if {@link #useServiceUrlPathParam()} is
* true.
- *
+ *
* @since 7.1.6
* @return The parameter name, by default v-resourcePath
*/
@@ -300,9 +300,9 @@ public class ApplicationConfiguration implements EntryPoint {
* {@link #useServiceUrlPathParam()} return true, the requested
* path info should be in the v-resourcePath query parameter;
* else the path info should be appended to the end of the URL.
- *
+ *
* @see #useServiceUrlPathParam()
- *
+ *
* @return the URL to the server-side service as a string
*/
public String getServiceUrl() {
@@ -321,7 +321,7 @@ public class ApplicationConfiguration implements EntryPoint {
/**
* Gets the URL of the VAADIN directory on the server.
- *
+ *
* @return the URL of the VAADIN directory
*/
public String getVaadinDirUrl() {
@@ -335,7 +335,7 @@ public class ApplicationConfiguration implements EntryPoint {
/**
* Gets the initial UIDL from the DOM, if it was provided during the init
* process.
- *
+ *
* @return
*/
public String getUIDL() {
@@ -355,7 +355,7 @@ public class ApplicationConfiguration implements EntryPoint {
* instance. The UI id should be included in every request originating from
* this instance in order to associate the request with the right UI
* instance on the server.
- *
+ *
* @return the UI id
*/
public int getUIId() {
@@ -432,7 +432,7 @@ public class ApplicationConfiguration implements EntryPoint {
/**
* Starts the application with a given id by reading the configuration
* options stored by the bootstrap javascript.
- *
+ *
* @param applicationId
* id of the application to load, this is also the id of the html
* element into which the application should be rendered.
@@ -463,7 +463,7 @@ public class ApplicationConfiguration implements EntryPoint {
/**
* Gets the configuration object for a specific application from the
* bootstrap javascript.
- *
+ *
* @param appId
* the id of the application to get configuration data for
* @return a native javascript object containing the configuration data
@@ -486,9 +486,9 @@ public class ApplicationConfiguration implements EntryPoint {
/**
* Return Atmosphere version.
- *
+ *
* @since 7.4
- *
+ *
* @return Atmosphere version.
*/
public String getAtmosphereVersion() {
@@ -497,9 +497,9 @@ public class ApplicationConfiguration implements EntryPoint {
/**
* Return Atmosphere JS version.
- *
+ *
* @since 7.4
- *
+ *
* @return Atmosphere JS version.
*/
public String getAtmosphereJSVersion() {
@@ -565,7 +565,7 @@ public class ApplicationConfiguration implements EntryPoint {
* Returns all tags for given class. Tags are used in
* {@link ApplicationConfiguration} to keep track of different classes and
* their hierarchy
- *
+ *
* @since 7.2
* @param classname
* name of class which tags we want
@@ -796,7 +796,7 @@ public class ApplicationConfiguration implements EntryPoint {
* Registers that callback that the bootstrap javascript uses to start
* applications once the widgetset is loaded and all required information is
* available
- *
+ *
* @param widgetsetName
* the name of this widgetset
*/
@@ -811,9 +811,9 @@ public class ApplicationConfiguration implements EntryPoint {
* adding ?debug parameter to URI. Please note that debug mode is always
* disabled if production mode is enabled, but disabling production mode
* does not automatically enable debug mode.
- *
+ *
* @see #isProductionMode()
- *
+ *
* @return true if client side is currently been debugged
*/
public static boolean isDebugMode() {
@@ -825,7 +825,7 @@ public class ApplicationConfiguration implements EntryPoint {
* Checks if production mode is enabled. When production mode is enabled,
* client-side logging is disabled. There may also be other performance
* optimizations.
- *
+ *
* @since 7.1.2
* @return true if production mode is enabled; otherwise
* false.
@@ -845,7 +845,7 @@ public class ApplicationConfiguration implements EntryPoint {
/**
* Checks whether debug logging should be quiet
- *
+ *
* @return true if debug logging should be quiet
*/
public static boolean isQuietDebugMode() {
@@ -857,7 +857,7 @@ public class ApplicationConfiguration implements EntryPoint {
/**
* Checks whether the widget set version has been sent to the server. It is
* sent in the first UIDL request.
- *
+ *
* @return true if browser information has already been sent
*/
public boolean isWidgetsetVersionSent() {
diff --git a/client/src/main/java/com/vaadin/client/ApplicationConnection.java b/client/src/main/java/com/vaadin/client/ApplicationConnection.java
index f8c75948eb..bdf34d229c 100644
--- a/client/src/main/java/com/vaadin/client/ApplicationConnection.java
+++ b/client/src/main/java/com/vaadin/client/ApplicationConnection.java
@@ -69,14 +69,14 @@ import com.vaadin.shared.util.SharedUtil;
* This is the client side communication "engine", managing client-server
* communication with its server side counterpart
* com.vaadin.server.VaadinService.
- *
+ *
* Client-side connectors receive updates from the corresponding server-side
* connector (typically component) as state updates or RPC calls. The connector
* has the possibility to communicate back with its server side counter part
* through RPC calls.
- *
+ *
* TODO document better
- *
+ *
* Entry point classes (widgetsets) define onModuleLoad().
*/
public class ApplicationConnection implements HasHandlers {
@@ -100,12 +100,12 @@ public class ApplicationConnection implements HasHandlers {
* A string that, if found in a non-JSON response to a UIDL request, will
* cause the browser to refresh the page. If followed by a colon, optional
* whitespace, and a URI, causes the browser to synchronously load the URI.
- *
+ *
*
* This allows, for instance, a servlet filter to redirect the application
* to a custom login page when the session expires. For example:
*
- *
+ *
*
* if (sessionExpired) {
* response.setHeader("Content-Type", "text/html");
@@ -233,12 +233,12 @@ public class ApplicationConnection implements HasHandlers {
/**
* Event triggered when a application is stopped by calling
* {@link ApplicationConnection#setApplicationRunning(false)}.
- *
+ *
* To listen for the event add a {@link ApplicationStoppedHandler} by
* invoking
* {@link ApplicationConnection#addHandler(ApplicationConnection.ApplicationStoppedEvent.Type, ApplicationStoppedHandler)}
* to the {@link ApplicationConnection}
- *
+ *
* @since 7.1.8
* @author Vaadin Ltd
*/
@@ -265,7 +265,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Called when a communication error has occurred. Returning
* true from this method suppresses error handling.
- *
+ *
* @param details
* A string describing the error.
* @param statusCode
@@ -280,7 +280,7 @@ public class ApplicationConnection implements HasHandlers {
* A listener for listening to application stopped events. The listener can
* be added to a {@link ApplicationConnection} by invoking
* {@link ApplicationConnection#addHandler(ApplicationStoppedEvent.Type, ApplicationStoppedHandler)}
- *
+ *
* @since 7.1.8
* @author Vaadin Ltd
*/
@@ -290,7 +290,7 @@ public class ApplicationConnection implements HasHandlers {
* Triggered when the {@link ApplicationConnection} marks a previously
* running application as stopped by invoking
* {@link ApplicationConnection#setApplicationRunning(false)}
- *
+ *
* @param event
* the event triggered by the {@link ApplicationConnection}
*/
@@ -427,7 +427,7 @@ public class ApplicationConnection implements HasHandlers {
* called once this application has started (first response received) or
* failed to start. This ensures that the applications are started in order,
* to avoid session-id problems.
- *
+ *
*/
public void start() {
String jsonText = configuration.getUIDL();
@@ -459,7 +459,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Checks if there is some work to be done on the client side
- *
+ *
* @return true if the client has some work to be done, false otherwise
*/
private boolean isActive() {
@@ -482,7 +482,7 @@ public class ApplicationConnection implements HasHandlers {
return vi;
}
}
-
+
client.getProfilingData = $entry(function() {
var smh = ap.@com.vaadin.client.ApplicationConnection::getMessageHandler()();
var pd = [
@@ -497,7 +497,7 @@ public class ApplicationConnection implements HasHandlers {
pd[pd.length] = smh.@com.vaadin.client.communication.MessageHandler::bootstrapTime;
return pd;
});
-
+
client.getElementByPath = $entry(function(id) {
return componentLocator.@com.vaadin.client.componentlocator.ComponentLocator::getElementByPath(Ljava/lang/String;)(id);
});
@@ -514,7 +514,7 @@ public class ApplicationConnection implements HasHandlers {
return componentLocator.@com.vaadin.client.componentlocator.ComponentLocator::getPathForElement(Lcom/google/gwt/dom/client/Element;)(element);
});
client.initializing = false;
-
+
$wnd.vaadin.clients[TTAppId] = client;
}-*/;
@@ -534,7 +534,7 @@ public class ApplicationConnection implements HasHandlers {
*
vaadin.postRequestHooks is a map of functions which gets
* called after each XHR made by vaadin application. Note, that it is
* attaching js functions responsibility to create the variable like this:
- *
+ *
*
* if(!vaadin.postRequestHooks) {vaadin.postRequestHooks = new Object();}
* postRequestHooks.myHook = function(appId) {
@@ -545,7 +545,7 @@ public class ApplicationConnection implements HasHandlers {
*
First parameter passed to these functions is the identifier
* of Vaadin application that made the request.
*
- *
+ *
* TODO make this multi-app aware
*/
private native void initializeClientHooks()
@@ -576,7 +576,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Requests an analyze of layouts, to find inconsistencies. Exclusively used
* for debugging during development.
- *
+ *
* @deprecated as of 7.1. Replaced by {@link UIConnector#analyzeLayouts()}
*/
@Deprecated
@@ -588,7 +588,7 @@ public class ApplicationConnection implements HasHandlers {
* Sends a request to the server to print details to console that will help
* the developer to locate the corresponding server-side connector in the
* source code.
- *
+ *
* @param serverConnector
* @deprecated as of 7.1. Replaced by
* {@link UIConnector#showServerDebugInfo(ServerConnector)}
@@ -635,7 +635,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Checks whether or not the CSS is loaded. By default checks the size of
* the loading indicator element.
- *
+ *
* @return
*/
protected boolean isCSSLoaded() {
@@ -645,12 +645,12 @@ public class ApplicationConnection implements HasHandlers {
/**
* Shows the communication error notification.
- *
+ *
* @param details
* Optional details.
* @param statusCode
* The status code returned for the request
- *
+ *
*/
public void showCommunicationError(String details, int statusCode) {
getLogger().severe("Communication error: " + details);
@@ -659,7 +659,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Shows the authentication error notification.
- *
+ *
* @param details
* Optional details.
*/
@@ -670,7 +670,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Shows the session expiration notification.
- *
+ *
* @param details
* Optional details.
*/
@@ -681,7 +681,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Shows an error notification.
- *
+ *
* @param details
* Optional details.
* @param message
@@ -729,7 +729,7 @@ public class ApplicationConnection implements HasHandlers {
*
* Used by the native "client.isActive" function.
*
- *
+ *
* @return true if deferred commands are (potentially) being executed, false
* otherwise
*/
@@ -744,7 +744,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Returns the loading indicator used by this ApplicationConnection
- *
+ *
* @return The loading indicator for this ApplicationConnection
*/
public VLoadingIndicator getLoadingIndicator() {
@@ -753,7 +753,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Determines whether or not the loading indicator is showing.
- *
+ *
* @return true if the loading indicator is visible
* @deprecated As of 7.1. Use {@link #getLoadingIndicator()} and
* {@link VLoadingIndicator#isVisible()}.isVisible() instead.
@@ -862,7 +862,7 @@ public class ApplicationConnection implements HasHandlers {
* is true, the update is sent as soon as possible. If immediate is false,
* the update will be sent along with the next immediate update.
*
- *
+ *
* @param paintableId
* the id of the paintable that owns the variable
* @param variableName
@@ -884,7 +884,7 @@ public class ApplicationConnection implements HasHandlers {
* is true, the update is sent as soon as possible. If immediate is false,
* the update will be sent along with the next immediate update.
*
- *
+ *
* @param paintableId
* the id of the paintable that owns the variable
* @param variableName
@@ -907,7 +907,7 @@ public class ApplicationConnection implements HasHandlers {
* is true, the update is sent as soon as possible. If immediate is false,
* the update will be sent along with the next immediate update.
*
- *
+ *
* @param paintableId
* the id of the paintable that owns the variable
* @param variableName
@@ -930,7 +930,7 @@ public class ApplicationConnection implements HasHandlers {
* is true, the update is sent as soon as possible. If immediate is false,
* the update will be sent along with the next immediate update.
*
- *
+ *
* @param paintableId
* the id of the paintable that owns the variable
* @param variableName
@@ -953,7 +953,7 @@ public class ApplicationConnection implements HasHandlers {
* is true, the update is sent as soon as possible. If immediate is false,
* the update will be sent along with the next immediate update.
*
- *
+ *
* @param paintableId
* the id of the paintable that owns the variable
* @param variableName
@@ -976,7 +976,7 @@ public class ApplicationConnection implements HasHandlers {
* is true, the update is sent as soon as possible. If immediate is false,
* the update will be sent along with the next immediate update.
*
- *
+ *
* @param paintableId
* the id of the paintable that owns the variable
* @param variableName
@@ -999,7 +999,7 @@ public class ApplicationConnection implements HasHandlers {
* is true, the update is sent as soon as possible. If immediate is false,
* the update will be sent along with the next immediate update.
*
- *
+ *
* @param paintableId
* the id of the paintable that owns the variable
* @param variableName
@@ -1022,7 +1022,7 @@ public class ApplicationConnection implements HasHandlers {
* is true, the update is sent as soon as possible. If immediate is false,
* the update will be sent along with the next immediate update.
*
- *
+ *
* @param paintableId
* the id of the paintable that owns the variable
* @param variableName
@@ -1045,7 +1045,7 @@ public class ApplicationConnection implements HasHandlers {
* the update will be sent along with the next immediate update.
*
* A null array is sent as an empty array.
- *
+ *
* @param paintableId
* the id of the paintable that owns the variable
* @param variableName
@@ -1068,7 +1068,7 @@ public class ApplicationConnection implements HasHandlers {
* the update will be sent along with the next immediate update.
*
* A null array is sent as an empty array.
- *
+ *
* @param paintableId
* the id of the paintable that owns the variable
* @param variableName
@@ -1085,7 +1085,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Does absolutely nothing. Replaced by {@link LayoutManager}.
- *
+ *
* @param container
* @deprecated As of 7.0, serves no purpose
*/
@@ -1107,7 +1107,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Returns false
- *
+ *
* @param paintable
* @return false, always
* @deprecated As of 7.0, serves no purpose
@@ -1119,7 +1119,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Returns false
- *
+ *
* @param paintable
* @return false, always
* @deprecated As of 7.0, serves no purpose
@@ -1140,16 +1140,16 @@ public class ApplicationConnection implements HasHandlers {
/**
* Get either an existing ComponentConnector or create a new
* ComponentConnector with the given type and id.
- *
+ *
* If a ComponentConnector with the given id already exists, returns it.
* Otherwise creates and registers a new ComponentConnector of the given
* type.
- *
+ *
* @param connectorId
* Id of the paintable
* @param connectorType
* Type of the connector, as passed from the server side
- *
+ *
* @return Either an existing ComponentConnector or a new ComponentConnector
* of the given type
*/
@@ -1162,15 +1162,15 @@ public class ApplicationConnection implements HasHandlers {
/**
* Creates a new ServerConnector with the given type and id.
- *
+ *
* Creates and registers a new ServerConnector of the given type. Should
* never be called with the connector id of an existing connector.
- *
+ *
* @param connectorId
* Id of the new connector
* @param connectorType
* Type of the connector, as passed from the server side
- *
+ *
* @return A new ServerConnector of the given type
*/
private ServerConnector createAndRegisterConnector(String connectorId,
@@ -1190,7 +1190,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Gets a resource that has been pre-loaded via UIDL, such as custom
* layouts.
- *
+ *
* @param name
* identifier of the resource to get
* @return the resource
@@ -1202,7 +1202,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Sets a resource that has been pre-loaded via UIDL, such as custom
* layouts.
- *
+ *
* @since 7.6
* @param name
* identifier of the resource to Set
@@ -1215,7 +1215,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Singleton method to get instance of app's context menu.
- *
+ *
* @return VContextMenu object
*/
public VContextMenu getContextMenu() {
@@ -1230,7 +1230,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Gets an {@link Icon} instance corresponding to a URI.
- *
+ *
* @since 7.2
* @param uri
* @return Icon object
@@ -1252,7 +1252,7 @@ public class ApplicationConnection implements HasHandlers {
* Translates custom protocols in UIDL URI's to be recognizable by browser.
* All uri's from UIDL should be routed via this method before giving them
* to browser due URI's in UIDL may contain custom protocols like theme://.
- *
+ *
* @param uidlUri
* Vaadin URI from uidl
* @return translated URI ready for browser
@@ -1264,7 +1264,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Gets the URI for the current theme. Can be used to reference theme
* resources.
- *
+ *
* @return URI to the current theme
*/
public String getThemeUri() {
@@ -1281,7 +1281,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Use to notify that the given component's caption has changed; layouts may
* have to be recalculated.
- *
+ *
* @param component
* the Paintable whose caption has changed
* @deprecated As of 7.0.2, has not had any effect for a long time
@@ -1293,7 +1293,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Gets the main view
- *
+ *
* @return the main view
*/
public UIConnector getUIConnector() {
@@ -1302,7 +1302,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Gets the {@link ApplicationConfiguration} for the current application.
- *
+ *
* @see ApplicationConfiguration
* @return the configuration for this application
*/
@@ -1315,7 +1315,7 @@ public class ApplicationConnection implements HasHandlers {
* list of events which has server side listeners is updated automatically
* before the component is updated so the value is correct if called from
* updatedFromUIDL.
- *
+ *
* @param connector
* The connector to register event listeners for
* @param eventIdentifier
@@ -1334,7 +1334,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Adds the get parameters to the uri and returns the new uri that contains
* the parameters.
- *
+ *
* @param uri
* The uri to which the parameters should be added.
* @param extraParams
@@ -1364,7 +1364,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Get VTooltip instance related to application connection
- *
+ *
* @return VTooltip instance
*/
public VTooltip getVTooltip() {
@@ -1376,7 +1376,7 @@ public class ApplicationConnection implements HasHandlers {
* this method is now handled by the state change event handler in
* AbstractComponentConnector. The only function this method has is to
* return true if the UIDL is a "cached" update.
- *
+ *
* @param component
* @param uidl
* @param manageCaption
@@ -1427,7 +1427,7 @@ public class ApplicationConnection implements HasHandlers {
* Schedules a heartbeat request to occur after the configured heartbeat
* interval elapses if the interval is a positive number. Otherwise, does
* nothing.
- *
+ *
* @deprecated as of 7.2, use {@link Heartbeat#schedule()} instead
*/
@Deprecated
@@ -1441,7 +1441,7 @@ public class ApplicationConnection implements HasHandlers {
* Heartbeat requests are used to inform the server that the client-side is
* still alive. If the client page is closed or the connection lost, the
* server will eventually close the inactive UI.
- *
+ *
* @deprecated as of 7.2, use {@link Heartbeat#send()} instead
*/
@Deprecated
@@ -1464,7 +1464,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Sets the delegate that is called whenever a communication error occurrs.
- *
+ *
* @param delegate
* the delegate.
*/
@@ -1504,7 +1504,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Checks if the application is in the {@link ApplicationState#RUNNING}
* state.
- *
+ *
* @since 7.6
* @return true if the application is in the running state, false otherwise
*/
@@ -1536,7 +1536,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Gets the active connector for focused element in browser.
- *
+ *
* @return Connector for focused element or null.
*/
private ComponentConnector getActiveConnector() {
@@ -1564,7 +1564,7 @@ public class ApplicationConnection implements HasHandlers {
* "initializing" to "running" to "stopped". There is no way for an
* application to go back to a previous state, i.e. a stopped application
* can never be re-started
- *
+ *
* @since 7.6
* @return the current state of this application
*/
@@ -1574,7 +1574,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Gets the server RPC queue for this application
- *
+ *
* @since 7.6
* @return the server RPC queue
*/
@@ -1584,7 +1584,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Gets the communication error handler for this application
- *
+ *
* @since 7.6
* @return the server RPC queue
*/
@@ -1594,7 +1594,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Gets the (server to client) message handler for this application
- *
+ *
* @since 7.6
* @return the message handler
*/
@@ -1604,7 +1604,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Gets the server rpc manager for this application
- *
+ *
* @since 7.6
* @return the server rpc manager
*/
@@ -1614,7 +1614,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Gets the (client to server) message sender for this application
- *
+ *
* @since 7.6
* @return the message sender
*/
diff --git a/client/src/main/java/com/vaadin/client/BrowserInfo.java b/client/src/main/java/com/vaadin/client/BrowserInfo.java
index 0074054392..f037fba175 100644
--- a/client/src/main/java/com/vaadin/client/BrowserInfo.java
+++ b/client/src/main/java/com/vaadin/client/BrowserInfo.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -21,10 +21,10 @@ import com.vaadin.shared.VBrowserDetails;
/**
* Class used to query information about web browser.
- *
+ *
* Browser details are detected only once and those are stored in this singleton
* class.
- *
+ *
*/
public class BrowserInfo {
@@ -60,7 +60,7 @@ public class BrowserInfo {
/**
* Singleton method to get BrowserInfo object.
- *
+ *
* @return instance of BrowserInfo object
*/
public static BrowserInfo get() {
@@ -122,19 +122,19 @@ public class BrowserInfo {
* Returns a string representing the browser in use, for use in CSS
* classnames. The classnames will be space separated abbreviations,
* optionally with a version appended.
- *
+ *
* Abbreviations: Firefox: ff Internet Explorer: ie Safari: sa Opera: op
- *
+ *
* Browsers that CSS-wise behave like each other will get the same
* abbreviation (this usually depends on the rendering engine).
- *
+ *
* This is quite simple at the moment, more heuristics will be added when
* needed.
- *
+ *
* Examples: Internet Explorer 6: ".v-ie .v-ie6 .v-ie60", Firefox 3.0.4:
* ".v-ff .v-ff3 .v-ff30", Opera 9.60: ".v-op .v-op9 .v-op960", Opera 10.10:
* ".v-op .v-op10 .v-op1010"
- *
+ *
* @return
*/
public String getCSSClass() {
@@ -284,7 +284,7 @@ public class BrowserInfo {
/**
* Returns the Gecko version if the browser is Gecko based. The Gecko
* version for Firefox 2 is 1.8 and 1.9 for Firefox 3.
- *
+ *
* @return The Gecko version or -1 if the browser is not Gecko based
*/
public float getGeckoVersion() {
@@ -298,7 +298,7 @@ public class BrowserInfo {
/**
* Returns the WebKit version if the browser is WebKit based. The WebKit
* version returned is the major version e.g., 523.
- *
+ *
* @return The WebKit version or -1 if the browser is not WebKit based
*/
public float getWebkitVersion() {
@@ -362,7 +362,7 @@ public class BrowserInfo {
/**
* Indicates whether the browser might require juggling to properly update
* sizes inside elements with overflow: auto.
- *
+ *
* @return true if the browser requires the workaround,
* otherwise false
*/
@@ -379,7 +379,7 @@ public class BrowserInfo {
*
* See https://bugs.webkit.org/show_bug.cgi?id=123958 and
* http://code.google.com/p/chromium/issues/detail?id=316549
- *
+ *
* @since 7.1.8
* @return true if the browser requires the workaround,
* otherwise false
@@ -391,7 +391,7 @@ public class BrowserInfo {
/**
* Checks if the browser is run on iOS
- *
+ *
* @return true if the browser is run on iOS, false otherwise
*/
public boolean isIOS() {
@@ -400,7 +400,7 @@ public class BrowserInfo {
/**
* Checks if the browser is run on iOS 6.
- *
+ *
* @since 7.1.1
* @return true if the browser is run on iOS 6, false otherwise
*/
@@ -410,7 +410,7 @@ public class BrowserInfo {
/**
* Checks if the browser is run on Android
- *
+ *
* @return true if the browser is run on Android, false otherwise
*/
public boolean isAndroid() {
@@ -420,7 +420,7 @@ public class BrowserInfo {
/**
* Checks if the browser is capable of handling scrolling natively or if a
* touch scroll helper is needed for scrolling.
- *
+ *
* @return true if browser needs a touch scroll helper, false if the browser
* can handle scrolling natively
*/
@@ -448,7 +448,7 @@ public class BrowserInfo {
/**
* Tests if this is an Android devices with a broken scrollTop
* implementation
- *
+ *
* @return true if scrollTop cannot be trusted on this device, false
* otherwise
*/
@@ -477,7 +477,7 @@ public class BrowserInfo {
* Note that Internet Explorer 8 and newer will return the document mode so
* IE8 rendering as IE7 will return 7.
*
- *
+ *
* @return The major version of the browser.
*/
public int getBrowserMajorVersion() {
@@ -486,9 +486,9 @@ public class BrowserInfo {
/**
* Returns the browser minor version e.g., 5 for Firefox 3.5.
- *
+ *
* @see #getBrowserMajorVersion()
- *
+ *
* @return The minor version of the browser, or -1 if not known/parsed.
*/
public int getBrowserMinorVersion() {
@@ -498,7 +498,7 @@ public class BrowserInfo {
/**
* Checks if the browser version is newer or equal to the given major+minor
* version.
- *
+ *
* @param majorVersion
* The major version to check for
* @param minorVersion
diff --git a/client/src/main/java/com/vaadin/client/CSSRule.java b/client/src/main/java/com/vaadin/client/CSSRule.java
index d57eacf275..2e75b6a58e 100644
--- a/client/src/main/java/com/vaadin/client/CSSRule.java
+++ b/client/src/main/java/com/vaadin/client/CSSRule.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -26,7 +26,7 @@ public class CSSRule {
private JavaScriptObject rules = null;
/**
- *
+ *
* @param selector
* the CSS selector to search for in the stylesheets
* @param deep
@@ -63,11 +63,11 @@ public class CSSRule {
/*-{
if(!$doc.styleSheets)
return null;
-
+
selector = selector.toLowerCase();
-
+
var allMatches = [];
-
+
// IE handles imported sheet differently
if(deep && sheet.imports && sheet.imports.length > 0) {
for(var i=0; i < sheet.imports.length; i++) {
@@ -76,13 +76,13 @@ public class CSSRule {
allMatches.concat(imports);
}
}
-
+
var theRules = new Array();
if (sheet.cssRules)
theRules = sheet.cssRules
else if (sheet.rules)
theRules = sheet.rules
-
+
var j = theRules.length;
for(var i=0; itrue if the width of this paintable is currently
* undefined. If the width is undefined, the actual width of the paintable
* is defined by its contents.
- *
+ *
* @return true if the width is undefined, else
* false
*/
@@ -59,7 +59,7 @@ public interface ComponentConnector extends ServerConnector {
* Returns true if the height of this paintable is currently
* undefined. If the height is undefined, the actual height of the paintable
* is defined by its contents.
- *
+ *
* @return true if the height is undefined, else
* false
*/
@@ -69,7 +69,7 @@ public interface ComponentConnector extends ServerConnector {
* Returns true if the width of this paintable is currently
* relative. If the width is relative, the actual width of the paintable is
* a percentage of the size allocated to it by its parent.
- *
+ *
* @return true if the width is undefined, else
* false
*/
@@ -79,7 +79,7 @@ public interface ComponentConnector extends ServerConnector {
* Returns true if the height of this paintable is currently
* relative. If the height is relative, the actual height of the paintable
* is a percentage of the size allocated to it by its parent.
- *
+ *
* @return true if the width is undefined, else
* false
*/
@@ -87,7 +87,7 @@ public interface ComponentConnector extends ServerConnector {
/**
* Checks if the connector is read only.
- *
+ *
* @deprecated This belongs in AbstractFieldConnector, see #8514
* @return true
*/
@@ -97,13 +97,13 @@ public interface ComponentConnector extends ServerConnector {
/**
* Return true if parent handles caption, false if the paintable handles the
* caption itself.
- *
+ *
*
* This should always return true and all components should let the parent
* handle the caption and use other attributes for internal texts in the
* component
*
- *
+ *
* @return true if caption handling is delegated to the parent, false if
* parent should not be allowed to render caption
*/
@@ -111,7 +111,7 @@ public interface ComponentConnector extends ServerConnector {
/**
* Sets the enabled state of the widget associated to this connector.
- *
+ *
* @param widgetEnabled
* true if the widget should be enabled, false otherwise
*/
@@ -124,7 +124,7 @@ public interface ComponentConnector extends ServerConnector {
* overridden to return true in all situations where this
* method might return a non-empty result.
*
- *
+ *
* @param element
* The element to lookup a tooltip for
* @return The tooltip for the element or null if no tooltip is defined for
@@ -140,7 +140,7 @@ public interface ComponentConnector extends ServerConnector {
* This is only done to optimize performance, so in cases where the status
* is not known, it's safer to return true so that there will
* be a tooltip handler even though it might not be needed in all cases.
- *
+ *
* @return true if some part of the component might have a
* tooltip, otherwise false
*/
diff --git a/client/src/main/java/com/vaadin/client/ComponentDetail.java b/client/src/main/java/com/vaadin/client/ComponentDetail.java
index 9e5e2a82a8..a6a1878407 100644
--- a/client/src/main/java/com/vaadin/client/ComponentDetail.java
+++ b/client/src/main/java/com/vaadin/client/ComponentDetail.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -30,7 +30,7 @@ class ComponentDetail {
/**
* Returns a TooltipInfo assosiated with Component. If element is given,
* returns an additional TooltipInfo.
- *
+ *
* @param key
* @return the tooltipInfo
*/
diff --git a/client/src/main/java/com/vaadin/client/ComponentDetailMap.java b/client/src/main/java/com/vaadin/client/ComponentDetailMap.java
index c99ebd2738..498e28c28b 100644
--- a/client/src/main/java/com/vaadin/client/ComponentDetailMap.java
+++ b/client/src/main/java/com/vaadin/client/ComponentDetailMap.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
diff --git a/client/src/main/java/com/vaadin/client/ComputedStyle.java b/client/src/main/java/com/vaadin/client/ComputedStyle.java
index 4844b00a75..f887dbb7d1 100644
--- a/client/src/main/java/com/vaadin/client/ComputedStyle.java
+++ b/client/src/main/java/com/vaadin/client/ComputedStyle.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -29,7 +29,7 @@ public class ComputedStyle {
*
* Note that this method is expensive. Wherever possible, reuse the returned
* object.
- *
+ *
* @param elem
* the element
* @return the computed style
@@ -44,18 +44,18 @@ public class ComputedStyle {
if(elem.nodeType != 1) {
return {};
}
-
+
if($wnd.document.defaultView && $wnd.document.defaultView.getComputedStyle) {
return $wnd.document.defaultView.getComputedStyle(elem, null);
}
-
+
if(elem.currentStyle) {
return elem.currentStyle;
}
}-*/;
/**
- *
+ *
* @param name
* name of the CSS property in camelCase
* @return the value of the property, normalized for across browsers (each
@@ -65,7 +65,7 @@ public class ComputedStyle {
/*-{
var cs = this.@com.vaadin.client.ComputedStyle::computedStyle;
var elem = this.@com.vaadin.client.ComputedStyle::elem;
-
+
// Border values need to be checked separately. The width might have a
// meaningful value even if the border style is "none". In that case the
// value should be 0.
@@ -78,45 +78,45 @@ public class ComputedStyle {
if(borderStyle == "none")
return "0px";
}
-
+
if(cs.getPropertyValue) {
-
+
// Convert name to dashed format
name = name.replace(/([A-Z])/g, "-$1").toLowerCase();
var ret = cs.getPropertyValue(name);
-
+
} else {
-
+
var ret = cs[name];
var style = elem.style;
-
+
// From the awesome hack by Dean Edwards
// http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291
-
+
// If we're not dealing with a regular pixel number
// but a number that has a weird ending, we need to convert it to pixels
if ( !/^\d+(px)?$/i.test( ret ) && /^\d/.test( ret ) ) {
// Remember the original values
var left = style.left, rsLeft = elem.runtimeStyle.left;
-
+
// Put in the new values to get a computed value out
elem.runtimeStyle.left = cs.left;
style.left = ret || 0;
ret = style.pixelLeft + "px";
-
+
// Revert the changed values
style.left = left;
elem.runtimeStyle.left = rsLeft;
}
-
+
}
-
+
// Normalize margin values. This is not totally valid, but in most cases
// it is what the user wants to know.
if(name.indexOf("margin") > -1 && ret == "auto") {
return "0px";
}
-
+
// Some browsers return undefined width and height values as "auto", so
// we need to retrieve those ourselves.
if (name == "width" && ret == "auto") {
@@ -124,16 +124,16 @@ public class ComputedStyle {
} else if (name == "height" && ret == "auto") {
ret = elem.clientHeight + "px";
}
-
+
return ret;
-
+
}-*/;
/**
* Retrieves the given computed property as an integer
- *
+ *
* Returns 0 if the property cannot be converted to an integer
- *
+ *
* @param name
* the property to retrieve
* @return the integer value of the property or 0
@@ -148,9 +148,9 @@ public class ComputedStyle {
/**
* Retrieves the given computed property as a double
- *
+ *
* Returns NaN if the property cannot be converted to a double
- *
+ *
* @since 7.5.1
* @param name
* the property to retrieve
@@ -205,7 +205,7 @@ public class ComputedStyle {
/**
* Returns the current width from the DOM.
- *
+ *
* @since 7.5.1
* @return the computed width
*/
@@ -215,7 +215,7 @@ public class ComputedStyle {
/**
* Returns the current height from the DOM.
- *
+ *
* @since 7.5.1
* @return the computed height
*/
@@ -225,13 +225,13 @@ public class ComputedStyle {
/**
* Takes a String value e.g. "12px" and parses that to Integer 12.
- *
+ *
* @param String
* a value starting with a number
* @return Integer the value from the string before any non-numeric
* characters. If the value cannot be parsed to a number, returns
* null.
- *
+ *
* @deprecated Since 7.1.4, the method {@link #parseIntNative(String)} is
* used internally and this method does not belong in the public
* API of {@link ComputedStyle}. {@link #parseInt(String)} might
@@ -250,10 +250,10 @@ public class ComputedStyle {
/**
* Takes a String value e.g. "12px" and parses that to int 12.
- *
+ *
*
* This method returns 0 for NaN.
- *
+ *
* @param String
* a value starting with a number
* @return int the value from the string before any non-numeric characters.
@@ -270,7 +270,7 @@ public class ComputedStyle {
/**
* Takes a String value e.g. "12.3px" and parses that to a double, 12.3.
- *
+ *
* @param String
* a value starting with a number
* @return the value from the string before any non-numeric characters or
@@ -283,7 +283,7 @@ public class ComputedStyle {
/**
* Returns the sum of the top and bottom border width
- *
+ *
* @since 7.5.3
* @return the sum of the top and bottom border
*/
@@ -296,7 +296,7 @@ public class ComputedStyle {
/**
* Returns the sum of the left and right border width
- *
+ *
* @since 7.5.3
* @return the sum of the left and right border
*/
@@ -309,7 +309,7 @@ public class ComputedStyle {
/**
* Returns the sum of the top and bottom padding
- *
+ *
* @since 7.5.3
* @return the sum of the top and bottom padding
*/
@@ -322,7 +322,7 @@ public class ComputedStyle {
/**
* Returns the sum of the top and bottom padding
- *
+ *
* @since 7.5.3
* @return the sum of the left and right padding
*/
@@ -335,7 +335,7 @@ public class ComputedStyle {
/**
* Returns the sum of the top and bottom margin
- *
+ *
* @since 7.5.6
* @return the sum of the top and bottom margin
*/
@@ -348,7 +348,7 @@ public class ComputedStyle {
/**
* Returns the sum of the top and bottom margin
- *
+ *
* @since 7.5.6
* @return the sum of the left and right margin
*/
diff --git a/client/src/main/java/com/vaadin/client/ConnectorHierarchyChangeEvent.java b/client/src/main/java/com/vaadin/client/ConnectorHierarchyChangeEvent.java
index 3da7703cbd..a46b191aa1 100644
--- a/client/src/main/java/com/vaadin/client/ConnectorHierarchyChangeEvent.java
+++ b/client/src/main/java/com/vaadin/client/ConnectorHierarchyChangeEvent.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -29,10 +29,10 @@ import com.vaadin.client.ui.AbstractHasComponentsConnector;
* hierarchy. A {@link ConnectorHierarchyChangedEvent} is fired when an update
* from the server has been fully processed and all hierarchy updates have been
* completed.
- *
+ *
* @author Vaadin Ltd
* @since 7.0.0
- *
+ *
*/
public class ConnectorHierarchyChangeEvent
extends AbstractServerConnectorEvent {
@@ -49,7 +49,7 @@ public class ConnectorHierarchyChangeEvent
/**
* Returns a collection of the old children for the connector. This was the
* state before the update was received from the server.
- *
+ *
* @return A collection of old child connectors. Never returns null.
*/
public List getOldChildren() {
@@ -58,7 +58,7 @@ public class ConnectorHierarchyChangeEvent
/**
* Sets the collection of the old children for the connector.
- *
+ *
* @param oldChildren
* The old child connectors. Must not be null.
*/
@@ -68,7 +68,7 @@ public class ConnectorHierarchyChangeEvent
/**
* Returns the {@link HasComponentsConnector} for which this event occurred.
- *
+ *
* @return The {@link HasComponentsConnector} whose child collection has
* changed. Never returns null.
*/
@@ -112,7 +112,7 @@ public class ConnectorHierarchyChangeEvent
* parent connector might not yet have detached a child widget and that
* the widget of a removed child might already have been attached by its
* new parent.
- *
+ *
* @param connectorHierarchyChangeEvent
* the event with information about the hierarchy change
*/
diff --git a/client/src/main/java/com/vaadin/client/ConnectorMap.java b/client/src/main/java/com/vaadin/client/ConnectorMap.java
index 2b95a1efaa..d6506db673 100644
--- a/client/src/main/java/com/vaadin/client/ConnectorMap.java
+++ b/client/src/main/java/com/vaadin/client/ConnectorMap.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -37,7 +37,7 @@ public class ConnectorMap {
/**
* Returns a {@link ServerConnector} by its id
- *
+ *
* @param id
* The connector id
* @return A connector or null if a connector with the given id has not been
@@ -54,7 +54,7 @@ public class ConnectorMap {
/**
* Returns a {@link ComponentConnector} element by its root element.
- *
+ *
* @param element
* Root element of the {@link ComponentConnector}
* @return A connector or null if a connector with the given id has not been
@@ -82,7 +82,7 @@ public class ConnectorMap {
/**
* FIXME: What does this even do and why?
- *
+ *
* @param pid
* @return
*/
@@ -92,7 +92,7 @@ public class ConnectorMap {
/**
* Checks if a connector with the given id has been registered.
- *
+ *
* @param connectorId
* The id to check for
* @return true if a connector has been registered with the given id, false
@@ -111,7 +111,7 @@ public class ConnectorMap {
/**
* Retrieves the connector whose widget matches the parameter.
- *
+ *
* @param widget
* The widget
* @return A connector with {@literal widget} as its root widget or null if
@@ -145,7 +145,7 @@ public class ConnectorMap {
* Gets the connector id using a DOM element - the element should be the
* root element for a connector, otherwise no id will be found. Use
* {@link #getConnectorId(ServerConnector)} instead whenever possible.
- *
+ *
* @see #getConnectorId(ServerConnector)
* @param el
* element of the connector whose id is desired
@@ -159,7 +159,7 @@ public class ConnectorMap {
/**
* Gets the main element for the connector with the given id. The reverse of
* {@link #getConnectorId(Element)}.
- *
+ *
* @param connectorId
* the id of the widget whose element is desired
* @return the element for the connector corresponding to the id
@@ -178,7 +178,7 @@ public class ConnectorMap {
* This method does not remove the connector from the DOM, but marks the
* connector so that ApplicationConnection may clean up its references to
* it. Removing the widget from DOM is component containers responsibility.
- *
+ *
* @param connector
* the connector to remove
*/
@@ -209,9 +209,9 @@ public class ConnectorMap {
/**
* Gets all registered {@link ComponentConnector} instances
- *
+ *
* @return An array of all registered {@link ComponentConnector} instances
- *
+ *
* @deprecated As of 7.0.1, use {@link #getComponentConnectorsAsJsArray()}
* for better performance.
*/
@@ -260,7 +260,7 @@ public class ConnectorMap {
/**
* @return
- *
+ *
* @deprecated As of 7.0.1, use {@link #getConnectorsAsJsArray()} for
* improved performance.
*/
@@ -291,7 +291,7 @@ public class ConnectorMap {
/**
* Tests if the widget is the root widget of a {@link ComponentConnector}.
- *
+ *
* @param widget
* The widget to test
* @return true if the widget is the root widget of a
diff --git a/client/src/main/java/com/vaadin/client/ContainerResizedListener.java b/client/src/main/java/com/vaadin/client/ContainerResizedListener.java
index 702542f0ac..2cacc78b38 100644
--- a/client/src/main/java/com/vaadin/client/ContainerResizedListener.java
+++ b/client/src/main/java/com/vaadin/client/ContainerResizedListener.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -19,7 +19,7 @@ package com.vaadin.client;
/**
* ContainerResizedListener interface is useful for Widgets that support
* relative sizes and who need some additional sizing logic.
- *
+ *
* @deprecated As of 7.0, serves no purpose. Use {@link LayoutManager} and its
* methods instead.
*/
@@ -31,9 +31,9 @@ public interface ContainerResizedListener {
* function on its ancestors that implement NeedsLayout in case their
* container has resized. runAnchestorsLayout(HasWidgets parent) function
* from Util class may be a good helper for this.
- *
+ *
* @deprecated As of 7.0, this method is never called by the framework.
- *
+ *
*/
@Deprecated
public void iLayout();
diff --git a/client/src/main/java/com/vaadin/client/DateTimeService.java b/client/src/main/java/com/vaadin/client/DateTimeService.java
index 2d6b8aaaa0..af7e861edb 100644
--- a/client/src/main/java/com/vaadin/client/DateTimeService.java
+++ b/client/src/main/java/com/vaadin/client/DateTimeService.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -27,9 +27,9 @@ import com.vaadin.shared.ui.datefield.Resolution;
/**
* This class provides date/time parsing services to all components on the
* client side.
- *
+ *
* @author Vaadin Ltd.
- *
+ *
*/
@SuppressWarnings("deprecation")
public class DateTimeService {
@@ -48,7 +48,7 @@ public class DateTimeService {
/**
* Creates a new date time service with a given locale.
- *
+ *
* @param locale
* e.g. fi, en etc.
* @throws LocaleNotLoadedException
@@ -261,7 +261,7 @@ public class DateTimeService {
/**
* Returns the ISO-8601 week number of the given date.
- *
+ *
* @param date
* The date for which the week number should be resolved
* @return The ISO-8601 week number for {@literal date}
@@ -299,11 +299,11 @@ public class DateTimeService {
* it to the month name since DateTimeFormat.format always uses the current
* locale and will replace the month name wrong if current locale is
* different from the locale set for the DateField.
- *
+ *
* MMMM is converted into long month name, MMM is converted into short month
* name. '' are added around the name to avoid that DateTimeFormat parses
* the month name as a pattern.
- *
+ *
* @param date
* The date to convert
* @param formatStr
@@ -417,7 +417,7 @@ public class DateTimeService {
/**
* Replaces month names in the entered date with the name in the current
* browser locale.
- *
+ *
* @param enteredDate
* Date string e.g. "5 May 2010"
* @param formatString
@@ -457,7 +457,7 @@ public class DateTimeService {
/**
* Parses the given date string using the given format string and the locale
* set in this DateTimeService instance.
- *
+ *
* @param dateString
* Date string e.g. "1 February 2010"
* @param formatString
@@ -467,7 +467,7 @@ public class DateTimeService {
* @return A Date object representing the dateString. Never returns null.
* @throws IllegalArgumentException
* if the parsing fails
- *
+ *
*/
public Date parseDate(String dateString, String formatString,
boolean lenient) throws IllegalArgumentException {
diff --git a/client/src/main/java/com/vaadin/client/DeferredWorker.java b/client/src/main/java/com/vaadin/client/DeferredWorker.java
index cc22cda2a2..c0dd1a8dec 100644
--- a/client/src/main/java/com/vaadin/client/DeferredWorker.java
+++ b/client/src/main/java/com/vaadin/client/DeferredWorker.java
@@ -20,7 +20,7 @@ package com.vaadin.client;
* there is work scheduled to be executed in the near future and that the
* framework should wait for this work to complete before assuming the UI has
* reached a steady state.
- *
+ *
* @since 7.3
* @author Vaadin Ltd
*/
@@ -28,7 +28,7 @@ public interface DeferredWorker {
/**
* Checks whether there are operations pending for this widget or connector
* that must be executed before reaching a steady state.
- *
+ *
* @returns true iff there are operations pending which must be
* executed before reaching a steady state
*/
diff --git a/client/src/main/java/com/vaadin/client/DirectionalManagedLayout.java b/client/src/main/java/com/vaadin/client/DirectionalManagedLayout.java
index eab9811082..803410f5e0 100644
--- a/client/src/main/java/com/vaadin/client/DirectionalManagedLayout.java
+++ b/client/src/main/java/com/vaadin/client/DirectionalManagedLayout.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
diff --git a/client/src/main/java/com/vaadin/client/EventHelper.java b/client/src/main/java/com/vaadin/client/EventHelper.java
index 94fbddf309..978e6d5769 100644
--- a/client/src/main/java/com/vaadin/client/EventHelper.java
+++ b/client/src/main/java/com/vaadin/client/EventHelper.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -37,9 +37,9 @@ import com.google.gwt.user.client.ui.Widget;
* registration (possibly the same as given, should be store for next update.
*
* Pseudocode what helpers do:
- *
+ *
*
- *
+ *
* if paintable has event listener in UIDL
* if registration is null
* register paintable as as handler for event
@@ -48,8 +48,8 @@ import com.google.gwt.user.client.ui.Widget;
* if registration is not null
* remove the handler from paintable
* return null
- *
- *
+ *
+ *
*
*/
public class EventHelper {
@@ -57,7 +57,7 @@ public class EventHelper {
/**
* Adds or removes a focus handler depending on if the connector has focus
* listeners on the server side or not.
- *
+ *
* @param connector
* The connector to update. Must implement focusHandler.
* @param handlerRegistration
@@ -75,7 +75,7 @@ public class EventHelper {
/**
* Adds or removes a focus handler depending on if the connector has focus
* listeners on the server side or not.
- *
+ *
* @param connector
* The connector to update. Must implement focusHandler.
* @param handlerRegistration
@@ -96,7 +96,7 @@ public class EventHelper {
/**
* Adds or removes a blur handler depending on if the connector has blur
* listeners on the server side or not.
- *
+ *
* @param connector
* The connector to update. Must implement BlurHandler.
* @param handlerRegistration
@@ -114,7 +114,7 @@ public class EventHelper {
/**
* Adds or removes a blur handler depending on if the connector has blur
* listeners on the server side or not.
- *
+ *
* @param connector
* The connector to update. Must implement BlurHandler.
* @param handlerRegistration
@@ -122,7 +122,7 @@ public class EventHelper {
* registered previously
* @param widget
* The widget which emits blur events
- *
+ *
* @return a new registration handler that can be used to unregister the
* handler later
*/
diff --git a/client/src/main/java/com/vaadin/client/FastStringMap.java b/client/src/main/java/com/vaadin/client/FastStringMap.java
index ba3d07025b..c0a6dceb32 100644
--- a/client/src/main/java/com/vaadin/client/FastStringMap.java
+++ b/client/src/main/java/com/vaadin/client/FastStringMap.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
diff --git a/client/src/main/java/com/vaadin/client/FastStringSet.java b/client/src/main/java/com/vaadin/client/FastStringSet.java
index 756bd374dc..ee659cf14f 100644
--- a/client/src/main/java/com/vaadin/client/FastStringSet.java
+++ b/client/src/main/java/com/vaadin/client/FastStringSet.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
diff --git a/client/src/main/java/com/vaadin/client/Focusable.java b/client/src/main/java/com/vaadin/client/Focusable.java
index 05b32a7b05..129289ccd0 100644
--- a/client/src/main/java/com/vaadin/client/Focusable.java
+++ b/client/src/main/java/com/vaadin/client/Focusable.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -19,7 +19,7 @@ package com.vaadin.client;
* GWT's HasFocus is way too overkill for just receiving focus in simple
* components. Vaadin uses this interface in addition to GWT's HasFocus to pass
* focus requests from server to actual ui widgets in browsers.
- *
+ *
* So in to make your server side focusable component receive focus on client
* side it must either implement this or HasFocus interface.
*/
diff --git a/client/src/main/java/com/vaadin/client/HasChildMeasurementHintConnector.java b/client/src/main/java/com/vaadin/client/HasChildMeasurementHintConnector.java
index 41aea1e57e..2e8a2fd5cd 100644
--- a/client/src/main/java/com/vaadin/client/HasChildMeasurementHintConnector.java
+++ b/client/src/main/java/com/vaadin/client/HasChildMeasurementHintConnector.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -21,7 +21,7 @@ import com.vaadin.client.ui.layout.ElementResizeListener;
/**
* Connector with layout measuring hint. Used to improve granularity of control
* over child component measurements.
- *
+ *
* @since 7.6
* @author Vaadin Ltd
*/
@@ -56,7 +56,7 @@ public interface HasChildMeasurementHintConnector
/**
* Sets the child measurement hint for this component.
- *
+ *
* @param hint
* the value to set
*/
@@ -64,7 +64,7 @@ public interface HasChildMeasurementHintConnector
/**
* Returns the current child measurement hint value.
- *
+ *
* @return a ChildLayoutMeasureMode value
*/
ChildMeasurementHint getChildMeasurementHint();
diff --git a/client/src/main/java/com/vaadin/client/HasComponentsConnector.java b/client/src/main/java/com/vaadin/client/HasComponentsConnector.java
index 19b93edd61..f44ccf5431 100644
--- a/client/src/main/java/com/vaadin/client/HasComponentsConnector.java
+++ b/client/src/main/java/com/vaadin/client/HasComponentsConnector.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -31,14 +31,14 @@ public interface HasComponentsConnector extends ServerConnector {
/**
* Update child components caption, description and error message.
- *
+ *
*
* Each component is responsible for maintaining its caption, description
* and error message. In most cases components doesn't want to do that and
* those elements reside outside of the component. Because of this layouts
* must provide service for it's childen to show those elements for them.
*
- *
+ *
* @param connector
* Child component for which service is requested.
*/
@@ -53,7 +53,7 @@ public interface HasComponentsConnector extends ServerConnector {
* Note that the method {@link ServerConnector#getChildren()} can return a
* larger list of children including both the child components and any
* extensions registered for the connector.
- *
+ *
* @return A collection of child components for this connector. An empty
* collection if there are no children. Never returns null.
*/
@@ -73,7 +73,7 @@ public interface HasComponentsConnector extends ServerConnector {
* {@link ServerConnector#setChildren(List)} and contains only child
* components. Both methods are called separately by the framework if the
* connector implements {@link HasComponentsConnector}.
- *
+ *
* @param children
* The new child connectors (components only)
*/
@@ -82,7 +82,7 @@ public interface HasComponentsConnector extends ServerConnector {
/**
* Adds a handler that is called whenever the child hierarchy of this
* connector has been updated by the server.
- *
+ *
* @param handler
* The handler that should be added.
* @return A handler registration reference that can be used to unregister
diff --git a/client/src/main/java/com/vaadin/client/JavaScriptConnectorHelper.java b/client/src/main/java/com/vaadin/client/JavaScriptConnectorHelper.java
index eee180ad89..b37557cb05 100644
--- a/client/src/main/java/com/vaadin/client/JavaScriptConnectorHelper.java
+++ b/client/src/main/java/com/vaadin/client/JavaScriptConnectorHelper.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -83,7 +83,7 @@ public class JavaScriptConnectorHelper {
* javascript is usually initalized the first time a state change event is
* received, but it might in some cases be necessary to make this happen
* earlier.
- *
+ *
* @since 7.4.0
*/
public void ensureJavascriptInited() {
@@ -408,7 +408,7 @@ public class JavaScriptConnectorHelper {
delete state[key];
}
}
-
+
for(var key in input) {
if (input.hasOwnProperty(key)) {
state[key] = input[key];
diff --git a/client/src/main/java/com/vaadin/client/JavaScriptExtension.java b/client/src/main/java/com/vaadin/client/JavaScriptExtension.java
index 9c60d38a5a..c74715eb18 100644
--- a/client/src/main/java/com/vaadin/client/JavaScriptExtension.java
+++ b/client/src/main/java/com/vaadin/client/JavaScriptExtension.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
diff --git a/client/src/main/java/com/vaadin/client/JsArrayObject.java b/client/src/main/java/com/vaadin/client/JsArrayObject.java
index b6dcf3789d..acbc43ac6b 100644
--- a/client/src/main/java/com/vaadin/client/JsArrayObject.java
+++ b/client/src/main/java/com/vaadin/client/JsArrayObject.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
diff --git a/client/src/main/java/com/vaadin/client/LayoutManager.java b/client/src/main/java/com/vaadin/client/LayoutManager.java
index 10a77379f1..8938fd81fb 100644
--- a/client/src/main/java/com/vaadin/client/LayoutManager.java
+++ b/client/src/main/java/com/vaadin/client/LayoutManager.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -87,7 +87,7 @@ public class LayoutManager {
/**
* Returns the application connection for this layout manager.
- *
+ *
* @return connection
*/
protected ApplicationConnection getConnection() {
@@ -97,7 +97,7 @@ public class LayoutManager {
/**
* Gets the layout manager associated with the given
* {@link ApplicationConnection}.
- *
+ *
* @param connection
* the application connection to get a layout manager for
* @return the layout manager associated with the provided application
@@ -112,7 +112,7 @@ public class LayoutManager {
* This causes this layout manager to measure the element in the beginning
* of every layout phase and call the appropriate layout method of the
* managed layout if the size of the element has changed.
- *
+ *
* @param owner
* the ManagedLayout that depends on an element
* @param element
@@ -164,7 +164,7 @@ public class LayoutManager {
/**
* Assigns a measured size to an element. Method defined as protected to
* allow separate implementation for IE8.
- *
+ *
* @param element
* the dom element to attach the measured size to
* @param measuredSize
@@ -184,7 +184,7 @@ public class LayoutManager {
/**
* Gets the measured size for an element. Method defined as protected to
* allow separate implementation for IE8.
- *
+ *
* @param element
* The element to get measured size for
* @param defaultSize
@@ -209,9 +209,9 @@ public class LayoutManager {
/**
* Registers that a ManagedLayout is no longer depending on the size of an
* Element.
- *
+ *
* @see #registerDependency(ManagedLayout, Element)
- *
+ *
* @param owner
* the ManagedLayout no longer depends on an element
* @param element
@@ -884,7 +884,7 @@ public class LayoutManager {
* to explicitly cause some layout to be considered in an ongoing layout
* phase, you should use {@link #setNeedsMeasure(ComponentConnector)}
* instead.
- *
+ *
* @param layout
* the managed layout that should be layouted
*/
@@ -906,7 +906,7 @@ public class LayoutManager {
* to explicitly cause some layout to be considered in an ongoing layout
* phase, you should use {@link #setNeedsMeasure(ComponentConnector)}
* instead.
- *
+ *
* @param layout
* the managed layout that should be layouted
*/
@@ -931,7 +931,7 @@ public class LayoutManager {
* to explicitly cause some layout to be considered in an ongoing layout
* phase, you should use {@link #setNeedsMeasure(ComponentConnector)}
* instead.
- *
+ *
* @param layout
* the managed layout that should be layouted
*/
@@ -953,13 +953,13 @@ public class LayoutManager {
*
Elements for which at least one ManagedLayout has registered a
* dependency
*
- *
+ *
* -1 is returned if the element has not been measured. If 0 is returned, it
* might indicate that the element is not attached to the DOM.
*
* The value returned by this method is always rounded up. To get the exact
* outer width, use {@link #getOuterHeightDouble(Element)}
- *
+ *
* @param element
* the element to get the measured size for
* @return the measured outer height (including margins, paddings and
@@ -982,10 +982,10 @@ public class LayoutManager {
*
Elements for which at least one ManagedLayout has registered a
* dependency
*
- *
+ *
* -1 is returned if the element has not been measured. If 0 is returned, it
* might indicate that the element is not attached to the DOM.
- *
+ *
* @since 7.5.1
* @param element
* the element to get the measured size for
@@ -1008,13 +1008,13 @@ public class LayoutManager {
*
Elements for which at least one ManagedLayout has registered a
* dependency
*
- *
+ *
* -1 is returned if the element has not been measured. If 0 is returned, it
* might indicate that the element is not attached to the DOM.
*
* The value returned by this method is always rounded up. To get the exact
* outer width, use {@link #getOuterWidthDouble(Element)}
- *
+ *
* @since 7.5.1
* @param element
* the element to get the measured size for
@@ -1038,10 +1038,10 @@ public class LayoutManager {
*
Elements for which at least one ManagedLayout has registered a
* dependency
*
- *
+ *
* -1 is returned if the element has not been measured. If 0 is returned, it
* might indicate that the element is not attached to the DOM.
- *
+ *
* @param element
* the element to get the measured size for
* @return the measured outer width (including margins, paddings and
@@ -1063,13 +1063,13 @@ public class LayoutManager {
*
Elements for which at least one ManagedLayout has registered a
* dependency
*
- *
+ *
* -1 is returned if the element has not been measured. If 0 is returned, it
* might indicate that the element is not attached to the DOM.
*
* The value returned by this method is always rounded up. To get the exact
* outer width, use {@link #getInnerHeightDouble(Element)}
- *
+ *
* @param element
* the element to get the measured size for
* @return the measured inner height (excluding margins, paddings and
@@ -1092,10 +1092,10 @@ public class LayoutManager {
*
Elements for which at least one ManagedLayout has registered a
* dependency
*
- *
+ *
* -1 is returned if the element has not been measured. If 0 is returned, it
* might indicate that the element is not attached to the DOM.
- *
+ *
* @since 7.5.1
* @param element
* the element to get the measured size for
@@ -1118,13 +1118,13 @@ public class LayoutManager {
*
Elements for which at least one ManagedLayout has registered a
* dependency
*
- *
+ *
* -1 is returned if the element has not been measured. If 0 is returned, it
* might indicate that the element is not attached to the DOM.
*
* The value returned by this method is always rounded up. To get the exact
* outer width, use {@link #getOuterHeightDouble(Element)}
- *
+ *
* @param element
* the element to get the measured size for
* @return the measured inner width (excluding margins, paddings and
@@ -1147,10 +1147,10 @@ public class LayoutManager {
*
Elements for which at least one ManagedLayout has registered a
* dependency
*
- *
+ *
* -1 is returned if the element has not been measured. If 0 is returned, it
* might indicate that the element is not attached to the DOM.
- *
+ *
* @since 7.5.1
* @param element
* the element to get the measured size for
@@ -1173,11 +1173,11 @@ public class LayoutManager {
*
Elements for which at least one ManagedLayout has registered a
* dependency
*
- *
+ *
* A negative number is returned if the element has not been measured. If 0
* is returned, it might indicate that the element is not attached to the
* DOM.
- *
+ *
* @param element
* the element to get the measured size for
* @return the measured border height (top border + bottom border) of the
@@ -1199,11 +1199,11 @@ public class LayoutManager {
*
Elements for which at least one ManagedLayout has registered a
* dependency
*
- *
+ *
* A negative number is returned if the element has not been measured. If 0
* is returned, it might indicate that the element is not attached to the
* DOM.
- *
+ *
* @param element
* the element to get the measured size for
* @return the measured padding height (top padding + bottom padding) of the
@@ -1225,11 +1225,11 @@ public class LayoutManager {
*
Elements for which at least one ManagedLayout has registered a
* dependency
*
- *
+ *
* A negative number is returned if the element has not been measured. If 0
* is returned, it might indicate that the element is not attached to the
* DOM.
- *
+ *
* @param element
* the element to get the measured size for
* @return the measured border width (left border + right border) of the
@@ -1250,11 +1250,11 @@ public class LayoutManager {
*
Elements for which at least one ManagedLayout has registered a
* dependency
*
- *
+ *
* A negative number is returned if the element has not been measured. If 0
* is returned, it might indicate that the element is not attached to the
* DOM.
- *
+ *
* @param element
* the element to get the measured size for
* @return the measured top border of the element in pixels.
@@ -1274,11 +1274,11 @@ public class LayoutManager {
*
Elements for which at least one ManagedLayout has registered a
* dependency
*
- *
+ *
* A negative number is returned if the element has not been measured. If 0
* is returned, it might indicate that the element is not attached to the
* DOM.
- *
+ *
* @param element
* the element to get the measured size for
* @return the measured left border of the element in pixels.
@@ -1298,11 +1298,11 @@ public class LayoutManager {
*
Elements for which at least one ManagedLayout has registered a
* dependency
*
- *
+ *
* A negative number is returned if the element has not been measured. If 0
* is returned, it might indicate that the element is not attached to the
* DOM.
- *
+ *
* @param element
* the element to get the measured size for
* @return the measured bottom border of the element in pixels.
@@ -1322,11 +1322,11 @@ public class LayoutManager {
*
Elements for which at least one ManagedLayout has registered a
* dependency
*
- *
+ *
* A negative number is returned if the element has not been measured. If 0
* is returned, it might indicate that the element is not attached to the
* DOM.
- *
+ *
* @param element
* the element to get the measured size for
* @return the measured right border of the element in pixels.
@@ -1347,11 +1347,11 @@ public class LayoutManager {
*
Elements for which at least one ManagedLayout has registered a
* dependency
*
- *
+ *
* A negative number is returned if the element has not been measured. If 0
* is returned, it might indicate that the element is not attached to the
* DOM.
- *
+ *
* @param element
* the element to get the measured size for
* @return the measured padding width (left padding + right padding) of the
@@ -1372,11 +1372,11 @@ public class LayoutManager {
*
Elements for which at least one ManagedLayout has registered a
* dependency
*
- *
+ *
* A negative number is returned if the element has not been measured. If 0
* is returned, it might indicate that the element is not attached to the
* DOM.
- *
+ *
* @param element
* the element to get the measured size for
* @return the measured top padding of the element in pixels.
@@ -1396,11 +1396,11 @@ public class LayoutManager {
*
Elements for which at least one ManagedLayout has registered a
* dependency
*
- *
+ *
* A negative number is returned if the element has not been measured. If 0
* is returned, it might indicate that the element is not attached to the
* DOM.
- *
+ *
* @param element
* the element to get the measured size for
* @return the measured left padding of the element in pixels.
@@ -1420,11 +1420,11 @@ public class LayoutManager {
*
Elements for which at least one ManagedLayout has registered a
* dependency
*
- *
+ *
* A negative number is returned if the element has not been measured. If 0
* is returned, it might indicate that the element is not attached to the
* DOM.
- *
+ *
* @param element
* the element to get the measured size for
* @return the measured bottom padding of the element in pixels.
@@ -1444,11 +1444,11 @@ public class LayoutManager {
*
Elements for which at least one ManagedLayout has registered a
* dependency
*
- *
+ *
* A negative number is returned if the element has not been measured. If 0
* is returned, it might indicate that the element is not attached to the
* DOM.
- *
+ *
* @param element
* the element to get the measured size for
* @return the measured right padding of the element in pixels.
@@ -1468,11 +1468,11 @@ public class LayoutManager {
*
Elements for which at least one ManagedLayout has registered a
* dependency
*
- *
+ *
* A negative number is returned if the element has not been measured. If 0
* is returned, it might indicate that the element is not attached to the
* DOM.
- *
+ *
* @param element
* the element to get the measured size for
* @return the measured top margin of the element in pixels.
@@ -1492,11 +1492,11 @@ public class LayoutManager {
*
Elements for which at least one ManagedLayout has registered a
* dependency
*
- *
+ *
* A negative number is returned if the element has not been measured. If 0
* is returned, it might indicate that the element is not attached to the
* DOM.
- *
+ *
* @param element
* the element to get the measured size for
* @return the measured right margin of the element in pixels.
@@ -1516,11 +1516,11 @@ public class LayoutManager {
*
Elements for which at least one ManagedLayout has registered a
* dependency
*
- *
+ *
* A negative number is returned if the element has not been measured. If 0
* is returned, it might indicate that the element is not attached to the
* DOM.
- *
+ *
* @param element
* the element to get the measured size for
* @return the measured bottom margin of the element in pixels.
@@ -1540,11 +1540,11 @@ public class LayoutManager {
*
Elements for which at least one ManagedLayout has registered a
* dependency
*
- *
+ *
* A negative number is returned if the element has not been measured. If 0
* is returned, it might indicate that the element is not attached to the
* DOM.
- *
+ *
* @param element
* the element to get the measured size for
* @return the measured left margin of the element in pixels.
@@ -1564,11 +1564,11 @@ public class LayoutManager {
*
Elements for which at least one ManagedLayout has registered a
* dependency
*
- *
+ *
* A negative number is returned if the element has not been measured. If 0
* is returned, it might indicate that the element is not attached to the
* DOM.
- *
+ *
* @param element
* the element to get the measured margin for
* @return the measured top+bottom margin of the element in pixels.
@@ -1586,11 +1586,11 @@ public class LayoutManager {
*
Elements for which at least one ManagedLayout has registered a
* dependency
*
- *
+ *
* A negative number is returned if the element has not been measured. If 0
* is returned, it might indicate that the element is not attached to the
* DOM.
- *
+ *
* @param element
* the element to get the measured margin for
* @return the measured left+right margin of the element in pixels.
@@ -1605,7 +1605,7 @@ public class LayoutManager {
* informing the LayoutManager about what size a component will have, the
* layout propagation can continue directly without first measuring the
* potentially resized elements.
- *
+ *
* @param component
* the component for which the size is reported
* @param outerHeight
@@ -1635,7 +1635,7 @@ public class LayoutManager {
* LayoutManager about what size a component will have, the layout
* propagation can continue directly without first measuring the potentially
* resized elements.
- *
+ *
* @param component
* the relatively sized component for which the size is reported
* @param assignedHeight
@@ -1659,7 +1659,7 @@ public class LayoutManager {
* LayoutManager about what size a component will have, the layout
* propagation can continue directly without first measuring the potentially
* resized elements.
- *
+ *
* @param component
* the relatively sized component for which the size is reported
* @param assignedWidth
@@ -1687,7 +1687,7 @@ public class LayoutManager {
* informing the LayoutManager about what size a component will have, the
* layout propagation can continue directly without first measuring the
* potentially resized elements.
- *
+ *
* @param component
* the component for which the size is reported
* @param outerWidth
@@ -1715,7 +1715,7 @@ public class LayoutManager {
* element changes. Adding a listener to an element also ensures that all
* sizes for that element will be available starting from the next layout
* phase.
- *
+ *
* @param element
* the element that should be checked for size changes
* @param listener
@@ -1738,7 +1738,7 @@ public class LayoutManager {
* Removes an element resize listener from the provided element. This might
* cause this LayoutManager to stop tracking the size of the element if no
* other sources are interested in the size.
- *
+ *
* @param element
* the element to which the element resize listener was
* previously added
@@ -1777,7 +1777,7 @@ public class LayoutManager {
* {@link #setNeedsMeasureRecursively(ComponentConnector)} instead.
*
* If there is no upcoming layout phase, a new layout phase is scheduled.
- *
+ *
* @param component
* the component whose size might have changed.
*/
@@ -1800,7 +1800,7 @@ public class LayoutManager {
* {@link #setNeedsMeasure(ComponentConnector)} instead.
*
* If there is no upcoming layout phase, a new layout phase is scheduled.
- *
+ *
* @since 7.2
* @param component
* the component at the root of the component hierarchy to
@@ -1834,7 +1834,7 @@ public class LayoutManager {
/**
* Checks if there is something waiting for a layout to take place.
- *
+ *
* @since 7.5.6
* @return true if there are connectors waiting for measurement or layout,
* false otherwise
diff --git a/client/src/main/java/com/vaadin/client/LayoutManagerIE8.java b/client/src/main/java/com/vaadin/client/LayoutManagerIE8.java
index 479155d0e6..603ac03337 100644
--- a/client/src/main/java/com/vaadin/client/LayoutManagerIE8.java
+++ b/client/src/main/java/com/vaadin/client/LayoutManagerIE8.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -29,10 +29,10 @@ import com.google.gwt.user.client.ui.RootPanel;
* element in IE8 seems to make the browser think the element has changed in a
* way that requires a reflow. To work around that, the MeasureData is instead
* stored in Map for IE8.
- *
+ *
* This implementation is injected for IE8 by a replace-with definition in the
* GWT module.
- *
+ *
* @author Vaadin Ltd
* @since 7.0.0
*/
diff --git a/client/src/main/java/com/vaadin/client/LocaleNotLoadedException.java b/client/src/main/java/com/vaadin/client/LocaleNotLoadedException.java
index 6f59e786e4..6d2cbf28ae 100644
--- a/client/src/main/java/com/vaadin/client/LocaleNotLoadedException.java
+++ b/client/src/main/java/com/vaadin/client/LocaleNotLoadedException.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
diff --git a/client/src/main/java/com/vaadin/client/LocaleService.java b/client/src/main/java/com/vaadin/client/LocaleService.java
index dcd1c9ea4e..490101285b 100644
--- a/client/src/main/java/com/vaadin/client/LocaleService.java
+++ b/client/src/main/java/com/vaadin/client/LocaleService.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -27,9 +27,9 @@ import com.vaadin.shared.ui.ui.UIState.LocaleData;
/**
* Date / time etc. localisation service for all widgets. Caches all loaded
* locales as JSONObjects.
- *
+ *
* @author Vaadin Ltd.
- *
+ *
*/
public class LocaleService {
diff --git a/client/src/main/java/com/vaadin/client/MeasuredSize.java b/client/src/main/java/com/vaadin/client/MeasuredSize.java
index f358517afa..7f95d1826a 100644
--- a/client/src/main/java/com/vaadin/client/MeasuredSize.java
+++ b/client/src/main/java/com/vaadin/client/MeasuredSize.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
diff --git a/client/src/main/java/com/vaadin/client/MouseEventDetailsBuilder.java b/client/src/main/java/com/vaadin/client/MouseEventDetailsBuilder.java
index 11ebe3925c..62b96ee712 100644
--- a/client/src/main/java/com/vaadin/client/MouseEventDetailsBuilder.java
+++ b/client/src/main/java/com/vaadin/client/MouseEventDetailsBuilder.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -24,16 +24,16 @@ import com.vaadin.shared.MouseEventDetails.MouseButton;
/**
* Helper class for constructing a MouseEventDetails object from a
* {@link NativeEvent}.
- *
+ *
* @author Vaadin Ltd
* @since 7.0.0
- *
+ *
*/
public class MouseEventDetailsBuilder {
/**
* Construct a {@link MouseEventDetails} object from the given event
- *
+ *
* @param evt
* The event to use as a source for the details
* @return a MouseEventDetails containing information from the event
@@ -44,7 +44,7 @@ public class MouseEventDetailsBuilder {
/**
* Construct a {@link MouseEventDetails} object from the given event
- *
+ *
* @param evt
* The event to use as a source for the details
* @param relativeToElement
diff --git a/client/src/main/java/com/vaadin/client/Paintable.java b/client/src/main/java/com/vaadin/client/Paintable.java
index 34f2d0714f..1e3ca24dca 100644
--- a/client/src/main/java/com/vaadin/client/Paintable.java
+++ b/client/src/main/java/com/vaadin/client/Paintable.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -20,7 +20,7 @@ package com.vaadin.client;
* An interface used by client-side widgets or paintable parts to receive
* updates from the corresponding server-side components in the form of
* {@link UIDL}.
- *
+ *
* Updates can be sent back to the server using the
* {@link ApplicationConnection#updateVariable()} methods.
*/
diff --git a/client/src/main/java/com/vaadin/client/Profiler.java b/client/src/main/java/com/vaadin/client/Profiler.java
index 3d48d1c616..b5123bbaa7 100644
--- a/client/src/main/java/com/vaadin/client/Profiler.java
+++ b/client/src/main/java/com/vaadin/client/Profiler.java
@@ -69,7 +69,7 @@ public class Profiler {
* Interface for getting data from the {@link Profiler}.
*
* Warning! This interface is most likely to change in the future
- *
+ *
* @since 7.1
* @author Vaadin Ltd
*/
@@ -98,7 +98,7 @@ public class Profiler {
/**
* Create a new node with the given name.
- *
+ *
* @param name
*/
public Node(String name) {
@@ -107,7 +107,7 @@ public class Profiler {
/**
* Gets the name of the node
- *
+ *
* @return the name of the node
*/
public String getName() {
@@ -117,7 +117,7 @@ public class Profiler {
/**
* Creates a new child node or retrieves and existing child and updates
* its total time and hit count.
- *
+ *
* @param name
* the name of the child
* @param timestamp
@@ -138,7 +138,7 @@ public class Profiler {
/**
* Gets the total time spent in this node, including time spent in sub
* nodes
- *
+ *
* @return the total time spent, in milliseconds
*/
public double getTimeSpent() {
@@ -148,7 +148,7 @@ public class Profiler {
/**
* Gets the minimum time spent for one invocation of this node,
* including time spent in sub nodes
- *
+ *
* @return the time spent for the fastest invocation, in milliseconds
*/
public double getMinTimeSpent() {
@@ -158,7 +158,7 @@ public class Profiler {
/**
* Gets the maximum time spent for one invocation of this node,
* including time spent in sub nodes
- *
+ *
* @return the time spent for the slowest invocation, in milliseconds
*/
public double getMaxTimeSpent() {
@@ -167,7 +167,7 @@ public class Profiler {
/**
* Gets the number of times this node has been entered
- *
+ *
* @return the number of times the node has been entered
*/
public int getCount() {
@@ -177,7 +177,7 @@ public class Profiler {
/**
* Gets the total time spent in this node, excluding time spent in sub
* nodes
- *
+ *
* @return the total time spent, in milliseconds
*/
public double getOwnTime() {
@@ -190,7 +190,7 @@ public class Profiler {
/**
* Gets the child nodes of this node
- *
+ *
* @return a collection of child nodes
*/
public Collection getChildren() {
@@ -389,7 +389,7 @@ public class Profiler {
* Returns time relative to the particular page load time. The value should
* not be used directly but rather difference between two values returned by
* this method should be used to compare measurements.
- *
+ *
* @since 7.6
*/
public static double getRelativeTimeMillis() {
diff --git a/client/src/main/java/com/vaadin/client/RenderInformation.java b/client/src/main/java/com/vaadin/client/RenderInformation.java
index 8fd3fc7e0b..dbc08dc8d2 100644
--- a/client/src/main/java/com/vaadin/client/RenderInformation.java
+++ b/client/src/main/java/com/vaadin/client/RenderInformation.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -20,9 +20,9 @@ import com.google.gwt.user.client.DOM;
/**
* Contains size information about a rendered container and its content area.
- *
+ *
* @author Artur Signell
- *
+ *
*/
public class RenderInformation {
@@ -48,9 +48,9 @@ public class RenderInformation {
/**
* Update the size of the widget.
- *
+ *
* @param widget
- *
+ *
* @return true if the size has changed since last update
* @deprecated As of 7.2, call and override {@link #updateSize(Element)}
* instead
@@ -69,11 +69,11 @@ public class RenderInformation {
/**
* Update the size of the widget.
- *
+ *
* @param widget
- *
+ *
* @return true if the size has changed since last update
- *
+ *
* @since 7.2
*/
public boolean updateSize(Element element) {
diff --git a/client/src/main/java/com/vaadin/client/RenderSpace.java b/client/src/main/java/com/vaadin/client/RenderSpace.java
index dff774aa6f..cceb9102ab 100644
--- a/client/src/main/java/com/vaadin/client/RenderSpace.java
+++ b/client/src/main/java/com/vaadin/client/RenderSpace.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
diff --git a/client/src/main/java/com/vaadin/client/ResourceLoader.java b/client/src/main/java/com/vaadin/client/ResourceLoader.java
index b7c845c292..6bf0e7a4e8 100644
--- a/client/src/main/java/com/vaadin/client/ResourceLoader.java
+++ b/client/src/main/java/com/vaadin/client/ResourceLoader.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -37,11 +37,11 @@ import com.google.gwt.user.client.Timer;
/**
* ResourceLoader lets you dynamically include external scripts and styles on
* the page and lets you know when the resource has been loaded.
- *
+ *
* You can also preload resources, allowing them to get cached by the browser
* without being evaluated. This enables downloading multiple resources at once
* while still controlling in which order e.g. scripts are executed.
- *
+ *
* @author Vaadin Ltd
* @since 7.0.0
*/
@@ -56,7 +56,7 @@ public class ResourceLoader {
/**
* Creates a new event.
- *
+ *
* @param loader
* the resource loader that has loaded the resource
* @param resourceUrl
@@ -74,7 +74,7 @@ public class ResourceLoader {
/**
* Gets the resource loader that has fired this event
- *
+ *
* @return the resource loader
*/
public ResourceLoader getResourceLoader() {
@@ -83,7 +83,7 @@ public class ResourceLoader {
/**
* Gets the absolute url of the loaded resource.
- *
+ *
* @return the absolute url of the loaded resource
*/
public String getResourceUrl() {
@@ -93,9 +93,9 @@ public class ResourceLoader {
/**
* Returns true if the resource has been preloaded, false if it's fully
* loaded
- *
+ *
* @see ResourceLoader#preloadResource(String, ResourceLoadListener)
- *
+ *
* @return true if the resource has been preloaded, false if it's fully
* loaded
*/
@@ -112,9 +112,9 @@ public class ResourceLoader {
* Notifies this ResourceLoadListener that a resource has been loaded.
* Some browsers do not support any way of detecting load errors. In
* these cases, onLoad will be called regardless of the status.
- *
+ *
* @see ResourceLoadEvent
- *
+ *
* @param event
* a resource load event with information about the loaded
* resource
@@ -127,9 +127,9 @@ public class ResourceLoader {
* server did not respond. Some browsers do not support any way of
* detecting load errors. In these cases, onLoad will be called
* regardless of the status.
- *
+ *
* @see ResourceLoadEvent
- *
+ *
* @param event
* a resource load event with information about the resource
* that could not be loaded.
@@ -183,7 +183,7 @@ public class ResourceLoader {
/**
* Returns the default ResourceLoader
- *
+ *
* @return the default ResourceLoader
*/
public static ResourceLoader get() {
@@ -195,8 +195,8 @@ public class ResourceLoader {
* this method when the script is currently loading or already loaded
* doesn't cause the script to be loaded again, but the listener will still
* be notified when appropriate.
- *
- *
+ *
+ *
* @param scriptUrl
* the url of the script to load
* @param resourceLoadListener
@@ -213,8 +213,8 @@ public class ResourceLoader {
* this method when the script is currently loading or already loaded
* doesn't cause the script to be loaded again, but the listener will still
* be notified when appropriate.
- *
- *
+ *
+ *
* @param scriptUrl
* url of script to load
* @param resourceLoadListener
@@ -278,7 +278,7 @@ public class ResourceLoader {
/**
* The current browser supports script.async='false' for maintaining
* execution order for dynamically-added scripts.
- *
+ *
* @return Browser supports script.async='false'
* @since 7.2.4
*/
@@ -292,12 +292,12 @@ public class ResourceLoader {
* preloaded, it will be present in the browser's cache (provided the HTTP
* headers allow caching), making a subsequent load operation complete
* without having to wait for the resource to be downloaded again.
- *
+ *
* Calling this method when the resource is currently loading, currently
* preloading, already preloaded or already loaded doesn't cause the
* resource to be preloaded again, but the listener will still be notified
* when appropriate.
- *
+ *
* @param url
* the url of the resource to preload
* @param resourceLoadListener
@@ -378,7 +378,7 @@ public class ResourceLoader {
* Adds an onload listener to the given element, which should be a link or a
* script tag. The listener is called whenever loading is complete or an
* error occurred.
- *
+ *
* @since 7.3
* @param element
* the element to attach a listener to
@@ -414,7 +414,7 @@ public class ResourceLoader {
* Calling this method when the stylesheet is currently loading or already
* loaded doesn't cause the stylesheet to be loaded again, but the listener
* will still be notified when appropriate.
- *
+ *
* @param stylesheetUrl
* the url of the stylesheet to load
* @param resourceLoadListener
@@ -533,12 +533,12 @@ public class ResourceLoader {
if (rules === undefined) {
rules = sheet.rules;
}
-
+
if (rules === null) {
// Style sheet loaded, but can't access length because of XSS -> assume there's something there
return 1;
}
-
+
// Return length so we can distinguish 0 (probably 404 error) from normal case.
return rules.length;
} catch (err) {
diff --git a/client/src/main/java/com/vaadin/client/ServerConnector.java b/client/src/main/java/com/vaadin/client/ServerConnector.java
index 795474bfcd..29994961d5 100644
--- a/client/src/main/java/com/vaadin/client/ServerConnector.java
+++ b/client/src/main/java/com/vaadin/client/ServerConnector.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -29,7 +29,7 @@ import com.vaadin.shared.communication.SharedState;
* Interface implemented by all client side classes that can be communicate with
* the server. Classes implementing this interface are initialized by the
* framework when needed and have the ability to communicate with the server.
- *
+ *
* @author Vaadin Ltd
* @since 7.0.0
*/
@@ -37,7 +37,7 @@ public interface ServerConnector extends Connector {
/**
* Gets ApplicationConnection instance that created this connector.
- *
+ *
* @return The ApplicationConnection as set by
* {@link #doInit(String, ApplicationConnection)}
*/
@@ -47,13 +47,13 @@ public interface ServerConnector extends Connector {
* Tests whether the connector is enabled or not. This method checks that
* the connector is enabled in context, i.e. if the parent connector is
* disabled, this method must return false.
- *
+ *
* @return true if the connector is enabled, false otherwise
*/
public boolean isEnabled();
/**
- *
+ *
* Called once by the framework to initialize the connector.
*
* Note that the shared state is not yet available at this point nor any
@@ -64,9 +64,9 @@ public interface ServerConnector extends Connector {
/**
* For internal use by the framework: returns the registered RPC
* implementations for an RPC interface identifier.
- *
+ *
* TODO interface identifier type or format may change
- *
+ *
* @param rpcInterfaceId
* RPC interface identifier: fully qualified interface type name
* @return RPC interface implementations registered for an RPC interface,
@@ -78,7 +78,7 @@ public interface ServerConnector extends Connector {
/**
* Adds a handler that is called whenever any part of the state has been
* updated by the server.
- *
+ *
* @param handler
* The handler that should be added.
* @return A handler registration reference that can be used to unregister
@@ -90,7 +90,7 @@ public interface ServerConnector extends Connector {
/**
* Removes a handler that is called whenever any part of the state has been
* updated by the server.
- *
+ *
* @param handler
* The handler that should be removed.
*/
@@ -99,7 +99,7 @@ public interface ServerConnector extends Connector {
/**
* Adds a handler that is called whenever the given part of the state has
* been updated by the server.
- *
+ *
* @param propertyName
* the name of the property for which the handler should be
* called
@@ -114,7 +114,7 @@ public interface ServerConnector extends Connector {
/**
* Removes a handler that is called whenever any part of the state has been
* updated by the server.
- *
+ *
* @param propertyName
* the name of the property for which the handler should be
* called
@@ -126,7 +126,7 @@ public interface ServerConnector extends Connector {
/**
* Sends the given event to all registered handlers.
- *
+ *
* @param event
* The event to send.
*/
@@ -140,7 +140,7 @@ public interface ServerConnector extends Connector {
/**
* Returns the parent of this connector. Can be null for only the root
* connector.
- *
+ *
* @return The parent of this connector, as set by
* {@link #setParent(ServerConnector)}.
*/
@@ -155,7 +155,7 @@ public interface ServerConnector extends Connector {
* Note that calling this method does not fire a
* {@link ConnectorHierarchyChangeEvent}. The event is fired only when the
* whole hierarchy has been updated.
- *
+ *
* @param parent
* The new parent of the connector
*/
@@ -172,7 +172,7 @@ public interface ServerConnector extends Connector {
* {@link HasComponentsConnector#setChildComponents(List)} and takes both
* extensions and child components. Both methods are called separately by
* the framework if the connector can have child components.
- *
+ *
* @param children
* The new child connectors (extensions and/or components)
*/
@@ -185,7 +185,7 @@ public interface ServerConnector extends Connector {
* Note that the method {@link HasComponentsConnector#getChildComponents()}
* can be used to obtain the subset of child connectors that correspond to
* components and not extensions.
- *
+ *
* @return A collection of child connectors (components or extensions) for
* this connector. An empty collection if there are no children.
* Never returns null.
@@ -194,12 +194,12 @@ public interface ServerConnector extends Connector {
/**
* Gets the current shared state of the connector.
- *
+ *
* Note that state is considered an internal part of the connector. You
* should not rely on the state object outside of the connector who owns it.
* If you depend on the state of other connectors you should use their
* public API instead of their state object directly.
- *
+ *
* @since 7.0.
* @return state The shared state object. Can be any sub type of
* {@link SharedState}. Never null.
@@ -209,7 +209,7 @@ public interface ServerConnector extends Connector {
/**
* Checks if an event listener has been registered on the server side for
* the given event identifier.
- *
+ *
* @param eventIdentifier
* The identifier for the event
* @return true if a listener has been registered on the server side, false
diff --git a/client/src/main/java/com/vaadin/client/SimpleTree.java b/client/src/main/java/com/vaadin/client/SimpleTree.java
index cd7d73683c..76d8cc6cdb 100644
--- a/client/src/main/java/com/vaadin/client/SimpleTree.java
+++ b/client/src/main/java/com/vaadin/client/SimpleTree.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -38,7 +38,7 @@ import com.google.gwt.user.client.ui.Widget;
/**
* @author Vaadin Ltd
- *
+ *
* @deprecated as of 7.1. This class was mainly used by the old debug console
* but is retained for now for backwards compatibility.
*/
@@ -147,7 +147,7 @@ public class SimpleTree extends ComplexPanel implements HasDoubleClickHandlers {
/**
* {@inheritDoc}
- *
+ *
* @deprecated As of 7.2, call and override {@link #add(Widget, Element)}
* instead.
*/
@@ -162,7 +162,7 @@ public class SimpleTree extends ComplexPanel implements HasDoubleClickHandlers {
/**
* {@inheritDoc}
- *
+ *
* @since 7.2
*/
@Override
diff --git a/client/src/main/java/com/vaadin/client/StyleConstants.java b/client/src/main/java/com/vaadin/client/StyleConstants.java
index fad88f1359..fe04fc7c46 100644
--- a/client/src/main/java/com/vaadin/client/StyleConstants.java
+++ b/client/src/main/java/com/vaadin/client/StyleConstants.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
diff --git a/client/src/main/java/com/vaadin/client/SuperDevMode.java b/client/src/main/java/com/vaadin/client/SuperDevMode.java
index cc7e107555..e6f9295c3c 100644
--- a/client/src/main/java/com/vaadin/client/SuperDevMode.java
+++ b/client/src/main/java/com/vaadin/client/SuperDevMode.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -30,10 +30,10 @@ import com.vaadin.client.ui.VNotification.HideEvent;
/**
* Class that enables SuperDevMode using a ?superdevmode parameter in the url.
- *
+ *
* @author Vaadin Ltd
* @since 7.0
- *
+ *
*/
public class SuperDevMode {
@@ -125,13 +125,13 @@ public class SuperDevMode {
private native static String getRecompileParameters(String moduleName)
/*-{
var prop_map = $wnd.__gwt_activeModules[moduleName].bindings();
-
+
// convert map to URL parameter string
var props = [];
for (var key in prop_map) {
props.push(encodeURIComponent(key) + '=' + encodeURIComponent(prop_map[key]))
}
-
+
return props.join('&') + '&';
}-*/;
@@ -177,7 +177,7 @@ public class SuperDevMode {
/**
* The URL of the code server. The default URL (http://localhost:9876/) will
* be used if this is empty or null.
- *
+ *
* @param serverUrl
* The url of the code server or null to use the default
* @return true if recompile started, false if we are running in
@@ -225,12 +225,12 @@ public class SuperDevMode {
var mod = $wnd.__gwt_activeModules[moduleName];
if (!mod)
return false;
-
+
if (mod.superdevmode) {
// Running in super dev mode already, it is supported
return true;
}
-
+
return !!mod.canRedirect;
}-*/;
@@ -241,7 +241,7 @@ public class SuperDevMode {
* method returns true. The application will be restarted once compilation
* is done and then this method will return false.
*
- *
+ *
* @return true if a recompile operation has started and the page will be
* reloaded once it is done, false if no recompilation will be done.
*/
diff --git a/client/src/main/java/com/vaadin/client/TooltipInfo.java b/client/src/main/java/com/vaadin/client/TooltipInfo.java
index 970f155af5..6e3e063be2 100644
--- a/client/src/main/java/com/vaadin/client/TooltipInfo.java
+++ b/client/src/main/java/com/vaadin/client/TooltipInfo.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -71,7 +71,7 @@ public class TooltipInfo {
/**
* Checks is a message has been defined for the tooltip.
- *
+ *
* @return true if title or error message is present, false if both are
* empty
*/
diff --git a/client/src/main/java/com/vaadin/client/UIDL.java b/client/src/main/java/com/vaadin/client/UIDL.java
index 1b9ee9ffce..4b1bd3c401 100644
--- a/client/src/main/java/com/vaadin/client/UIDL.java
+++ b/client/src/main/java/com/vaadin/client/UIDL.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -52,7 +52,7 @@ public final class UIDL extends JavaScriptObject {
* Shorthand for getting the attribute named "id", which for Paintables is
* the essential paintableId which binds the server side component to the
* client side widget.
- *
+ *
* @return the value of the id attribute, if available
*/
public String getId() {
@@ -69,7 +69,7 @@ public final class UIDL extends JavaScriptObject {
* internally and is not needed within
* {@link ComponentConnector#updateFromUIDL(UIDL, ApplicationConnection)
* updateFromUIDL()}.
- *
+ *
* @return the name for this section
*/
public native String getTag()
@@ -94,7 +94,7 @@ public final class UIDL extends JavaScriptObject {
/**
* Gets the named attribute as a String.
- *
+ *
* @param name
* the name of the attribute to get
* @return the attribute value
@@ -105,7 +105,7 @@ public final class UIDL extends JavaScriptObject {
/**
* Gets the names of the attributes available.
- *
+ *
* @return the names of available attributes
*/
public Set getAttributeNames() {
@@ -116,7 +116,7 @@ public final class UIDL extends JavaScriptObject {
/**
* Gets the names of variables available.
- *
+ *
* @return the names of available variables
*/
public Set getVariableNames() {
@@ -130,7 +130,7 @@ public final class UIDL extends JavaScriptObject {
/**
* Gets the named attribute as an int.
- *
+ *
* @param name
* the name of the attribute to get
* @return the attribute value
@@ -141,7 +141,7 @@ public final class UIDL extends JavaScriptObject {
/**
* Gets the named attribute as a long.
- *
+ *
* @param name
* the name of the attribute to get
* @return the attribute value
@@ -152,7 +152,7 @@ public final class UIDL extends JavaScriptObject {
/**
* Gets the named attribute as a float.
- *
+ *
* @param name
* the name of the attribute to get
* @return the attribute value
@@ -163,7 +163,7 @@ public final class UIDL extends JavaScriptObject {
/**
* Gets the named attribute as a double.
- *
+ *
* @param name
* the name of the attribute to get
* @return the attribute value
@@ -174,7 +174,7 @@ public final class UIDL extends JavaScriptObject {
/**
* Gets the named attribute as a boolean.
- *
+ *
* @param name
* the name of the attribute to get
* @return the attribute value
@@ -185,7 +185,7 @@ public final class UIDL extends JavaScriptObject {
/**
* Gets the named attribute as a Map of named values (key/value pairs).
- *
+ *
* @param name
* the name of the attribute to get
* @return the attribute Map
@@ -196,7 +196,7 @@ public final class UIDL extends JavaScriptObject {
/**
* Gets the named attribute as an array of Strings.
- *
+ *
* @param name
* the name of the attribute to get
* @return the attribute value
@@ -207,7 +207,7 @@ public final class UIDL extends JavaScriptObject {
/**
* Gets the named attribute as an int array.
- *
+ *
* @param name
* the name of the attribute to get
* @return the attribute value
@@ -218,7 +218,7 @@ public final class UIDL extends JavaScriptObject {
/**
* Get attributes value as string whatever the type is
- *
+ *
* @param name
* @return string presentation of attribute
*/
@@ -234,7 +234,7 @@ public final class UIDL extends JavaScriptObject {
/**
* Indicates whether or not the named attribute is available.
- *
+ *
* @param name
* the name of the attribute to check
* @return true if the attribute is available, false otherwise
@@ -245,7 +245,7 @@ public final class UIDL extends JavaScriptObject {
/**
* Gets the UIDL for the child at the given index.
- *
+ *
* @param i
* the index of the child to get
* @return the UIDL of the child if it exists
@@ -257,7 +257,7 @@ public final class UIDL extends JavaScriptObject {
/**
* Gets the child at the given index as a String.
- *
+ *
* @param i
* the index of the child to get
* @return the String representation of the child if it exists
@@ -286,7 +286,7 @@ public final class UIDL extends JavaScriptObject {
* if getTag() returns "color", one would update the widgets
* color to reflect the value of the "color" section.
*
- *
+ *
* @return an iterator for iterating over UIDL children
*/
public Iterator