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 --- .../java/com/vaadin/annotations/AutoGenerated.java | 10 +- .../java/com/vaadin/annotations/DesignRoot.java | 8 +- .../java/com/vaadin/annotations/JavaScript.java | 10 +- .../com/vaadin/annotations/PreserveOnRefresh.java | 8 +- .../src/main/java/com/vaadin/annotations/Push.java | 14 +- .../java/com/vaadin/annotations/StyleSheet.java | 10 +- .../main/java/com/vaadin/annotations/Theme.java | 6 +- .../main/java/com/vaadin/annotations/Title.java | 8 +- .../main/java/com/vaadin/annotations/Viewport.java | 12 +- .../vaadin/annotations/ViewportGeneratorClass.java | 14 +- .../java/com/vaadin/annotations/Widgetset.java | 6 +- server/src/main/java/com/vaadin/data/Binder.java | 8 +- server/src/main/java/com/vaadin/data/Buffered.java | 34 +- .../java/com/vaadin/data/BufferedValidatable.java | 8 +- .../src/main/java/com/vaadin/data/Collapsible.java | 16 +- .../src/main/java/com/vaadin/data/Container.java | 198 +++--- .../java/com/vaadin/data/ContainerHelpers.java | 10 +- server/src/main/java/com/vaadin/data/HasValue.java | 22 +- server/src/main/java/com/vaadin/data/Item.java | 32 +- server/src/main/java/com/vaadin/data/Property.java | 78 +-- .../java/com/vaadin/data/StatusChangeHandler.java | 4 +- .../main/java/com/vaadin/data/ValidationError.java | 8 +- .../java/com/vaadin/data/ValidationStatus.java | 4 +- .../vaadin/data/ValidationStatusChangeEvent.java | 10 +- .../src/main/java/com/vaadin/data/Validator.java | 26 +- .../com/vaadin/data/fieldgroup/BeanFieldGroup.java | 16 +- .../java/com/vaadin/data/fieldgroup/Caption.java | 6 +- .../fieldgroup/DefaultFieldGroupFieldFactory.java | 16 +- .../data/fieldgroup/FieldGroupFieldFactory.java | 10 +- .../com/vaadin/data/fieldgroup/PropertyId.java | 12 +- .../src/main/java/com/vaadin/data/sort/Sort.java | 16 +- .../main/java/com/vaadin/data/sort/SortOrder.java | 8 +- .../vaadin/data/util/AbstractBeanContainer.java | 134 ++-- .../com/vaadin/data/util/AbstractContainer.java | 32 +- .../data/util/AbstractInMemoryContainer.java | 138 ++-- .../java/com/vaadin/data/util/BeanContainer.java | 36 +- .../main/java/com/vaadin/data/util/BeanItem.java | 42 +- .../com/vaadin/data/util/BeanItemContainer.java | 56 +- .../main/java/com/vaadin/data/util/BeanUtil.java | 20 +- .../data/util/ContainerHierarchicalWrapper.java | 36 +- .../vaadin/data/util/ContainerOrderedWrapper.java | 36 +- .../com/vaadin/data/util/DefaultItemSorter.java | 20 +- .../com/vaadin/data/util/FilesystemContainer.java | 82 +-- .../data/util/GeneratedPropertyContainer.java | 26 +- .../vaadin/data/util/HierarchicalContainer.java | 46 +- .../util/HierarchicalContainerOrderedWrapper.java | 8 +- .../main/java/com/vaadin/data/util/ItemSorter.java | 10 +- .../main/java/com/vaadin/data/util/ListSet.java | 12 +- .../java/com/vaadin/data/util/MethodProperty.java | 64 +- .../vaadin/data/util/MethodPropertyDescriptor.java | 12 +- .../com/vaadin/data/util/NestedMethodProperty.java | 30 +- .../vaadin/data/util/NestedPropertyDescriptor.java | 14 +- .../java/com/vaadin/data/util/ObjectProperty.java | 26 +- .../com/vaadin/data/util/PropertyFormatter.java | 40 +- .../vaadin/data/util/PropertyValueGenerator.java | 18 +- .../java/com/vaadin/data/util/PropertysetItem.java | 34 +- .../com/vaadin/data/util/TextFileProperty.java | 28 +- .../data/util/TransactionalPropertyWrapper.java | 18 +- .../vaadin/data/util/VaadinPropertyDescriptor.java | 18 +- .../data/util/filter/AbstractJunctionFilter.java | 14 +- .../main/java/com/vaadin/data/util/filter/And.java | 16 +- .../java/com/vaadin/data/util/filter/Between.java | 6 +- .../java/com/vaadin/data/util/filter/Compare.java | 68 +- .../java/com/vaadin/data/util/filter/IsNull.java | 16 +- .../java/com/vaadin/data/util/filter/Like.java | 6 +- .../main/java/com/vaadin/data/util/filter/Not.java | 16 +- .../main/java/com/vaadin/data/util/filter/Or.java | 18 +- .../data/util/filter/SimpleStringFilter.java | 28 +- .../util/filter/UnsupportedFilterException.java | 10 +- .../data/util/sqlcontainer/CacheFlushNotifier.java | 10 +- .../vaadin/data/util/sqlcontainer/CacheMap.java | 6 +- .../util/sqlcontainer/OptimisticLockException.java | 12 +- .../data/util/sqlcontainer/ReadOnlyRowId.java | 6 +- .../vaadin/data/util/sqlcontainer/Reference.java | 6 +- .../com/vaadin/data/util/sqlcontainer/RowId.java | 8 +- .../com/vaadin/data/util/sqlcontainer/RowItem.java | 8 +- .../data/util/sqlcontainer/SQLContainer.java | 124 ++-- .../com/vaadin/data/util/sqlcontainer/SQLUtil.java | 12 +- .../data/util/sqlcontainer/TemporaryRowId.java | 6 +- .../connection/J2EEConnectionPool.java | 6 +- .../connection/JDBCConnectionPool.java | 14 +- .../connection/SimpleJDBCConnectionPool.java | 6 +- .../query/AbstractTransactionalQuery.java | 26 +- .../util/sqlcontainer/query/FreeformQuery.java | 30 +- .../sqlcontainer/query/FreeformQueryDelegate.java | 20 +- .../query/FreeformStatementDelegate.java | 12 +- .../data/util/sqlcontainer/query/OrderBy.java | 8 +- .../util/sqlcontainer/query/QueryDelegate.java | 44 +- .../data/util/sqlcontainer/query/TableQuery.java | 64 +- .../query/generator/DefaultSQLGenerator.java | 28 +- .../query/generator/MSSQLGenerator.java | 10 +- .../query/generator/OracleGenerator.java | 10 +- .../sqlcontainer/query/generator/SQLGenerator.java | 16 +- .../query/generator/StatementHelper.java | 44 +- .../query/generator/filter/AndTranslator.java | 6 +- .../query/generator/filter/BetweenTranslator.java | 6 +- .../query/generator/filter/CompareTranslator.java | 6 +- .../query/generator/filter/FilterTranslator.java | 6 +- .../query/generator/filter/IsNullTranslator.java | 6 +- .../query/generator/filter/LikeTranslator.java | 6 +- .../query/generator/filter/NotTranslator.java | 6 +- .../query/generator/filter/OrTranslator.java | 6 +- .../query/generator/filter/QueryBuilder.java | 10 +- .../generator/filter/SimpleStringTranslator.java | 6 +- .../query/generator/filter/StringDecorator.java | 16 +- .../vaadin/data/validator/AbstractValidator.java | 16 +- .../com/vaadin/data/validator/BeanValidator.java | 26 +- .../data/validator/BigDecimalRangeValidator.java | 14 +- .../data/validator/BigIntegerRangeValidator.java | 14 +- .../vaadin/data/validator/ByteRangeValidator.java | 14 +- .../vaadin/data/validator/DateRangeValidator.java | 12 +- .../data/validator/DoubleRangeValidator.java | 14 +- .../com/vaadin/data/validator/EmailValidator.java | 10 +- .../vaadin/data/validator/FloatRangeValidator.java | 14 +- .../data/validator/IntegerRangeValidator.java | 14 +- .../vaadin/data/validator/LongRangeValidator.java | 14 +- .../vaadin/data/validator/NotEmptyValidator.java | 4 +- .../vaadin/data/validator/NotNullValidator.java | 10 +- .../com/vaadin/data/validator/RangeValidator.java | 30 +- .../com/vaadin/data/validator/RegexpValidator.java | 18 +- .../vaadin/data/validator/ShortRangeValidator.java | 14 +- .../data/validator/StringLengthValidator.java | 18 +- server/src/main/java/com/vaadin/event/Action.java | 36 +- .../main/java/com/vaadin/event/ActionManager.java | 12 +- .../com/vaadin/event/ConnectorActionManager.java | 14 +- .../main/java/com/vaadin/event/ConnectorEvent.java | 12 +- .../com/vaadin/event/ConnectorEventListener.java | 6 +- .../java/com/vaadin/event/ContextClickEvent.java | 14 +- .../com/vaadin/event/DataBoundTransferable.java | 22 +- .../main/java/com/vaadin/event/EventRouter.java | 16 +- .../main/java/com/vaadin/event/ItemClickEvent.java | 24 +- .../main/java/com/vaadin/event/LayoutEvents.java | 26 +- .../main/java/com/vaadin/event/ListenerMethod.java | 48 +- .../java/com/vaadin/event/MethodEventSource.java | 34 +- .../main/java/com/vaadin/event/MouseEvents.java | 44 +- .../main/java/com/vaadin/event/Registration.java | 8 +- .../main/java/com/vaadin/event/SelectionEvent.java | 20 +- .../main/java/com/vaadin/event/ShortcutAction.java | 26 +- .../java/com/vaadin/event/ShortcutListener.java | 6 +- .../src/main/java/com/vaadin/event/SortEvent.java | 22 +- .../main/java/com/vaadin/event/Transferable.java | 12 +- .../java/com/vaadin/event/TransferableImpl.java | 8 +- .../src/main/java/com/vaadin/event/UIEvents.java | 22 +- .../java/com/vaadin/event/dd/DragAndDropEvent.java | 10 +- .../main/java/com/vaadin/event/dd/DragSource.java | 14 +- .../main/java/com/vaadin/event/dd/DropHandler.java | 14 +- .../main/java/com/vaadin/event/dd/DropTarget.java | 12 +- .../java/com/vaadin/event/dd/TargetDetails.java | 12 +- .../com/vaadin/event/dd/TargetDetailsImpl.java | 10 +- .../vaadin/event/dd/acceptcriteria/AcceptAll.java | 14 +- .../event/dd/acceptcriteria/AcceptCriterion.java | 24 +- .../com/vaadin/event/dd/acceptcriteria/And.java | 16 +- .../dd/acceptcriteria/ClientSideCriterion.java | 14 +- .../dd/acceptcriteria/ContainsDataFlavor.java | 12 +- .../com/vaadin/event/dd/acceptcriteria/Not.java | 12 +- .../com/vaadin/event/dd/acceptcriteria/Or.java | 14 +- .../dd/acceptcriteria/ServerSideCriterion.java | 10 +- .../vaadin/event/dd/acceptcriteria/SourceIs.java | 10 +- .../event/dd/acceptcriteria/SourceIsTarget.java | 14 +- .../event/dd/acceptcriteria/TargetDetailIs.java | 16 +- .../java/com/vaadin/legacy/data/Validatable.java | 24 +- .../java/com/vaadin/legacy/data/Validator.java | 28 +- .../LegacyAbstractStringToNumberConverter.java | 16 +- .../data/util/converter/LegacyConverter.java | 28 +- .../util/converter/LegacyConverterFactory.java | 10 +- .../data/util/converter/LegacyConverterUtil.java | 22 +- .../util/converter/LegacyDateToLongConverter.java | 16 +- .../converter/LegacyDateToSqlDateConverter.java | 10 +- .../converter/LegacyDefaultConverterFactory.java | 8 +- .../util/converter/LegacyReverseConverter.java | 20 +- .../LegacyStringToBigDecimalConverter.java | 8 +- .../LegacyStringToBigIntegerConverter.java | 8 +- .../converter/LegacyStringToBooleanConverter.java | 6 +- .../converter/LegacyStringToByteConverter.java | 14 +- .../LegacyStringToCollectionConverter.java | 24 +- .../converter/LegacyStringToDateConverter.java | 18 +- .../converter/LegacyStringToDoubleConverter.java | 12 +- .../converter/LegacyStringToEnumConverter.java | 12 +- .../converter/LegacyStringToFloatConverter.java | 12 +- .../converter/LegacyStringToIntegerConverter.java | 14 +- .../converter/LegacyStringToLongConverter.java | 14 +- .../converter/LegacyStringToShortConverter.java | 14 +- .../validator/LegacyAbstractStringValidator.java | 12 +- .../data/validator/LegacyAbstractValidator.java | 22 +- .../legacy/data/validator/LegacyBeanValidator.java | 30 +- .../validator/LegacyBigDecimalRangeValidator.java | 14 +- .../validator/LegacyBigIntegerRangeValidator.java | 14 +- .../data/validator/LegacyByteRangeValidator.java | 14 +- .../data/validator/LegacyCompositeValidator.java | 32 +- .../data/validator/LegacyDateRangeValidator.java | 12 +- .../data/validator/LegacyDoubleRangeValidator.java | 14 +- .../data/validator/LegacyDoubleValidator.java | 10 +- .../data/validator/LegacyEmailValidator.java | 14 +- .../data/validator/LegacyFloatRangeValidator.java | 14 +- .../validator/LegacyIntegerRangeValidator.java | 14 +- .../data/validator/LegacyIntegerValidator.java | 10 +- .../data/validator/LegacyLongRangeValidator.java | 14 +- .../legacy/data/validator/LegacyNullValidator.java | 18 +- .../data/validator/LegacyRangeValidator.java | 32 +- .../data/validator/LegacyRegexpValidator.java | 18 +- .../data/validator/LegacyShortRangeValidator.java | 14 +- .../validator/LegacyStringLengthValidator.java | 24 +- .../vaadin/legacy/ui/LegacyAbstractTextField.java | 86 +-- .../vaadin/legacy/ui/LegacyInlineDateField.java | 10 +- .../com/vaadin/legacy/ui/LegacyPopupDateField.java | 26 +- .../java/com/vaadin/legacy/ui/LegacyTextField.java | 24 +- .../vaadin/navigator/NavigationStateManager.java | 12 +- .../main/java/com/vaadin/navigator/Navigator.java | 98 +-- .../src/main/java/com/vaadin/navigator/View.java | 16 +- .../com/vaadin/navigator/ViewChangeListener.java | 26 +- .../java/com/vaadin/navigator/ViewDisplay.java | 14 +- .../java/com/vaadin/navigator/ViewProvider.java | 16 +- .../com/vaadin/server/AbstractClientConnector.java | 118 ++-- .../server/AbstractDeploymentConfiguration.java | 10 +- .../com/vaadin/server/AbstractErrorMessage.java | 12 +- .../java/com/vaadin/server/AbstractExtension.java | 18 +- .../vaadin/server/AbstractJavaScriptExtension.java | 20 +- .../vaadin/server/BootstrapFragmentResponse.java | 14 +- .../java/com/vaadin/server/BootstrapListener.java | 12 +- .../com/vaadin/server/BootstrapPageResponse.java | 22 +- .../java/com/vaadin/server/BootstrapResponse.java | 20 +- .../com/vaadin/server/BrowserWindowOpener.java | 64 +- .../main/java/com/vaadin/server/ClassResource.java | 36 +- .../java/com/vaadin/server/ClientConnector.java | 64 +- .../com/vaadin/server/ClientMethodInvocation.java | 8 +- .../com/vaadin/server/CompositeErrorMessage.java | 18 +- .../java/com/vaadin/server/ConnectorResource.java | 14 +- .../vaadin/server/ConnectorResourceHandler.java | 6 +- .../vaadin/server/CustomizedSystemMessages.java | 46 +- .../com/vaadin/server/DefaultErrorHandler.java | 12 +- .../server/DefaultSystemMessagesProvider.java | 10 +- .../java/com/vaadin/server/DefaultUIProvider.java | 6 +- .../java/com/vaadin/server/DownloadStream.java | 50 +- .../java/com/vaadin/server/DragAndDropService.java | 14 +- .../main/java/com/vaadin/server/EncodeResult.java | 6 +- .../main/java/com/vaadin/server/ErrorEvent.java | 16 +- .../main/java/com/vaadin/server/ErrorHandler.java | 8 +- .../com/vaadin/server/ErrorHandlingRunnable.java | 10 +- .../main/java/com/vaadin/server/ErrorMessage.java | 20 +- .../src/main/java/com/vaadin/server/Extension.java | 12 +- .../java/com/vaadin/server/ExternalResource.java | 20 +- .../java/com/vaadin/server/FileDownloader.java | 20 +- .../main/java/com/vaadin/server/FileResource.java | 24 +- .../main/java/com/vaadin/server/FontAwesome.java | 14 +- .../src/main/java/com/vaadin/server/FontIcon.java | 16 +- .../java/com/vaadin/server/GAEVaadinServlet.java | 28 +- .../java/com/vaadin/server/GenericFontIcon.java | 24 +- .../com/vaadin/server/GlobalResourceHandler.java | 14 +- .../vaadin/server/JavaScriptCallbackHelper.java | 8 +- .../src/main/java/com/vaadin/server/JsonCodec.java | 4 +- .../java/com/vaadin/server/JsonPaintTarget.java | 70 +-- .../src/main/java/com/vaadin/server/KeyMapper.java | 18 +- .../java/com/vaadin/server/LegacyApplication.java | 38 +- .../vaadin/server/LegacyApplicationUIProvider.java | 12 +- .../vaadin/server/LegacyCommunicationManager.java | 38 +- .../main/java/com/vaadin/server/LegacyPaint.java | 16 +- .../com/vaadin/server/LegacyVaadinPortlet.java | 6 +- .../com/vaadin/server/LegacyVaadinServlet.java | 6 +- .../main/java/com/vaadin/server/LocaleService.java | 22 +- .../com/vaadin/server/NoInputStreamException.java | 6 +- .../com/vaadin/server/NoOutputStreamException.java | 6 +- server/src/main/java/com/vaadin/server/Page.java | 122 ++-- .../java/com/vaadin/server/PaintException.java | 14 +- .../main/java/com/vaadin/server/PaintTarget.java | 108 ++-- .../java/com/vaadin/server/RequestHandler.java | 8 +- .../src/main/java/com/vaadin/server/Resource.java | 10 +- .../java/com/vaadin/server/ResourceReference.java | 6 +- .../main/java/com/vaadin/server/Responsive.java | 34 +- .../vaadin/server/RestrictedRenderResponse.java | 8 +- .../main/java/com/vaadin/server/Scrollable.java | 26 +- .../java/com/vaadin/server/ServerRpcManager.java | 24 +- .../vaadin/server/ServerRpcMethodInvocation.java | 10 +- .../com/vaadin/server/ServiceDestroyEvent.java | 12 +- .../com/vaadin/server/ServiceDestroyListener.java | 12 +- .../java/com/vaadin/server/ServiceException.java | 6 +- .../com/vaadin/server/ServletPortletHelper.java | 8 +- .../com/vaadin/server/SessionDestroyEvent.java | 16 +- .../com/vaadin/server/SessionDestroyListener.java | 12 +- .../com/vaadin/server/SessionExpiredException.java | 6 +- .../com/vaadin/server/SessionExpiredHandler.java | 10 +- .../java/com/vaadin/server/SessionInitEvent.java | 18 +- .../com/vaadin/server/SessionInitListener.java | 12 +- .../main/java/com/vaadin/server/SizeWithUnit.java | 18 +- .../src/main/java/com/vaadin/server/Sizeable.java | 40 +- .../java/com/vaadin/server/StreamResource.java | 36 +- .../java/com/vaadin/server/StreamVariable.java | 14 +- .../vaadin/server/SynchronizedRequestHandler.java | 14 +- .../main/java/com/vaadin/server/SystemError.java | 18 +- .../com/vaadin/server/SystemMessageException.java | 12 +- .../java/com/vaadin/server/SystemMessages.java | 16 +- .../java/com/vaadin/server/SystemMessagesInfo.java | 12 +- .../com/vaadin/server/SystemMessagesProvider.java | 10 +- .../main/java/com/vaadin/server/ThemeResource.java | 14 +- .../com/vaadin/server/UIClassSelectionEvent.java | 10 +- .../main/java/com/vaadin/server/UICreateEvent.java | 16 +- .../java/com/vaadin/server/UIProviderEvent.java | 16 +- .../vaadin/server/UnsupportedBrowserHandler.java | 10 +- .../java/com/vaadin/server/UploadException.java | 6 +- .../src/main/java/com/vaadin/server/UserError.java | 12 +- .../main/java/com/vaadin/server/VaadinPortlet.java | 34 +- .../com/vaadin/server/VaadinPortletRequest.java | 24 +- .../com/vaadin/server/VaadinPortletResponse.java | 14 +- .../com/vaadin/server/VaadinPortletService.java | 26 +- .../com/vaadin/server/VaadinPortletSession.java | 58 +- .../main/java/com/vaadin/server/VaadinRequest.java | 140 ++--- .../java/com/vaadin/server/VaadinResponse.java | 46 +- .../main/java/com/vaadin/server/VaadinService.java | 24 +- .../server/VaadinServiceClassLoaderUtil.java | 10 +- .../main/java/com/vaadin/server/VaadinServlet.java | 92 +-- .../com/vaadin/server/VaadinServletRequest.java | 14 +- .../com/vaadin/server/VaadinServletResponse.java | 14 +- .../com/vaadin/server/VaadinServletService.java | 10 +- .../main/java/com/vaadin/server/VaadinSession.java | 4 +- .../main/java/com/vaadin/server/VariableOwner.java | 16 +- .../java/com/vaadin/server/ViewportGenerator.java | 14 +- .../main/java/com/vaadin/server/WebBrowser.java | 76 +-- .../java/com/vaadin/server/WrappedHttpSession.java | 12 +- .../com/vaadin/server/WrappedPortletSession.java | 30 +- .../java/com/vaadin/server/WrappedSession.java | 48 +- .../communication/AbstractStreamingEvent.java | 6 +- .../communication/AtmospherePushConnection.java | 22 +- .../server/communication/ClientRpcWriter.java | 12 +- .../communication/ConnectorHierarchyWriter.java | 10 +- .../server/communication/ConnectorTypeWriter.java | 10 +- .../server/communication/DateSerializer.java | 8 +- .../server/communication/FileUploadHandler.java | 28 +- .../server/communication/HeartbeatHandler.java | 10 +- .../server/communication/JSONSerializer.java | 10 +- .../communication/JSR356WebsocketInitializer.java | 14 +- .../server/communication/MetadataWriter.java | 12 +- .../communication/PortletBootstrapHandler.java | 6 +- .../communication/PortletDummyRequestHandler.java | 8 +- .../communication/PortletListenerNotifier.java | 8 +- .../PortletStateAwareRequestHandler.java | 10 +- .../server/communication/PortletUIInitHandler.java | 8 +- .../server/communication/PublishedFileHandler.java | 8 +- .../communication/PushAtmosphereHandler.java | 6 +- .../server/communication/PushConnection.java | 8 +- .../vaadin/server/communication/PushHandler.java | 22 +- .../server/communication/ResourceWriter.java | 10 +- .../communication/ServletBootstrapHandler.java | 6 +- .../server/communication/ServletUIInitHandler.java | 6 +- .../communication/SessionRequestHandler.java | 10 +- .../server/communication/SharedStateWriter.java | 10 +- .../communication/StreamingEndEventImpl.java | 6 +- .../communication/StreamingErrorEventImpl.java | 6 +- .../communication/StreamingProgressEventImpl.java | 6 +- .../communication/StreamingStartEventImpl.java | 6 +- .../vaadin/server/communication/UIInitHandler.java | 22 +- .../server/communication/UidlRequestHandler.java | 18 +- .../vaadin/server/communication/UidlWriter.java | 16 +- .../server/communication/data/DataGenerator.java | 12 +- .../data/RpcDataProviderExtension.java | 40 +- .../com/vaadin/server/data/BackEndDataSource.java | 6 +- .../java/com/vaadin/server/data/DataSource.java | 6 +- .../com/vaadin/server/data/ListDataSource.java | 6 +- .../main/java/com/vaadin/server/data/Query.java | 20 +- .../java/com/vaadin/server/data/SortOrder.java | 6 +- .../themeutils/SASSAddonImportFileCreator.java | 14 +- .../server/widgetsetutils/ClassPathExplorer.java | 52 +- .../server/widgetsetutils/WidgetSetBuilder.java | 10 +- .../main/java/com/vaadin/ui/AbsoluteLayout.java | 84 +-- .../java/com/vaadin/ui/AbstractColorPicker.java | 60 +- .../main/java/com/vaadin/ui/AbstractComponent.java | 130 ++-- .../com/vaadin/ui/AbstractComponentContainer.java | 20 +- .../main/java/com/vaadin/ui/AbstractEmbedded.java | 16 +- .../com/vaadin/ui/AbstractJavaScriptComponent.java | 14 +- .../main/java/com/vaadin/ui/AbstractLayout.java | 18 +- .../src/main/java/com/vaadin/ui/AbstractMedia.java | 24 +- .../java/com/vaadin/ui/AbstractOrderedLayout.java | 56 +- .../main/java/com/vaadin/ui/AbstractSelect.java | 226 +++---- .../ui/AbstractSingleComponentContainer.java | 32 +- .../java/com/vaadin/ui/AbstractSplitPanel.java | 78 +-- .../main/java/com/vaadin/ui/AbstractTextField.java | 44 +- server/src/main/java/com/vaadin/ui/Accordion.java | 16 +- server/src/main/java/com/vaadin/ui/Alignment.java | 24 +- server/src/main/java/com/vaadin/ui/Audio.java | 12 +- .../src/main/java/com/vaadin/ui/BrowserFrame.java | 12 +- server/src/main/java/com/vaadin/ui/Button.java | 86 +-- server/src/main/java/com/vaadin/ui/Calendar.java | 176 +++--- .../src/main/java/com/vaadin/ui/ColorPicker.java | 16 +- .../main/java/com/vaadin/ui/ColorPickerArea.java | 16 +- server/src/main/java/com/vaadin/ui/Component.java | 304 ++++----- .../java/com/vaadin/ui/ComponentContainer.java | 26 +- server/src/main/java/com/vaadin/ui/CssLayout.java | 42 +- .../main/java/com/vaadin/ui/CustomComponent.java | 28 +- .../src/main/java/com/vaadin/ui/CustomField.java | 26 +- .../src/main/java/com/vaadin/ui/CustomLayout.java | 36 +- server/src/main/java/com/vaadin/ui/DateField.java | 84 +-- .../java/com/vaadin/ui/DragAndDropWrapper.java | 24 +- server/src/main/java/com/vaadin/ui/Embedded.java | 68 +- server/src/main/java/com/vaadin/ui/Flash.java | 36 +- server/src/main/java/com/vaadin/ui/FormLayout.java | 16 +- server/src/main/java/com/vaadin/ui/Grid.java | 700 ++++++++++----------- server/src/main/java/com/vaadin/ui/GridLayout.java | 158 ++--- .../com/vaadin/ui/HasChildMeasurementHint.java | 12 +- .../src/main/java/com/vaadin/ui/HasComponents.java | 34 +- .../main/java/com/vaadin/ui/HorizontalLayout.java | 14 +- .../java/com/vaadin/ui/HorizontalSplitPanel.java | 16 +- server/src/main/java/com/vaadin/ui/Html5File.java | 8 +- server/src/main/java/com/vaadin/ui/Image.java | 18 +- .../main/java/com/vaadin/ui/InlineDateField.java | 12 +- server/src/main/java/com/vaadin/ui/JavaScript.java | 28 +- .../java/com/vaadin/ui/JavaScriptFunction.java | 12 +- server/src/main/java/com/vaadin/ui/Layout.java | 38 +- .../main/java/com/vaadin/ui/LegacyComponent.java | 16 +- .../src/main/java/com/vaadin/ui/LegacyWindow.java | 62 +- server/src/main/java/com/vaadin/ui/Link.java | 36 +- server/src/main/java/com/vaadin/ui/ListSelect.java | 8 +- .../vaadin/ui/LoadingIndicatorConfiguration.java | 32 +- server/src/main/java/com/vaadin/ui/LoginForm.java | 36 +- server/src/main/java/com/vaadin/ui/MenuBar.java | 102 +-- .../src/main/java/com/vaadin/ui/NativeButton.java | 6 +- .../src/main/java/com/vaadin/ui/Notification.java | 76 +-- .../com/vaadin/ui/NotificationConfiguration.java | 8 +- server/src/main/java/com/vaadin/ui/Panel.java | 38 +- .../src/main/java/com/vaadin/ui/PasswordField.java | 18 +- .../main/java/com/vaadin/ui/PopupDateField.java | 28 +- server/src/main/java/com/vaadin/ui/PopupView.java | 60 +- .../src/main/java/com/vaadin/ui/ProgressBar.java | 22 +- .../main/java/com/vaadin/ui/ProgressIndicator.java | 16 +- .../main/java/com/vaadin/ui/PushConfiguration.java | 48 +- .../vaadin/ui/ReconnectDialogConfiguration.java | 30 +- .../src/main/java/com/vaadin/ui/RichTextArea.java | 44 +- server/src/main/java/com/vaadin/ui/Select.java | 10 +- .../main/java/com/vaadin/ui/SelectiveRenderer.java | 12 +- .../com/vaadin/ui/SingleComponentContainer.java | 20 +- server/src/main/java/com/vaadin/ui/Table.java | 454 ++++++------- .../main/java/com/vaadin/ui/TableFieldFactory.java | 12 +- server/src/main/java/com/vaadin/ui/TextArea.java | 26 +- server/src/main/java/com/vaadin/ui/TextField.java | 12 +- .../java/com/vaadin/ui/TooltipConfiguration.java | 48 +- server/src/main/java/com/vaadin/ui/Tree.java | 172 ++--- server/src/main/java/com/vaadin/ui/TreeTable.java | 40 +- .../src/main/java/com/vaadin/ui/TwinColSelect.java | 20 +- server/src/main/java/com/vaadin/ui/UI.java | 212 +++---- .../java/com/vaadin/ui/UIDetachedException.java | 8 +- .../java/com/vaadin/ui/UniqueSerializable.java | 10 +- .../main/java/com/vaadin/ui/VerticalLayout.java | 14 +- .../java/com/vaadin/ui/VerticalSplitPanel.java | 12 +- server/src/main/java/com/vaadin/ui/Video.java | 14 +- .../calendar/CalendarComponentEvent.java | 16 +- .../calendar/CalendarComponentEvents.java | 82 +-- .../ui/components/calendar/CalendarDateRange.java | 20 +- .../components/calendar/CalendarTargetDetails.java | 10 +- .../calendar/ContainerEventProvider.java | 44 +- .../ui/components/calendar/event/BasicEvent.java | 40 +- .../calendar/event/BasicEventProvider.java | 24 +- .../event/CalendarEditableEventProvider.java | 12 +- .../components/calendar/event/CalendarEvent.java | 30 +- .../calendar/event/CalendarEventProvider.java | 18 +- .../calendar/event/EditableCalendarEvent.java | 24 +- .../calendar/handler/BasicBackwardHandler.java | 12 +- .../calendar/handler/BasicDateClickHandler.java | 12 +- .../calendar/handler/BasicEventMoveHandler.java | 12 +- .../calendar/handler/BasicEventResizeHandler.java | 12 +- .../calendar/handler/BasicForwardHandler.java | 12 +- .../calendar/handler/BasicWeekClickHandler.java | 12 +- .../components/colorpicker/ColorChangeEvent.java | 8 +- .../colorpicker/ColorChangeListener.java | 12 +- .../colorpicker/ColorPickerGradient.java | 14 +- .../ui/components/colorpicker/ColorPickerGrid.java | 24 +- .../components/colorpicker/ColorPickerHistory.java | 18 +- .../components/colorpicker/ColorPickerPreview.java | 8 +- .../components/colorpicker/ColorPickerSelect.java | 20 +- .../ui/components/colorpicker/ColorSelector.java | 12 +- .../colorpicker/HasColorChangeListener.java | 10 +- .../java/com/vaadin/ui/declarative/Design.java | 82 +-- .../ui/declarative/DesignAttributeHandler.java | 42 +- .../com/vaadin/ui/declarative/DesignContext.java | 110 ++-- .../com/vaadin/ui/declarative/DesignException.java | 8 +- .../com/vaadin/ui/declarative/DesignFormatter.java | 36 +- .../com/vaadin/ui/declarative/FieldBinder.java | 24 +- .../ui/declarative/FieldBindingException.java | 8 +- .../ui/declarative/ShouldWriteDataDelegate.java | 12 +- .../converters/DesignDateConverter.java | 8 +- .../converters/DesignEnumConverter.java | 8 +- .../converters/DesignObjectConverter.java | 8 +- .../converters/DesignResourceConverter.java | 8 +- .../converters/DesignShortcutActionConverter.java | 8 +- .../converters/DesignTimeZoneConverter.java | 8 +- .../converters/DesignToStringConverter.java | 12 +- .../declarative/converters/ShortcutKeyMapper.java | 12 +- .../ui/renderers/AbstractJavaScriptRenderer.java | 16 +- .../com/vaadin/ui/renderers/ButtonRenderer.java | 10 +- .../com/vaadin/ui/renderers/ClickableRenderer.java | 24 +- .../java/com/vaadin/ui/renderers/DateRenderer.java | 16 +- .../java/com/vaadin/ui/renderers/HtmlRenderer.java | 6 +- .../com/vaadin/ui/renderers/ImageRenderer.java | 10 +- .../com/vaadin/ui/renderers/NumberRenderer.java | 6 +- .../vaadin/ui/renderers/ProgressBarRenderer.java | 6 +- .../java/com/vaadin/ui/renderers/Renderer.java | 14 +- .../java/com/vaadin/ui/renderers/TextRenderer.java | 10 +- .../main/java/com/vaadin/ui/themes/BaseTheme.java | 10 +- .../java/com/vaadin/ui/themes/ChameleonTheme.java | 20 +- .../main/java/com/vaadin/ui/themes/Reindeer.java | 48 +- .../src/main/java/com/vaadin/ui/themes/Runo.java | 50 +- .../main/java/com/vaadin/ui/themes/ValoTheme.java | 160 ++--- .../main/java/com/vaadin/util/ConnectorHelper.java | 12 +- .../main/java/com/vaadin/util/CurrentInstance.java | 4 +- .../java/com/vaadin/util/FileTypeResolver.java | 24 +- .../main/java/com/vaadin/util/ReflectTools.java | 16 +- .../java/com/vaadin/util/SerializerHelper.java | 18 +- server/src/test/java/ClassInDefaultPackage.java | 10 +- .../vaadin/benchmarks/PerformanceTester8759.java | 10 +- .../data/DefaultFieldGroupFieldFactoryTest.java | 6 +- .../vaadin/data/fieldgroup/FieldGroupDateTest.java | 6 +- .../data/fieldgroup/FieldGroupExceptionTest.java | 6 +- .../data/util/AbstractBeanContainerTestBase.java | 2 +- .../vaadin/data/util/BeanItemContainerTest.java | 2 +- .../java/com/vaadin/data/util/BeanItemTest.java | 4 +- .../vaadin/data/util/ContainerSizeAssertTest.java | 6 +- .../data/util/GeneratedPropertyContainerTest.java | 6 +- .../util/MethodPropertyMemoryConsumptionTest.java | 8 +- .../util/TransactionalPropertyWrapperTest.java | 10 +- .../vaadin/data/util/filter/LikeFilterTest.java | 6 +- .../util/sqlcontainer/filters/CompareTest.java | 6 +- .../generator/StatementHelperTest.java | 8 +- .../query/ValidatingSimpleJDBCConnectionPool.java | 8 +- .../AbstractClientConnectorProxyHandlingTest.java | 8 +- .../vaadin/server/AbstractClientConnectorTest.java | 8 +- .../com/vaadin/server/BrowserWindowOpenerTest.java | 8 +- .../server/ConnectorResourceHandlerTest.java | 6 +- .../server/DefaultDeploymentConfigurationTest.java | 8 +- .../com/vaadin/server/DragAndDropServiceTest.java | 8 +- .../java/com/vaadin/server/JSONSerializerTest.java | 10 +- .../java/com/vaadin/server/JsonEqualsTest.java | 6 +- .../java/com/vaadin/server/MockVaadinSession.java | 8 +- .../src/test/java/com/vaadin/server/PageTest.java | 10 +- ...tractApplicationServletStaticFilesLocation.java | 2 +- .../java/com/vaadin/server/UIProviderTest.java | 8 +- .../com/vaadin/server/VaadinGateInRequestTest.java | 6 +- .../VaadinHttpAndPortletRequestTestBase.java | 6 +- .../vaadin/server/VaadinLiferayRequestTest.java | 6 +- .../vaadin/server/VaadinPortletServiceTest.java | 6 +- .../java/com/vaadin/server/VaadinPortletTest.java | 6 +- .../java/com/vaadin/server/VaadinServiceTest.java | 8 +- .../java/com/vaadin/server/VaadinServletTest.java | 6 +- .../java/com/vaadin/server/VaadinSessionTest.java | 6 +- .../server/VaadinWebSpherePortalRequestTest.java | 6 +- .../AtmospherePushConnectionTest.java | 6 +- .../communication/FileUploadHandlerTest.java | 6 +- .../server/communication/MetadataWriterTest.java | 6 +- .../data/datasource/bov/DataSourceBoVTest.java | 6 +- .../vaadin/server/data/datasource/bov/Person.java | 6 +- .../server/data/datasource/bov/PersonService.java | 6 +- .../tests/CompileTransitionPropertyTest.java | 6 +- .../DragAndDropWrapperDeclarativeTest.java | 6 +- .../components/menubar/MenuBarDeclarativeTest.java | 8 +- .../converter/AnyEnumToStringConverterTest.java | 6 +- .../tests/data/converter/ConverterFactoryTest.java | 6 +- .../converter/DefaultConverterFactoryTest.java | 6 +- .../SpecificEnumToStringConverterTest.java | 6 +- .../converter/StringToBigDecimalConverterTest.java | 6 +- .../converter/StringToBigIntegerConverterTest.java | 6 +- .../converter/StringToCollectionConverterTest.java | 8 +- .../design/AbstractComponentSetResponsiveTest.java | 6 +- .../vaadin/tests/design/ComponentFactoryTest.java | 6 +- .../vaadin/tests/design/ComponentMapperTest.java | 6 +- .../vaadin/tests/design/DeclarativeTestBase.java | 6 +- .../tests/design/DeclarativeTestBaseBase.java | 6 +- .../tests/design/DesignContextLocalIdTest.java | 8 +- .../vaadin/tests/design/DesignFormatterTest.java | 10 +- .../tests/design/DesignReadInConstructor.java | 6 +- .../tests/design/DesignReadInConstructorTest.java | 6 +- .../java/com/vaadin/tests/design/DesignTest.java | 6 +- .../com/vaadin/tests/design/EmbeddedsTest.java | 8 +- .../FieldNameWhichConflictsWithGettersTest.java | 6 +- .../vaadin/tests/design/InvalidLayoutTemplate.java | 8 +- .../vaadin/tests/design/InvalidTagNamesTest.java | 6 +- .../com/vaadin/tests/design/LayoutTemplate.java | 8 +- .../java/com/vaadin/tests/design/LocaleTest.java | 8 +- .../design/ParseAllSupportedComponentsTest.java | 8 +- .../com/vaadin/tests/design/ParseLayoutTest.java | 8 +- .../vaadin/tests/design/ParseLegacyPrefixTest.java | 6 +- .../design/ParseMixedLegacyAndNewPrefixTest.java | 6 +- .../vaadin/tests/design/WriteLegacyDesignTest.java | 6 +- .../tests/design/designroot/DesignRootTest.java | 6 +- .../design/designroot/DesignWithAnnotation.java | 6 +- .../designroot/DesignWithEmptyAnnotation.java | 6 +- .../designroot/ExtendedDesignWithAnnotation.java | 6 +- .../ExtendedDesignWithEmptyAnnotation.java | 6 +- .../ExtendedDesignWithEmptyAnnotationUI.java | 6 +- .../vaadin/tests/design/nested/MyChildDesign.java | 8 +- .../nested/MyChildDesignCustomComponent.java | 6 +- .../vaadin/tests/design/nested/MyDesignRoot.java | 8 +- .../tests/design/nested/MyExtendedChildDesign.java | 6 +- .../design/nested/NestedCustomLayoutsTest.java | 8 +- .../design/nested/ReadNestedTemplatesTest.java | 8 +- .../design/nested/WriteNestedTemplatesTest.java | 10 +- .../nested/customlayouts/CustomAbsoluteLayout.java | 6 +- .../nested/customlayouts/CustomAccordion.java | 6 +- .../nested/customlayouts/CustomCssLayout.java | 6 +- .../nested/customlayouts/CustomFormLayout.java | 6 +- .../nested/customlayouts/CustomGridLayout.java | 6 +- .../customlayouts/CustomHorizontalLayout.java | 6 +- .../customlayouts/CustomHorizontalSplitPanel.java | 6 +- .../design/nested/customlayouts/CustomPanel.java | 6 +- .../nested/customlayouts/CustomTabSheet.java | 6 +- .../nested/customlayouts/CustomVerticalLayout.java | 6 +- .../customlayouts/CustomVerticalSplitPanel.java | 6 +- .../com/vaadin/tests/event/EventRouterTest.java | 6 +- .../com/vaadin/tests/event/ShortcutActionTest.java | 12 +- .../vaadin/tests/server/AssertionsEnabledTest.java | 6 +- .../tests/server/ClassesSerializableTest.java | 14 +- .../server/ClientMethodSerializationTest.java | 6 +- .../tests/server/ContextClickListenerTest.java | 10 +- .../vaadin/tests/server/CsrfTokenMissingTest.java | 4 +- .../com/vaadin/tests/server/ExtensionTest.java | 6 +- .../com/vaadin/tests/server/FileResourceTest.java | 6 +- .../vaadin/tests/server/PropertyFormatterTest.java | 2 +- .../server/SimpleMultiPartInputStreamTest.java | 4 +- .../vaadin/tests/server/StreamResourceTest.java | 8 +- .../server/component/ComponentSizeParseTest.java | 6 +- .../component/DeclarativeMarginTestBase.java | 6 +- .../server/component/FieldDefaultValuesTest.java | 6 +- .../server/component/ReadEmptyDesignTest.java | 6 +- .../server/component/WriteEmptyDesignTest.java | 6 +- .../AbsoluteLayoutDeclarativeTest.java | 8 +- .../absolutelayout/AddComponentsTest.java | 8 +- .../AddParentAsChildTest.java | 8 +- .../AbstractFieldDeclarativeTest.java | 8 +- .../AbstractOrderedLayoutDeclarativeTest.java | 8 +- .../LayoutSettingsOnReplaceTest.java | 8 +- .../AbstractSelectDeclarativeTest.java | 8 +- .../abstractselect/AbstractSelectStateTest.java | 8 +- .../abstractselect/OptionGroupDeclarativeTest.java | 6 +- .../RemoveFromParentLockingTest.java | 6 +- .../SetParentAsContentTest.java | 10 +- .../AbstractSplitPanelDeclarativeTest.java | 8 +- .../AbstractTextFieldDeclarativeTest.java | 8 +- .../component/audio/AudioDeclarativeTest.java | 8 +- .../server/component/audio/AudioStateTest.java | 8 +- .../component/audio/VideoDeclarativeTest.java | 6 +- .../browserframe/BrowserFrameDeclarativeTest.java | 8 +- .../component/button/ButtonDeclarativeTest.java | 8 +- .../component/calendar/CalendarBasicsTest.java | 6 +- .../calendar/CalendarDeclarativeTest.java | 6 +- .../calendar/ContainerDataSourceTest.java | 6 +- .../calendar/ContainerEventProviderTest.java | 8 +- .../checkbox/CheckboxDeclarativeTest.java | 8 +- .../AbstractColorPickerDeclarativeTest.java | 6 +- .../colorpicker/ColorConversionsTest.java | 6 +- .../combobox/ComboBoxDeclarativeTest.java | 6 +- .../component/combobox/ComboBoxStateTest.java | 8 +- .../csslayout/CssLayoutDeclarativeTest.java | 8 +- .../customlayout/CustomLayoutDeclarativeTest.java | 8 +- .../component/customlayout/CustomLayoutTest.java | 10 +- .../datefield/DateFieldConverterTest.java | 6 +- .../datefield/DateFieldDeclarativeTest.java | 6 +- .../datefield/InlineDateFieldDeclarativeTest.java | 8 +- .../datefield/LegacyDateFieldDeclarativeTest.java | 6 +- .../LegacyPopupDateFieldDeclarativeTest.java | 8 +- .../datefield/PopupDateFieldDeclarativeTest.java | 8 +- .../component/fieldgroup/FieldGroupTest.java | 10 +- .../component/flash/FlashDeclarativeTest.java | 8 +- .../grid/GridAddRowBuiltinContainerTest.java | 6 +- .../server/component/grid/GridChildrenTest.java | 6 +- .../grid/GridColumnAddingAndRemovingTest.java | 6 +- .../server/component/grid/GridColumnsTest.java | 6 +- .../grid/GridContainerNotSortableTest.java | 6 +- .../server/component/grid/GridContainerTest.java | 6 +- .../server/component/grid/GridEditorTest.java | 6 +- .../server/component/grid/GridExtensionTest.java | 6 +- .../server/component/grid/GridSelectionTest.java | 6 +- .../tests/server/component/grid/GridStateTest.java | 8 +- .../component/grid/GridStaticSectionTest.java | 6 +- .../component/grid/MultiSelectionModelTest.java | 6 +- .../component/grid/SingleSelectionModelTest.java | 6 +- .../tests/server/component/grid/TestGrid.java | 8 +- .../declarative/GridColumnDeclarativeTest.java | 6 +- .../declarative/GridDeclarativeAttributeTest.java | 8 +- .../grid/declarative/GridDeclarativeTestBase.java | 6 +- .../GridHeaderFooterDeclarativeTest.java | 6 +- .../declarative/GridInlineDataDeclarativeTest.java | 6 +- .../declarative/GridStructureDeclarativeTest.java | 6 +- .../tests/server/component/grid/sort/SortTest.java | 6 +- .../gridlayout/GridLayoutDeclarativeTest.java | 6 +- .../component/image/ImageDeclarativeTest.java | 8 +- .../component/label/LabelConvertersTest.java | 6 +- .../component/label/LabelDeclarativeTest.java | 8 +- .../server/component/link/LinkDeclarativeTest.java | 8 +- .../listselect/ListSelectDeclarativeTest.java | 6 +- .../component/listselect/ListSelectStateTest.java | 8 +- .../nativeselect/NativeSelectDeclarativeTest.java | 8 +- .../optiongroup/OptionGroupStateTest.java | 8 +- .../component/panel/PanelDeclarativeTest.java | 8 +- .../PasswordFieldDeclarativeTest.java | 8 +- .../popupview/PopupViewDeclarativeTest.java | 6 +- .../progressbar/ProgressBarDeclarativeTest.java | 8 +- .../richtextarea/RichTextAreaDeclarativeTest.java | 6 +- .../richtextarea/RichTextAreaStateTest.java | 8 +- .../component/slider/SliderDeclarativeTest.java | 8 +- .../table/CacheUpdateExceptionCausesTest.java | 6 +- .../tests/server/component/table/FooterTest.java | 4 +- .../component/table/MultipleSelectionTest.java | 2 +- .../component/table/TableContextClickTest.java | 6 +- .../component/table/TableDeclarativeTest.java | 8 +- .../component/table/TableDeclarativeTestBase.java | 6 +- .../table/TablePropertyValueConverterTest.java | 6 +- .../component/table/TableSelectableTest.java | 8 +- .../server/component/table/TableStateTest.java | 8 +- .../tabsheet/TabSheetDeclarativeTest.java | 8 +- .../textarea/TextAreaDeclarativeTest.java | 8 +- .../textfield/TextFieldDeclarativeTest.java | 8 +- .../tests/server/component/tree/ListenersTest.java | 2 +- .../server/component/tree/TreeDeclarativeTest.java | 8 +- .../treetable/TreeTableDeclarativeTest.java | 8 +- .../server/component/treetable/TreeTableTest.java | 8 +- .../TwinColSelectDeclarativeTest.java | 8 +- .../twincolselect/TwinColSelectStateTest.java | 8 +- .../component/ui/CustomUIClassLoaderTest.java | 4 +- .../component/upload/UploadDeclarativeTest.java | 8 +- .../tests/server/component/upload/UploadTest.java | 8 +- .../component/window/AttachDetachWindowTest.java | 2 +- .../component/window/WindowDeclarativeTest.java | 8 +- .../tests/server/component/window/WindowTest.java | 6 +- .../AbstractFieldValueChangeTestBase.java | 10 +- .../server/components/ComboBoxValueChangeTest.java | 2 +- .../components/TextFieldValueChangeTest.java | 8 +- .../navigator/ClassBasedViewProviderTest.java | 6 +- .../tests/server/navigator/NavigatorTest.java | 6 +- .../server/navigator/UriFragmentManagerTest.java | 6 +- .../tests/server/renderer/ImageRendererTest.java | 6 +- .../vaadin/tests/server/renderer/RendererTest.java | 6 +- .../test/java/com/vaadin/tests/util/MockUI.java | 6 +- .../vaadin/tests/util/UniqueSerializableTest.java | 6 +- .../src/test/java/com/vaadin/ui/AbsSelectTest.java | 6 +- .../com/vaadin/ui/GridLayoutExpandRatioTest.java | 6 +- .../com/vaadin/ui/HorizontalSplitPanelTest.java | 6 +- .../test/java/com/vaadin/ui/NativeSelectTest.java | 6 +- .../vaadin/ui/PushConfigurationTransportTest.java | 6 +- .../test/java/com/vaadin/ui/RichTextAreaTest.java | 6 +- .../vaadin/ui/SplitPositionChangeListenerTest.java | 8 +- server/src/test/java/com/vaadin/ui/TableTest.java | 6 +- .../src/test/java/com/vaadin/ui/TextAreaTest.java | 6 +- .../src/test/java/com/vaadin/ui/TextFieldTest.java | 6 +- .../test/java/com/vaadin/ui/UIInitRefreshTest.java | 6 +- .../java/com/vaadin/ui/UIThemeEscapingTest.java | 6 +- .../java/com/vaadin/ui/VerticalSplitPanelTest.java | 6 +- .../java/com/vaadin/util/CurrentInstanceTest.java | 6 +- 741 files changed, 7581 insertions(+), 7581 deletions(-) (limited to 'server/src') diff --git a/server/src/main/java/com/vaadin/annotations/AutoGenerated.java b/server/src/main/java/com/vaadin/annotations/AutoGenerated.java index 1ad9f67ad1..a20c9c99a7 100644 --- a/server/src/main/java/com/vaadin/annotations/AutoGenerated.java +++ b/server/src/main/java/com/vaadin/annotations/AutoGenerated.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 @@ -17,9 +17,9 @@ package com.vaadin.annotations; /** * Marker annotation for automatically generated code elements. - * + * * These elements may be modified or removed by code generation. - * + * * @author Vaadin Ltd. * @since 6.0 */ diff --git a/server/src/main/java/com/vaadin/annotations/DesignRoot.java b/server/src/main/java/com/vaadin/annotations/DesignRoot.java index a00a00dc0b..7a913be4fc 100644 --- a/server/src/main/java/com/vaadin/annotations/DesignRoot.java +++ b/server/src/main/java/com/vaadin/annotations/DesignRoot.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 @@ import com.vaadin.ui.declarative.Design; * the same package as the annotated class and by default the design filename is * derived from the class name. Using the {@link #value()} parameter you can * specify another design file name. - * + * * @since 7.4 * @author Vaadin Ltd */ diff --git a/server/src/main/java/com/vaadin/annotations/JavaScript.java b/server/src/main/java/com/vaadin/annotations/JavaScript.java index 445ef75ddf..e160357558 100644 --- a/server/src/main/java/com/vaadin/annotations/JavaScript.java +++ b/server/src/main/java/com/vaadin/annotations/JavaScript.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 @@ -49,7 +49,7 @@ import com.vaadin.server.ClientConnector; * http://host.com/file1.js as is and file2.js from /com/example/file2.js on the * server's classpath using the ClassLoader that was used to load * com.example.MyConnector. - * + * * @author Vaadin Ltd * @since 7.0.0 */ @@ -58,7 +58,7 @@ import com.vaadin.server.ClientConnector; public @interface JavaScript { /** * JavaScript files to load before initializing the client-side connector. - * + * * @return an array of JavaScript file urls */ public String[] value(); diff --git a/server/src/main/java/com/vaadin/annotations/PreserveOnRefresh.java b/server/src/main/java/com/vaadin/annotations/PreserveOnRefresh.java index 86723b97fc..11f3f51d70 100644 --- a/server/src/main/java/com/vaadin/annotations/PreserveOnRefresh.java +++ b/server/src/main/java/com/vaadin/annotations/PreserveOnRefresh.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 @@ -40,7 +40,7 @@ import com.vaadin.ui.UI; * {@link UIProvider#isPreservedOnRefresh(com.vaadin.server.UICreateEvent)}, the * decision can also be made dynamically based on other parameters than only * whether this annotation is present on the UI class. - * + * * @author Vaadin Ltd * @since 7.0.0 */ diff --git a/server/src/main/java/com/vaadin/annotations/Push.java b/server/src/main/java/com/vaadin/annotations/Push.java index 736bc4488b..f382ced9d2 100644 --- a/server/src/main/java/com/vaadin/annotations/Push.java +++ b/server/src/main/java/com/vaadin/annotations/Push.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,9 +31,9 @@ import com.vaadin.ui.UI; * class configures the UI for automatic push. If some other push mode is * desired, it can be passed as a parameter, e.g. * @Push(PushMode.MANUAL). - * + * * @see PushMode - * + * * @author Vaadin Ltd. * @since 7.1 */ @@ -44,7 +44,7 @@ public @interface Push { /** * Returns the {@link PushMode} to use for the annotated UI. The default * push mode when this annotation is present is {@link PushMode#AUTOMATIC}. - * + * * @return the push mode to use */ public PushMode value() default PushMode.AUTOMATIC; @@ -53,7 +53,7 @@ public @interface Push { * Returns the transport type used for the push for the annotated UI. The * default transport type when this annotation is present is * {@link Transport#WEBSOCKET}. - * + * * @return the transport type to use */ public Transport transport() default Transport.WEBSOCKET; diff --git a/server/src/main/java/com/vaadin/annotations/StyleSheet.java b/server/src/main/java/com/vaadin/annotations/StyleSheet.java index 191e39ee24..a84504accc 100644 --- a/server/src/main/java/com/vaadin/annotations/StyleSheet.java +++ b/server/src/main/java/com/vaadin/annotations/StyleSheet.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 @@ -54,7 +54,7 @@ import com.vaadin.server.ClientConnector; * http://host.com/file1.css as is and file2.css from /com/example/file2.css on * the server's classpath using the ClassLoader that was used to load * com.example.MyConnector. - * + * * @author Vaadin Ltd * @since 7.0.0 */ @@ -63,7 +63,7 @@ import com.vaadin.server.ClientConnector; public @interface StyleSheet { /** * Style sheets to load before initializing the client-side connector. - * + * * @return an array of style sheet urls */ public String[] value(); diff --git a/server/src/main/java/com/vaadin/annotations/Theme.java b/server/src/main/java/com/vaadin/annotations/Theme.java index 03fa1179bc..02b8ba4b40 100644 --- a/server/src/main/java/com/vaadin/annotations/Theme.java +++ b/server/src/main/java/com/vaadin/annotations/Theme.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/server/src/main/java/com/vaadin/annotations/Title.java b/server/src/main/java/com/vaadin/annotations/Title.java index 07eaf17e33..caf4cf2c5f 100644 --- a/server/src/main/java/com/vaadin/annotations/Title.java +++ b/server/src/main/java/com/vaadin/annotations/Title.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 @@ -33,7 +33,7 @@ import com.vaadin.ui.UI; public @interface Title { /** * Gets the HTML title that should be used if the UI is used on it's own. - * + * * @return a page title string */ public String value(); diff --git a/server/src/main/java/com/vaadin/annotations/Viewport.java b/server/src/main/java/com/vaadin/annotations/Viewport.java index c5b0abd56f..e1d47a0170 100644 --- a/server/src/main/java/com/vaadin/annotations/Viewport.java +++ b/server/src/main/java/com/vaadin/annotations/Viewport.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 @@ -28,9 +28,9 @@ import java.lang.annotation.Target; *

* If you want to dynamically provide different viewport values for different * browser, you should use {@link ViewportGeneratorClass} instead. - * + * * @since 7.4 - * + * * @author Vaadin Ltd */ @Target(ElementType.TYPE) @@ -40,7 +40,7 @@ import java.lang.annotation.Target; public @interface Viewport { /** * Gets the viewport tag content. - * + * * @return the viewport tag content */ public String value(); diff --git a/server/src/main/java/com/vaadin/annotations/ViewportGeneratorClass.java b/server/src/main/java/com/vaadin/annotations/ViewportGeneratorClass.java index aec7ac07e6..6a989af9ea 100644 --- a/server/src/main/java/com/vaadin/annotations/ViewportGeneratorClass.java +++ b/server/src/main/java/com/vaadin/annotations/ViewportGeneratorClass.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,11 +31,11 @@ import com.vaadin.server.ViewportGenerator; *

* If you want to use the same viewport values for all requests, you can use the * simpler {@link Viewport} annotation instead. - * + * * @see ViewportGenerator - * + * * @since 7.4 - * + * * @author Vaadin Ltd */ @Target(ElementType.TYPE) @@ -47,7 +47,7 @@ public @interface ViewportGeneratorClass { * Gets the viewport generator class to use. Please note that the class must * be public and have a default constructor. It must additionally be * declared as static if it's declared as an inner class. - * + * * @return the viewport generator class */ public Class value(); diff --git a/server/src/main/java/com/vaadin/annotations/Widgetset.java b/server/src/main/java/com/vaadin/annotations/Widgetset.java index 2dcf93af13..06e10f7f0f 100644 --- a/server/src/main/java/com/vaadin/annotations/Widgetset.java +++ b/server/src/main/java/com/vaadin/annotations/Widgetset.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/server/src/main/java/com/vaadin/data/Binder.java b/server/src/main/java/com/vaadin/data/Binder.java index daac947c07..6f8bad31fe 100644 --- a/server/src/main/java/com/vaadin/data/Binder.java +++ b/server/src/main/java/com/vaadin/data/Binder.java @@ -288,7 +288,7 @@ public class Binder implements Serializable { * {@link #withStatusChangeHandler(StatusChangeHandler)} method call or * {@link #withStatusChangeHandler(StatusChangeHandler)} after this * method call. - * + * * @see #withStatusChangeHandler(StatusChangeHandler) * @see AbstractComponent#setComponentError(ErrorMessage) * @param label @@ -327,7 +327,7 @@ public class Binder implements Serializable { * {@link #withConverter(Converter)}. Also it means that the shorthand * method {@link #withStatusLabel(Label)} also may not be called after * this method. - * + * * @see #withStatusLabel(Label) * @see AbstractComponent#setComponentError(ErrorMessage) * @param handler @@ -340,7 +340,7 @@ public class Binder implements Serializable { /** * Validates the field value and returns a {@code Result} instance * representing the outcome of the validation. - * + * * @see Binder#validate() * @see Validator#apply(Object) * @@ -815,7 +815,7 @@ public class Binder implements Serializable { /** * Default {@link StatusChangeHandler} functional method implementation. - * + * * @param event * the validation event */ diff --git a/server/src/main/java/com/vaadin/data/Buffered.java b/server/src/main/java/com/vaadin/data/Buffered.java index 1f8924062b..a7d9836558 100644 --- a/server/src/main/java/com/vaadin/data/Buffered.java +++ b/server/src/main/java/com/vaadin/data/Buffered.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,20 +24,20 @@ import com.vaadin.legacy.data.Validator.InvalidValueException; *

* Defines the interface to commit and discard changes to an object, supporting * buffering. - * + * *

* In buffered mode the initial value is read from the data source and * then buffered. Any subsequential writes or reads will be done on the buffered * value. Calling {@link #commit()} will write the buffered value to the data * source while calling {@link #discard()} while discard the buffered value and * re-read the value from the data source. - * + * *

* In non-buffered mode the value is always read directly from the data * source. Any write is done directly to the data source with no buffering in * between. Reads are also done directly from the data source. Calling * {@link #commit()} or {@link #discard()} in this mode is efficiently a no-op. - * + * * @author Vaadin Ltd. * @since 3.0 */ @@ -47,7 +47,7 @@ public interface Buffered extends Serializable { * Updates all changes since the previous commit to the data source. The * value stored in the object will always be updated into the data source * when commit is called. - * + * * @throws SourceException * if the operation fails because of an exception is thrown by * the data source. The cause is included in the exception. @@ -60,7 +60,7 @@ public interface Buffered extends Serializable { /** * Discards all changes since last commit. The object updates its value from * the data source. - * + * * @throws SourceException * if the operation fails because of an exception is thrown by * the data source. The cause is included in the exception. @@ -77,7 +77,7 @@ public interface Buffered extends Serializable { * When in non-buffered mode both read and write operations will be done * directly on the data source. In this mode the {@link #commit()} and * {@link #discard()} methods serve no purpose. - * + * * @param buffered * true if buffered mode should be turned on, false otherwise * @since 7.0 @@ -86,7 +86,7 @@ public interface Buffered extends Serializable { /** * Checks the buffered mode - * + * * @return true if buffered mode is on, false otherwise * @since 7.0 */ @@ -95,7 +95,7 @@ public interface Buffered extends Serializable { /** * Tests if the value stored in the object has been modified since it was * last updated from the data source. - * + * * @return true if the value in the object has been modified * since the last data source update, false if not. */ @@ -105,7 +105,7 @@ public interface Buffered extends Serializable { * An exception that signals that one or more exceptions occurred while a * buffered object tried to access its data source or if there is a problem * in processing a data source. - * + * * @author Vaadin Ltd. * @since 3.0 */ @@ -121,7 +121,7 @@ public interface Buffered extends Serializable { /** * Creates a source exception that does not include a cause. - * + * * @param source * the source object implementing the Buffered interface. */ @@ -131,7 +131,7 @@ public interface Buffered extends Serializable { /** * Creates a source exception from multiple causes. - * + * * @param source * the source object implementing the Buffered interface. * @param causes @@ -144,7 +144,7 @@ public interface Buffered extends Serializable { /** * Gets the cause of the exception. - * + * * @return The (first) cause for the exception, null if no cause. */ @Override @@ -157,7 +157,7 @@ public interface Buffered extends Serializable { /** * Gets all the causes for this exception. - * + * * @return throwables that caused this exception */ public final Throwable[] getCauses() { @@ -166,7 +166,7 @@ public interface Buffered extends Serializable { /** * Gets a source of the exception. - * + * * @return the Buffered object which generated this exception. */ public Buffered getSource() { diff --git a/server/src/main/java/com/vaadin/data/BufferedValidatable.java b/server/src/main/java/com/vaadin/data/BufferedValidatable.java index 4b5e131f34..f4fe3e9615 100644 --- a/server/src/main/java/com/vaadin/data/BufferedValidatable.java +++ b/server/src/main/java/com/vaadin/data/BufferedValidatable.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 @@ import com.vaadin.legacy.data.Validatable; * Buffered interfaces. The combination of the interfaces defines * if the invalid data is committed to datasource. *

- * + * * @author Vaadin Ltd. * @since 3.0 */ diff --git a/server/src/main/java/com/vaadin/data/Collapsible.java b/server/src/main/java/com/vaadin/data/Collapsible.java index 0ef290312d..a189c2ece8 100644 --- a/server/src/main/java/com/vaadin/data/Collapsible.java +++ b/server/src/main/java/com/vaadin/data/Collapsible.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 @@ -35,7 +35,7 @@ import com.vaadin.data.Container.Ordered; * {@linkContainer.Indexed}. From the accessors point of view, items in * collapsed subtrees don't exist. *

- * + * */ public interface Collapsible extends Hierarchical, Ordered { @@ -44,11 +44,11 @@ public interface Collapsible extends Hierarchical, Ordered { * Collapsing the {@link Item} indicated by itemId hides all * children, and their respective children, from the {@link Container}. *

- * + * *

* If called on a leaf {@link Item}, this method does nothing. *

- * + * * @param itemId * the identifier of the collapsed {@link Item} * @param collapsed @@ -63,12 +63,12 @@ public interface Collapsible extends Hierarchical, Ordered { * Checks whether the {@link Item}, identified by itemId is * collapsed or not. *

- * + * *

* If an {@link Item} is "collapsed" its children are not included in * methods used to list Items in this container. *

- * + * * @param itemId * The {@link Item}'s identifier that is to be checked. * @return true iff the {@link Item} identified by diff --git a/server/src/main/java/com/vaadin/data/Container.java b/server/src/main/java/com/vaadin/data/Container.java index 746139ecb5..6832a57b06 100644 --- a/server/src/main/java/com/vaadin/data/Container.java +++ b/server/src/main/java/com/vaadin/data/Container.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.data.util.filter.UnsupportedFilterException; * {@link Item}s, but it imposes certain constraints on its contents. These * constraints state the following: *

- * + * * - * + * *

* The Container can be visualized as a representation of a relational database * table. Each Item in the Container represents a row in the table, and all @@ -47,18 +47,18 @@ import com.vaadin.data.util.filter.UnsupportedFilterException; * that as with the cells in a database table, no Property in a Container may be * empty, though they may contain null values. *

- * + * *

* Note that though uniquely identified, the Items in a Container are not * necessarily {@link Container.Ordered ordered} or {@link Container.Indexed * indexed}. *

- * + * *

* Containers can derive Item ID's from the item properties or use other, * container specific or user specified identifiers. *

- * + * *

* If a container is {@link Filterable filtered} or {@link Sortable sorted}, * most of the the methods of the container interface and its subinterfaces @@ -67,16 +67,16 @@ import com.vaadin.data.util.filter.UnsupportedFilterException; * See individual method javadoc for exceptions to this (adding and removing * items). *

- * + * *

* *

- * + * *

* The Container interface is split to several subinterfaces so that a class can * implement only the ones it needs. *

- * + * * @author Vaadin Ltd * @since 3.0 */ @@ -88,7 +88,7 @@ public interface Container extends Serializable { * returned. *

* Containers should not return Items that are filtered out. - * + * * @param itemId * ID of the {@link Item} to retrieve * @return the {@link Item} with the given ID or null if the @@ -99,7 +99,7 @@ public interface Container extends Serializable { /** * Gets the ID's of all Properties stored in the Container. The ID's cannot * be modified through the returned collection. - * + * * @return unmodifiable collection of Property IDs */ public Collection getContainerPropertyIds(); @@ -115,7 +115,7 @@ public interface Container extends Serializable { *

* Calling this method for large lazy containers can be an expensive * operation and should be avoided when practical. - * + * * @return unmodifiable collection of Item IDs */ public Collection getItemIds(); @@ -125,7 +125,7 @@ public interface Container extends Serializable { * Container. If the Container does not contain the item or it is filtered * out, or the Container does not have the Property, null is * returned. - * + * * @param itemId * ID of the visible Item which contains the Property * @param propertyId @@ -136,7 +136,7 @@ public interface Container extends Serializable { /** * Gets the data type of all Properties identified by the given Property ID. - * + * * @param propertyId * ID identifying the Properties * @return data type of the Properties @@ -148,7 +148,7 @@ public interface Container extends Serializable { *

* Filtering can hide items so that they will not be visible through the * container API. - * + * * @return number of Items in the Container */ public int size(); @@ -160,7 +160,7 @@ public interface Container extends Serializable { * container API, and this method should respect visibility of items (i.e. * only indicate visible items as being in the container) if feasible for * the container. - * + * * @param itemId * ID the of Item to be tested * @return boolean indicating if the Container holds the specified Item @@ -169,17 +169,17 @@ public interface Container extends Serializable { /** * Creates a new Item with the given ID in the Container. - * + * *

* The new Item is returned, and it is ready to have its Properties * modified. Returns null if the operation fails or the * Container already contains a Item with the given ID. *

- * + * *

* This functionality is optional. *

- * + * * @param itemId * ID of the Item to be created * @return Created new Item, or null in case of a failure @@ -191,17 +191,17 @@ public interface Container extends Serializable { /** * Creates a new Item into the Container, and assign it an automatic ID. - * + * *

* The new ID is returned, or null if the operation fails. * After a successful call you can use the {@link #getItem(Object ItemId) * getItem}method to fetch the Item. *

- * + * *

* This functionality is optional. *

- * + * * @return ID of the newly created Item, or null in case of a * failure * @throws UnsupportedOperationException @@ -212,16 +212,16 @@ public interface Container extends Serializable { /** * Removes the Item identified by ItemId from the Container. - * + * *

* Containers that support filtering should also allow removing an item that * is currently filtered out. *

- * + * *

* This functionality is optional. *

- * + * * @param itemId * ID of the Item to remove * @return true if the operation succeeded, false @@ -237,7 +237,7 @@ public interface Container extends Serializable { * type and default value of the new Property are given as parameters. *

* This functionality is optional. - * + * * @param propertyId * ID of the Property * @param type @@ -258,7 +258,7 @@ public interface Container extends Serializable { * Note that the Property will be removed from all Items in the Container. *

* This functionality is optional. - * + * * @param propertyId * ID of the Property to remove * @return true if the operation succeeded, false @@ -272,12 +272,12 @@ public interface Container extends Serializable { /** * Removes all Items from the Container. - * + * *

* Note that Property ID and type information is preserved. This * functionality is optional. *

- * + * * @return true if the operation succeeded, false * if not * @throws UnsupportedOperationException @@ -288,7 +288,7 @@ public interface Container extends Serializable { /** * Interface for Container classes whose {@link Item}s can be traversed in * order. - * + * *

* If the container is filtered or sorted, the traversal applies to the * filtered and sorted view. @@ -307,7 +307,7 @@ public interface Container extends Serializable { * Gets the ID of the Item following the Item that corresponds to * itemId. If the given Item is the last or not found in * the Container, null is returned. - * + * * @param itemId * ID of a visible Item in the Container * @return ID of the next visible Item or null @@ -318,7 +318,7 @@ public interface Container extends Serializable { * Gets the ID of the Item preceding the Item that corresponds to * itemId. If the given Item is the first or not found in * the Container, null is returned. - * + * * @param itemId * ID of a visible Item in the Container * @return ID of the previous visible Item or null @@ -327,14 +327,14 @@ public interface Container extends Serializable { /** * Gets the ID of the first Item in the Container. - * + * * @return ID of the first visible Item in the Container */ public Object firstItemId(); /** * Gets the ID of the last Item in the Container.. - * + * * @return ID of the last visible Item in the Container */ public Object lastItemId(); @@ -342,7 +342,7 @@ public interface Container extends Serializable { /** * Tests if the Item corresponding to the given Item ID is the first * Item in the Container. - * + * * @param itemId * ID of an Item in the Container * @return true if the Item is first visible item in the @@ -353,7 +353,7 @@ public interface Container extends Serializable { /** * Tests if the Item corresponding to the given Item ID is the last Item * in the Container. - * + * * @return true if the Item is last visible item in the * Container, false if not */ @@ -365,9 +365,9 @@ public interface Container extends Serializable { * Adding an item after null item adds the item as first item of the * ordered container. *

- * + * * @see Ordered Ordered: adding items in filtered or sorted containers - * + * * @param previousItemId * Id of the visible item in ordered container after which to * insert the new item. @@ -385,9 +385,9 @@ public interface Container extends Serializable { * Adding an item after null item adds the item as first item of the * ordered container. *

- * + * * @see Ordered Ordered: adding items in filtered or sorted containers - * + * * @param previousItemId * Id of the visible item in ordered container after which to * insert the new item. @@ -431,7 +431,7 @@ public interface Container extends Serializable { *

* Sorting a container can irreversibly change the order of its items or * only change the order temporarily, depending on the container. - * + * * @param propertyId * Array of container property IDs, whose values are used to * sort the items in container as primary, secondary, ... @@ -450,7 +450,7 @@ public interface Container extends Serializable { /** * Gets the container property IDs which can be used to sort the items. - * + * * @return the IDs of the properties that can be used for sorting the * container */ @@ -474,7 +474,7 @@ public interface Container extends Serializable { * Gets the index of the Item corresponding to the itemId. The following * is true for the returned index: 0 <= index < size(), or * index = -1 if there is no visible item with that id in the container. - * + * * @param itemId * ID of an Item in the Container * @return index of the Item, or -1 if (the filtered and sorted view of) @@ -486,7 +486,7 @@ public interface Container extends Serializable { * Get the item id for the item at the position given by * index. *

- * + * * @param index * the index of the requested item id * @return the item id of the item at the given index @@ -512,7 +512,7 @@ public interface Container extends Serializable { *

* For quick migration to new API see: * {@link ContainerHelpers#getItemIdsUsingGetIdByIndex(int, int, Indexed)} - * + * * @param startIndex * the index for the first item which id to include * @param numberOfItems @@ -520,7 +520,7 @@ public interface Container extends Serializable { * start index, must be >= 0 * @return List containing the requested item ids or empty list if * numberOfItems == 0; not null - * + * * @throws IllegalArgumentException * if numberOfItems is < 0 * @throws IndexOutOfBoundsException @@ -528,7 +528,7 @@ public interface Container extends Serializable { * container. (i.e. * startIndex < 0 || container.size()-1 < startIndex * ) - * + * * @since 7.0 */ public List getItemIds(int startIndex, int numberOfItems); @@ -546,7 +546,7 @@ public interface Container extends Serializable { * given position. See {@link Indexed}, {@link Ordered}, * {@link Filterable} and {@link Sortable} for more information. *

- * + * * @param index * Index (in the filtered and sorted view) to add the new * item. @@ -569,7 +569,7 @@ public interface Container extends Serializable { * given position. See {@link Indexed}, {@link Filterable} and * {@link Sortable} for more information. *

- * + * * @param index * Index (in the filtered and sorted view) at which to add * the new item. @@ -585,28 +585,28 @@ public interface Container extends Serializable { /** * An Event object specifying information about the added * items. - * + * * @since 7.4 */ public interface ItemAddEvent extends ItemSetChangeEvent { /** * Gets the item id of the first added item. - * + * * @return item id of the first added item */ public Object getFirstItemId(); /** * Gets the index of the first added item. - * + * * @return index of the first added item */ public int getFirstIndex(); /** * Gets the number of the added items. - * + * * @return the number of added items. */ public int getAddedItemsCount(); @@ -615,27 +615,27 @@ public interface Container extends Serializable { /** * An Event object specifying information about the removed * items. - * + * * @since 7.4 */ public interface ItemRemoveEvent extends ItemSetChangeEvent { /** * Gets the item id of the first removed item. - * + * * @return item id of the first removed item */ public Object getFirstItemId(); /** * Gets the index of the first removed item. - * + * * @return index of the first removed item */ public int getFirstIndex(); /** * Gets the number of the removed items. - * + * * @return the number of removed items */ public int getRemovedItemsCount(); @@ -648,7 +648,7 @@ public interface Container extends Serializable { * hierarchically. This means that the Items in the container belong in a * tree-like structure, with the following quirks: *

- * + * *