diff options
author | Artur Signell <artur@vaadin.com> | 2016-09-18 17:38:12 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2016-09-20 06:07:31 +0000 |
commit | c5c52684eb30d924cb75a632b526a0f879d5a33c (patch) | |
tree | 7025aff24585c55161a513102dedfc1a55c751bd /shared | |
parent | 57a965251afdb5ee9ac1913a0101d854d8215aa6 (diff) | |
download | vaadin-framework-c5c52684eb30d924cb75a632b526a0f879d5a33c.tar.gz vaadin-framework-c5c52684eb30d924cb75a632b526a0f879d5a33c.zip |
Format Java files using Eclipse Neon and Vaadin settings
Using the same formatting in the 7.7 branch and the master branch
eases porting of fixes
Change-Id: I51b4693f2f120447702cf322ce4505608ad92987
Diffstat (limited to 'shared')
191 files changed, 966 insertions, 960 deletions
diff --git a/shared/src/main/java-templates/com/vaadin/shared/Version.java b/shared/src/main/java-templates/com/vaadin/shared/Version.java index a63d68abb6..9d12a5c9be 100644 --- a/shared/src/main/java-templates/com/vaadin/shared/Version.java +++ b/shared/src/main/java-templates/com/vaadin/shared/Version.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/shared/src/main/java/com/vaadin/shared/AbstractComponentState.java b/shared/src/main/java/com/vaadin/shared/AbstractComponentState.java index 1c32a67c70..755615c00b 100644 --- a/shared/src/main/java/com/vaadin/shared/AbstractComponentState.java +++ b/shared/src/main/java/com/vaadin/shared/AbstractComponentState.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 @@ -23,9 +23,9 @@ import com.vaadin.shared.communication.SharedState; /** * Default shared state implementation for AbstractComponent. - * + * * State classes of components should typically extend this class. - * + * * @since 7.0 */ public class AbstractComponentState extends SharedState { diff --git a/shared/src/main/java/com/vaadin/shared/AbstractFieldState.java b/shared/src/main/java/com/vaadin/shared/AbstractFieldState.java index 3e9fd811de..3f06fba4b3 100644 --- a/shared/src/main/java/com/vaadin/shared/AbstractFieldState.java +++ b/shared/src/main/java/com/vaadin/shared/AbstractFieldState.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,10 +19,10 @@ import com.vaadin.shared.ui.TabIndexState; /** * Shared state for {@link com.vaadin.ui.AbstractField}. - * + * * @author Vaadin Ltd * @since 7.0.0 - * + * */ public class AbstractFieldState extends TabIndexState { public boolean propertyReadOnly = false; diff --git a/shared/src/main/java/com/vaadin/shared/ApplicationConstants.java b/shared/src/main/java/com/vaadin/shared/ApplicationConstants.java index e5da716eb3..142573ea1f 100644 --- a/shared/src/main/java/com/vaadin/shared/ApplicationConstants.java +++ b/shared/src/main/java/com/vaadin/shared/ApplicationConstants.java @@ -41,7 +41,7 @@ public class ApplicationConstants implements Serializable { + "://"; /** * Prefix used for theme resource URLs - * + * * @see com.vaadin.server.ThemeResource * @since 7.5.0 */ @@ -135,7 +135,7 @@ public class ApplicationConstants implements Serializable { /** * The name of the parameter used to transmit the id of the client to server * messages. - * + * * @since 7.6 */ public static final String CLIENT_TO_SERVER_ID = "clientId"; @@ -153,7 +153,7 @@ public class ApplicationConstants implements Serializable { /** * The name of the parameter used for sending the widget set version to the * server - * + * * @since 7.6 */ public static final String WIDGETSET_VERSION_ID = "wsver"; diff --git a/shared/src/main/java/com/vaadin/shared/ComponentConstants.java b/shared/src/main/java/com/vaadin/shared/ComponentConstants.java index dae1382256..28c19dda2d 100644 --- a/shared/src/main/java/com/vaadin/shared/ComponentConstants.java +++ b/shared/src/main/java/com/vaadin/shared/ComponentConstants.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/shared/src/main/java/com/vaadin/shared/Connector.java b/shared/src/main/java/com/vaadin/shared/Connector.java index c4a880f5ea..0f73c9e7bd 100644 --- a/shared/src/main/java/com/vaadin/shared/Connector.java +++ b/shared/src/main/java/com/vaadin/shared/Connector.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 @@ -32,7 +32,7 @@ import java.io.Serializable; * {@link com.vaadin.client.ServerConnector} and server side classes should * implement {@link com.vaadin.server.ClientConnector}. * </p> - * + * * @author Vaadin Ltd * @since 7.0.0 */ @@ -40,7 +40,7 @@ public interface Connector extends Serializable { /** * Returns the id for this connector. This is set by the framework and does * not change during the lifetime of a connector. - * + * * @return The id for the connector. */ public String getConnectorId(); @@ -48,7 +48,7 @@ public interface Connector extends Serializable { /** * Gets the parent connector of this connector, or <code>null</code> if the * connector is not attached to any parent. - * + * * @return the parent connector, or <code>null</code> if there is no parent. */ public Connector getParent(); diff --git a/shared/src/main/java/com/vaadin/shared/ContextClickRpc.java b/shared/src/main/java/com/vaadin/shared/ContextClickRpc.java index 2152de0863..b158c9bd41 100644 --- a/shared/src/main/java/com/vaadin/shared/ContextClickRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ContextClickRpc.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 @@ import com.vaadin.shared.communication.ServerRpc; /** * Client-to-server RPC interface for context click events - * + * * @since 7.6 * @author Vaadin Ltd */ diff --git a/shared/src/main/java/com/vaadin/shared/EventId.java b/shared/src/main/java/com/vaadin/shared/EventId.java index ad840d1e5d..6989f36d57 100644 --- a/shared/src/main/java/com/vaadin/shared/EventId.java +++ b/shared/src/main/java/com/vaadin/shared/EventId.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/shared/src/main/java/com/vaadin/shared/JavaScriptConnectorState.java b/shared/src/main/java/com/vaadin/shared/JavaScriptConnectorState.java index 12c9728628..a352ab743c 100644 --- a/shared/src/main/java/com/vaadin/shared/JavaScriptConnectorState.java +++ b/shared/src/main/java/com/vaadin/shared/JavaScriptConnectorState.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/shared/src/main/java/com/vaadin/shared/JavaScriptExtensionState.java b/shared/src/main/java/com/vaadin/shared/JavaScriptExtensionState.java index 5050ffec10..3dd6ae3e04 100644 --- a/shared/src/main/java/com/vaadin/shared/JavaScriptExtensionState.java +++ b/shared/src/main/java/com/vaadin/shared/JavaScriptExtensionState.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 @@ -23,8 +23,8 @@ import java.util.Set; import com.vaadin.shared.communication.SharedState; -public class JavaScriptExtensionState extends SharedState implements - JavaScriptConnectorState { +public class JavaScriptExtensionState extends SharedState + implements JavaScriptConnectorState { private Set<String> callbackNames = new HashSet<String>(); private Map<String, Set<String>> rpcInterfaces = new HashMap<String, Set<String>>(); diff --git a/shared/src/main/java/com/vaadin/shared/JsonConstants.java b/shared/src/main/java/com/vaadin/shared/JsonConstants.java index fd26d2ab74..ca59184ba2 100644 --- a/shared/src/main/java/com/vaadin/shared/JsonConstants.java +++ b/shared/src/main/java/com/vaadin/shared/JsonConstants.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/shared/src/main/java/com/vaadin/shared/MouseEventDetails.java b/shared/src/main/java/com/vaadin/shared/MouseEventDetails.java index 3c06ee80f3..b2c4ac3107 100644 --- a/shared/src/main/java/com/vaadin/shared/MouseEventDetails.java +++ b/shared/src/main/java/com/vaadin/shared/MouseEventDetails.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 @@ -39,11 +39,11 @@ public class MouseEventDetails implements Serializable { /** * Constants for mouse buttons. - * + * * @author Vaadin Ltd * @version @VERSION@ * @since 7.0 - * + * */ public enum MouseButton { LEFT("left"), RIGHT("right"), MIDDLE("middle"); @@ -56,7 +56,7 @@ public class MouseEventDetails implements Serializable { /** * Returns a human readable text representing the button - * + * * @return */ public String getName() { diff --git a/shared/src/main/java/com/vaadin/shared/Position.java b/shared/src/main/java/com/vaadin/shared/Position.java index 9234c798d1..7d1a9c45aa 100755 --- a/shared/src/main/java/com/vaadin/shared/Position.java +++ b/shared/src/main/java/com/vaadin/shared/Position.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/shared/src/main/java/com/vaadin/shared/VBrowserDetails.java b/shared/src/main/java/com/vaadin/shared/VBrowserDetails.java index 32299a22d1..994a58ad54 100644 --- a/shared/src/main/java/com/vaadin/shared/VBrowserDetails.java +++ b/shared/src/main/java/com/vaadin/shared/VBrowserDetails.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 java.io.Serializable; * information about the browser. Used internally by * {@link com.vaadin.client.BrowserInfo} and * {@link com.vaadin.server.WebBrowser}. Should not be used directly. - * + * * @author Vaadin Ltd. * @since 6.3 */ @@ -63,7 +63,7 @@ public class VBrowserDetails implements Serializable { /** * Create an instance based on the given user agent. - * + * * @param userAgent * User agent as provided by the browser. */ @@ -123,8 +123,8 @@ public class VBrowserDetails implements Serializable { } else if (isIE) { int tridentPos = userAgent.indexOf("trident/"); if (tridentPos >= 0) { - String tmp = userAgent.substring(tridentPos - + "Trident/".length()); + String tmp = userAgent + .substring(tridentPos + "Trident/".length()); tmp = tmp.replaceFirst("([0-9]+\\.[0-9]+).*", "$1"); browserEngineVersion = Float.parseFloat(tmp); } @@ -133,8 +133,8 @@ public class VBrowserDetails implements Serializable { } } catch (Exception e) { // Browser engine version parsing failed - System.err.println("Browser engine version parsing failed for: " - + userAgent); + System.err.println( + "Browser engine version parsing failed for: " + userAgent); } // Browser version @@ -149,8 +149,8 @@ public class VBrowserDetails implements Serializable { parseVersionString(tmp); } } else { - String ieVersionString = userAgent.substring(userAgent - .indexOf("msie ") + 5); + String ieVersionString = userAgent + .substring(userAgent.indexOf("msie ") + 5); ieVersionString = safeSubstring(ieVersionString, 0, ieVersionString.indexOf(";")); parseVersionString(ieVersionString); @@ -183,8 +183,8 @@ public class VBrowserDetails implements Serializable { } } catch (Exception e) { // Browser version parsing failed - System.err.println("Browser version parsing failed for: " - + userAgent); + System.err.println( + "Browser version parsing failed for: " + userAgent); } // Operating system @@ -255,8 +255,8 @@ public class VBrowserDetails implements Serializable { // Some Androids report version numbers as "2.1-update1" if (osMinorVersion == -1 && parts[1].contains("-")) { try { - osMinorVersion = Integer.parseInt(parts[1].substring(0, - parts[1].indexOf('-'))); + osMinorVersion = Integer.parseInt( + parts[1].substring(0, parts[1].indexOf('-'))); } catch (Exception ee) { } } @@ -269,16 +269,17 @@ public class VBrowserDetails implements Serializable { if (idx < 0) { idx = versionString.length(); } - browserMajorVersion = Integer.parseInt(safeSubstring(versionString, 0, - idx)); + browserMajorVersion = Integer + .parseInt(safeSubstring(versionString, 0, idx)); int idx2 = versionString.indexOf('.', idx + 1); if (idx2 < 0) { idx2 = versionString.length(); } try { - browserMinorVersion = Integer.parseInt(safeSubstring(versionString, - idx + 1, idx2).replaceAll("[^0-9].*", "")); + browserMinorVersion = Integer + .parseInt(safeSubstring(versionString, idx + 1, idx2) + .replaceAll("[^0-9].*", "")); } catch (NumberFormatException e) { // leave the minor version unmodified (-1 = unknown) } @@ -296,7 +297,7 @@ public class VBrowserDetails implements Serializable { /** * Tests if the browser is Firefox. - * + * * @return true if it is Firefox, false otherwise */ public boolean isFirefox() { @@ -305,7 +306,7 @@ public class VBrowserDetails implements Serializable { /** * Tests if the browser is using the Gecko engine - * + * * @return true if it is Gecko, false otherwise */ public boolean isGecko() { @@ -314,7 +315,7 @@ public class VBrowserDetails implements Serializable { /** * Tests if the browser is using the WebKit engine - * + * * @return true if it is WebKit, false otherwise */ public boolean isWebKit() { @@ -323,7 +324,7 @@ public class VBrowserDetails implements Serializable { /** * Tests if the browser is using the Presto engine - * + * * @return true if it is Presto, false otherwise */ public boolean isPresto() { @@ -332,7 +333,7 @@ public class VBrowserDetails implements Serializable { /** * Tests if the browser is using the Trident engine - * + * * @since 7.1.7 * @return true if it is Trident, false otherwise */ @@ -342,7 +343,7 @@ public class VBrowserDetails implements Serializable { /** * Tests if the browser is Safari. - * + * * @return true if it is Safari, false otherwise */ public boolean isSafari() { @@ -351,7 +352,7 @@ public class VBrowserDetails implements Serializable { /** * Tests if the browser is Chrome. - * + * * @return true if it is Chrome, false otherwise */ public boolean isChrome() { @@ -360,7 +361,7 @@ public class VBrowserDetails implements Serializable { /** * Tests if the browser is capable of running ChromeFrame. - * + * * @return true if it has ChromeFrame, false otherwise */ public boolean isChromeFrameCapable() { @@ -369,7 +370,7 @@ public class VBrowserDetails implements Serializable { /** * Tests if the browser is running ChromeFrame. - * + * * @return true if it is ChromeFrame, false otherwise */ public boolean isChromeFrame() { @@ -378,7 +379,7 @@ public class VBrowserDetails implements Serializable { /** * Tests if the browser is Opera. - * + * * @return true if it is Opera, false otherwise */ public boolean isOpera() { @@ -387,7 +388,7 @@ public class VBrowserDetails implements Serializable { /** * Tests if the browser is Internet Explorer. - * + * * @return true if it is Internet Explorer, false otherwise */ public boolean isIE() { @@ -396,7 +397,7 @@ public class VBrowserDetails implements Serializable { /** * Tests if the browser is Edge. - * + * * @since 7.5.3 * @return true if it is Edge, false otherwise */ @@ -416,7 +417,7 @@ public class VBrowserDetails implements Serializable { /** * Returns the version of the browser engine. For WebKit this is an integer * e.g., 532.0. For gecko it is a float e.g., 1.8 or 1.9. - * + * * @return The version of the browser engine */ public float getBrowserEngineVersion() { @@ -430,7 +431,7 @@ public class VBrowserDetails implements Serializable { * Note that Internet Explorer 8 and newer will return the document mode so * IE8 rendering as IE7 will return 7. * </p> - * + * * @return The major version of the browser. */ public final int getBrowserMajorVersion() { @@ -439,9 +440,9 @@ public class VBrowserDetails implements Serializable { /** * 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 final int getBrowserMinorVersion() { @@ -452,7 +453,7 @@ public class VBrowserDetails implements Serializable { * Sets the version for IE based on the documentMode. This is used to return * the correct the correct IE version when the version from the user agent * string and the value of the documentMode property do not match. - * + * * @param documentMode * The current document mode */ @@ -463,7 +464,7 @@ public class VBrowserDetails implements Serializable { /** * Tests if the browser is run on Windows. - * + * * @return true if run on Windows, false otherwise */ public boolean isWindows() { @@ -472,7 +473,7 @@ public class VBrowserDetails implements Serializable { /** * Tests if the browser is run on Windows Phone. - * + * * @return true if run on Windows Phone, false otherwise * @since 7.3.2 */ @@ -482,7 +483,7 @@ public class VBrowserDetails implements Serializable { /** * Tests if the browser is run on Mac OSX. - * + * * @return true if run on Mac OSX, false otherwise */ public boolean isMacOSX() { @@ -491,7 +492,7 @@ public class VBrowserDetails implements Serializable { /** * Tests if the browser is run on Linux. - * + * * @return true if run on Linux, false otherwise */ public boolean isLinux() { @@ -500,7 +501,7 @@ public class VBrowserDetails implements Serializable { /** * Tests if the browser is run on Android. - * + * * @return true if run on Android, false otherwise */ public boolean isAndroid() { @@ -509,7 +510,7 @@ public class VBrowserDetails implements Serializable { /** * Tests if the browser is run in iOS. - * + * * @return true if run in iOS, false otherwise */ public boolean isIOS() { @@ -518,7 +519,7 @@ public class VBrowserDetails implements Serializable { /** * Tests if the browser is run on iPhone. - * + * * @return true if run on iPhone, false otherwise * @since 7.3.3 */ @@ -528,7 +529,7 @@ public class VBrowserDetails implements Serializable { /** * Tests if the browser is run on iPad. - * + * * @return true if run on iPad, false otherwise * @since 7.3.3 */ @@ -539,7 +540,7 @@ public class VBrowserDetails implements Serializable { /** * Returns the major version of the operating system. Currently only * supported for mobile devices (iOS/Android) - * + * * @return The major version or -1 if unknown */ public int getOperatingSystemMajorVersion() { @@ -549,7 +550,7 @@ public class VBrowserDetails implements Serializable { /** * Returns the minor version of the operating system. Currently only * supported for mobile devices (iOS/Android) - * + * * @return The minor version or -1 if unknown */ public int getOperatingSystemMinorVersion() { @@ -561,7 +562,7 @@ public class VBrowserDetails implements Serializable { * application. NOTE that the browser might still be capable of running * Crome Frame, so you might still want to check * {@link #isChromeFrameCapable()} if this returns true. - * + * * @return true if the browser won't work, false if not the browser is * supported or might work */ diff --git a/shared/src/main/java/com/vaadin/shared/VaadinUriResolver.java b/shared/src/main/java/com/vaadin/shared/VaadinUriResolver.java index ee8d13f10f..5c5dfb7587 100644 --- a/shared/src/main/java/com/vaadin/shared/VaadinUriResolver.java +++ b/shared/src/main/java/com/vaadin/shared/VaadinUriResolver.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,7 +24,7 @@ import com.vaadin.shared.util.SharedUtil; * URLs usable by the browser. This is an abstract class performing the main * logic in {@link #resolveVaadinUri(String)} and using abstract methods in the * class for accessing information specific to the current environment. - * + * * @since 7.4 * @author Vaadin Ltd */ @@ -70,15 +70,14 @@ public abstract class VaadinUriResolver implements Serializable { // without published://) vaadinUri = ApplicationConstants.APP_PROTOCOL_PREFIX + ApplicationConstants.PUBLISHED_FILE_PATH - + vaadinUri - .substring(ApplicationConstants.PUBLISHED_PROTOCOL_PREFIX + + vaadinUri.substring( + ApplicationConstants.PUBLISHED_PROTOCOL_PREFIX .length()); // Let translation of app:// urls take care of the rest } if (vaadinUri.startsWith(ApplicationConstants.APP_PROTOCOL_PREFIX)) { - String relativeUrl = vaadinUri - .substring(ApplicationConstants.APP_PROTOCOL_PREFIX - .length()); + String relativeUrl = vaadinUri.substring( + ApplicationConstants.APP_PROTOCOL_PREFIX.length()); String serviceUrl = getServiceUrl(); String serviceUrlParameterName = getServiceUrlParameterName(); if (serviceUrlParameterName != null) { @@ -107,9 +106,8 @@ public abstract class VaadinUriResolver implements Serializable { } if (vaadinUri.startsWith(ApplicationConstants.VAADIN_PROTOCOL_PREFIX)) { final String vaadinDirUri = getVaadinDirUrl(); - String relativeUrl = vaadinUri - .substring(ApplicationConstants.VAADIN_PROTOCOL_PREFIX - .length()); + String relativeUrl = vaadinUri.substring( + ApplicationConstants.VAADIN_PROTOCOL_PREFIX.length()); vaadinUri = vaadinDirUri + relativeUrl; } @@ -118,7 +116,7 @@ public abstract class VaadinUriResolver implements Serializable { /** * Gets the URL pointing to the VAADIN directory. - * + * * @return the VAADIN directory URL */ protected abstract String getVaadinDirUrl(); @@ -128,7 +126,7 @@ public abstract class VaadinUriResolver implements Serializable { * the requested URL to the {@link #getServiceUrl() service URL}. If * <code>null</code> is returned, the requested URL will instead be appended * to the base service URL. - * + * * @return the parameter name used for passing request URLs, or * <code>null</code> to send the path as a part of the request path. */ @@ -137,21 +135,21 @@ public abstract class VaadinUriResolver implements Serializable { /** * Gets the URL handled by {@link com.vaadin.server.VaadinService * VaadinService} to handle application requests. - * + * * @return the service URL */ protected abstract String getServiceUrl(); /** * Gets the URI of the directory of the current theme. - * + * * @return the URI of the current theme directory */ protected abstract String getThemeUri(); /** * Encodes a value for safe inclusion as a parameter in the query string. - * + * * @param parameterValue * the value to encode * @return the encoded value diff --git a/shared/src/main/java/com/vaadin/shared/annotations/Delayed.java b/shared/src/main/java/com/vaadin/shared/annotations/Delayed.java index f7e24de006..86ac246aa1 100644 --- a/shared/src/main/java/com/vaadin/shared/annotations/Delayed.java +++ b/shared/src/main/java/com/vaadin/shared/annotations/Delayed.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,9 +26,9 @@ import com.vaadin.shared.communication.ServerRpc; * Invoking a method in a {@link ServerRpc} interface marked with this * annotation will only add the invocation to a queue of outgoing RPC * invocations, but it will not cause the queue to be purged and sent to the - * server. The queue will instead be sent when any RPC method not marked as @Delayed - * has been invoked. - * + * server. The queue will instead be sent when any RPC method not marked + * as @Delayed has been invoked. + * * @author Vaadin Ltd * @version @VERSION@ * @since 7.0.0 @@ -45,7 +45,7 @@ public @interface Delayed { * The default value is <code>false</code> which means that invoking the * method multiple times will cause multiple invocations to be enqueued and * eventually sent to the server. - * + * * @return <code>true</code> if only the last invocation of the annotated * method should be sent to the server, <code>false</code> if all * enqueued invocations should be sent. diff --git a/shared/src/main/java/com/vaadin/shared/annotations/DelegateToWidget.java b/shared/src/main/java/com/vaadin/shared/annotations/DelegateToWidget.java index ee5cf78a68..9e48ea4364 100644 --- a/shared/src/main/java/com/vaadin/shared/annotations/DelegateToWidget.java +++ b/shared/src/main/java/com/vaadin/shared/annotations/DelegateToWidget.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,26 +31,26 @@ import java.lang.annotation.Target; * any {@link com.vaadin.client.communication.StateChangeEvent}. * <p> * Take for example a state class looking like this: - * + * * <pre> * public class MyComponentState extends AbstractComponentState { * @DelegateToWidget * public String myProperty; * } * </pre> - * + * * Whenever <code>myProperty</code> is changed, the framework will call code * like this: - * + * * <pre> * connector.getWidget().setMyProperty(connector.getState().myProperty); * </pre> - * + * * <p> * By default, the Widget method to call is derived from the property name, but * {@link #value()} in the annotation can be used to provide a custom method * name, e.g. {@code @DelegateToWidget("someSpecialName")}. - * + * * @since 7.0.0 * @author Vaadin Ltd */ @@ -62,7 +62,7 @@ public @interface DelegateToWidget { * derived from the property name, so e.g. a field named * <code>myProperty</code> will delegate to a method named * <code>setMyProperty</code>. - * + * * @return the name of the method to delegate to, or empty string to use the * default name */ @@ -76,7 +76,7 @@ public @interface DelegateToWidget { /** * Gets the name of the method to delegate to for a given property name * and annotation value. - * + * * @param propertyName * the name of the delegated property * @param annotationValue diff --git a/shared/src/main/java/com/vaadin/shared/annotations/NoLayout.java b/shared/src/main/java/com/vaadin/shared/annotations/NoLayout.java index b77729cdcc..8631e450e0 100644 --- a/shared/src/main/java/com/vaadin/shared/annotations/NoLayout.java +++ b/shared/src/main/java/com/vaadin/shared/annotations/NoLayout.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 java.lang.annotation.Target; * that almost anything related to CSS (e.g. adding or removing a stylename) has * the potential of causing sizes to change with appropriate style definitions * in the application theme. - * + * * @since 7.4 - * + * * @author Vaadin Ltd */ @Documented diff --git a/shared/src/main/java/com/vaadin/shared/annotations/NoLoadingIndicator.java b/shared/src/main/java/com/vaadin/shared/annotations/NoLoadingIndicator.java index 2e519b69e8..7e0041f483 100644 --- a/shared/src/main/java/com/vaadin/shared/annotations/NoLoadingIndicator.java +++ b/shared/src/main/java/com/vaadin/shared/annotations/NoLoadingIndicator.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,7 +24,7 @@ import java.lang.annotation.Target; * show the loading indicator. The framework will show a loading indicator when * sending requests for RPC methods that are not marked with this annotation. * The loading indicator is hidden once a response is received. - * + * * @since 7.4 * @author Vaadin Ltd */ diff --git a/shared/src/main/java/com/vaadin/shared/communication/ClientRpc.java b/shared/src/main/java/com/vaadin/shared/communication/ClientRpc.java index e400c7de7c..48982b68f4 100644 --- a/shared/src/main/java/com/vaadin/shared/communication/ClientRpc.java +++ b/shared/src/main/java/com/vaadin/shared/communication/ClientRpc.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,14 +20,14 @@ import java.io.Serializable; /** * Interface to be extended by all server to client RPC interfaces. - * + * * On the server side, proxies of the interface can be obtained from * AbstractComponent. On the client, RPC implementations can be registered with * AbstractConnector.registerRpc(). - * + * * Note: Currently, each RPC interface may not contain multiple methods with the * same name, even if their parameter lists would differ. - * + * * @since 7.0 */ public interface ClientRpc extends Serializable { diff --git a/shared/src/main/java/com/vaadin/shared/communication/FieldRpc.java b/shared/src/main/java/com/vaadin/shared/communication/FieldRpc.java index 28ae8d39b6..651db184a1 100644 --- a/shared/src/main/java/com/vaadin/shared/communication/FieldRpc.java +++ b/shared/src/main/java/com/vaadin/shared/communication/FieldRpc.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,8 +26,8 @@ public class FieldRpc implements Serializable { public void blur(); } - public interface FocusAndBlurServerRpc extends FocusServerRpc, - BlurServerRpc { + public interface FocusAndBlurServerRpc + extends FocusServerRpc, BlurServerRpc { } } diff --git a/shared/src/main/java/com/vaadin/shared/communication/LegacyChangeVariablesInvocation.java b/shared/src/main/java/com/vaadin/shared/communication/LegacyChangeVariablesInvocation.java index 4d21b5af7a..ce93f7eb58 100644 --- a/shared/src/main/java/com/vaadin/shared/communication/LegacyChangeVariablesInvocation.java +++ b/shared/src/main/java/com/vaadin/shared/communication/LegacyChangeVariablesInvocation.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,15 +26,14 @@ public class LegacyChangeVariablesInvocation extends MethodInvocation { public LegacyChangeVariablesInvocation(String connectorId, String variableName, Object value) { super(connectorId, ApplicationConstants.UPDATE_VARIABLE_INTERFACE, - ApplicationConstants.UPDATE_VARIABLE_METHOD, new Object[] { - variableName, new UidlValue(value) }); + ApplicationConstants.UPDATE_VARIABLE_METHOD, + new Object[] { variableName, new UidlValue(value) }); setVariableChange(variableName, value); } public static boolean isLegacyVariableChange(String interfaceName, String methodName) { - return ApplicationConstants.UPDATE_VARIABLE_METHOD - .equals(interfaceName) + return ApplicationConstants.UPDATE_VARIABLE_METHOD.equals(interfaceName) && ApplicationConstants.UPDATE_VARIABLE_METHOD .equals(methodName); } diff --git a/shared/src/main/java/com/vaadin/shared/communication/MethodInvocation.java b/shared/src/main/java/com/vaadin/shared/communication/MethodInvocation.java index a4370f37de..68301b5371 100644 --- a/shared/src/main/java/com/vaadin/shared/communication/MethodInvocation.java +++ b/shared/src/main/java/com/vaadin/shared/communication/MethodInvocation.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,7 +24,7 @@ import com.vaadin.shared.util.SharedUtil; /** * Information needed by the framework to send an RPC method invocation from the * client to the server or vice versa. - * + * * @since 7.0 */ public class MethodInvocation implements Serializable { @@ -80,7 +80,7 @@ public class MethodInvocation implements Serializable { * <p> * The returned string should contain at least one non-number char to ensure * it doesn't collide with the keys used for invocations without lastOnly. - * + * * @return a string identifying this method invocation */ public String getLastOnlyTag() { diff --git a/shared/src/main/java/com/vaadin/shared/communication/PushConstants.java b/shared/src/main/java/com/vaadin/shared/communication/PushConstants.java index 5b23cd7f6e..9baeff5ae3 100644 --- a/shared/src/main/java/com/vaadin/shared/communication/PushConstants.java +++ b/shared/src/main/java/com/vaadin/shared/communication/PushConstants.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 @@ import java.io.Serializable; /** * Shared constants used by push. - * + * * @since 7.1 * @author Vaadin Ltd */ @@ -39,7 +39,8 @@ public class PushConstants implements Serializable { * exceed {@link PushConstants#WEBSOCKET_BUFFER_SIZE} given a UTF-8 encoded * message. */ - public static final int WEBSOCKET_FRAGMENT_SIZE = WEBSOCKET_BUFFER_SIZE / 4 - 1; + public static final int WEBSOCKET_FRAGMENT_SIZE = WEBSOCKET_BUFFER_SIZE / 4 + - 1; /** * The character used to mark message boundaries when messages may be split diff --git a/shared/src/main/java/com/vaadin/shared/communication/PushMode.java b/shared/src/main/java/com/vaadin/shared/communication/PushMode.java index 7b0f968c77..0a88593207 100644 --- a/shared/src/main/java/com/vaadin/shared/communication/PushMode.java +++ b/shared/src/main/java/com/vaadin/shared/communication/PushMode.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 @@ -18,9 +18,9 @@ package com.vaadin.shared.communication; /** * The mode of bidirectional ("push") communication that is in use. - * + * * @see com.vaadin.server.DeploymentConfiguration#getPushMode() - * + * * @author Vaadin Ltd * @since 7.1 */ @@ -55,7 +55,7 @@ public enum PushMode { /** * Checks whether the push mode is using push functionality - * + * * @return <code>true</code> if this mode requires push functionality; * <code>false</code> if no push functionality is used for this * mode. diff --git a/shared/src/main/java/com/vaadin/shared/communication/ServerRpc.java b/shared/src/main/java/com/vaadin/shared/communication/ServerRpc.java index e23b3758c6..f3bc38d22b 100644 --- a/shared/src/main/java/com/vaadin/shared/communication/ServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/communication/ServerRpc.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 @@ import java.io.Serializable; /** * Interface to be extended by all client to server RPC interfaces. - * + * * @since 7.0 */ public interface ServerRpc extends Serializable { diff --git a/shared/src/main/java/com/vaadin/shared/communication/SharedState.java b/shared/src/main/java/com/vaadin/shared/communication/SharedState.java index b21a675a4a..ceb0be0701 100644 --- a/shared/src/main/java/com/vaadin/shared/communication/SharedState.java +++ b/shared/src/main/java/com/vaadin/shared/communication/SharedState.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,34 +27,34 @@ import com.vaadin.shared.annotations.NoLayout; /** * Interface to be implemented by all shared state classes used to communicate * basic information about a {@link Connector} from server to client. - * + * * Shared state classes have to be declared in shared package to be accessible * both for server and client code. - * + * * Shared state objects are only sent from the server to the client, and any * modifications from the client should be performed via an RPC call that * modifies the authoritative state on the server. - * + * * A shared state class should be a bean with getters and setters for each * field. Supported data types are simple Java types, other beans and maps and * arrays of these. - * + * * On the client side the connector should override * {@link com.vaadin.client.ui.AbstractConnector#getState()} to return the * correct state type. This automatically causes a correct state object to be * created. - * + * * Subclasses of a {@link Connector} using shared state should also provide a * subclass of the shared state class of the parent class to extend the state. A * single {@link Connector} can only have one shared state object. - * + * * @since 7.0 */ public class SharedState implements Serializable { /** * The automatically managed resources used by the connector. - * + * * @see com.vaadin.server.AbstractClientConnector#setResource(String, * com.vaadin.server.Resource) * @see com.vaadin.client.ui.AbstractConnector#getResourceUrl(String) diff --git a/shared/src/main/java/com/vaadin/shared/communication/URLReference.java b/shared/src/main/java/com/vaadin/shared/communication/URLReference.java index be767fb25c..850839397f 100644 --- a/shared/src/main/java/com/vaadin/shared/communication/URLReference.java +++ b/shared/src/main/java/com/vaadin/shared/communication/URLReference.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 @@ -25,7 +25,7 @@ public class URLReference implements Serializable { * Returns the URL that this object refers to. * <p> * Note that the URL can use special protocols like theme:// - * + * * @return The URL for this reference or null if unknown. */ public String getURL() { @@ -34,7 +34,7 @@ public class URLReference implements Serializable { /** * Sets the URL that this object refers to - * + * * @param URL */ public void setURL(String URL) { diff --git a/shared/src/main/java/com/vaadin/shared/communication/UidlValue.java b/shared/src/main/java/com/vaadin/shared/communication/UidlValue.java index 04015213f9..7fde2c5efd 100644 --- a/shared/src/main/java/com/vaadin/shared/communication/UidlValue.java +++ b/shared/src/main/java/com/vaadin/shared/communication/UidlValue.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/shared/src/main/java/com/vaadin/shared/data/DataProviderRpc.java b/shared/src/main/java/com/vaadin/shared/data/DataProviderRpc.java index 05965ea56c..4fc897bc52 100644 --- a/shared/src/main/java/com/vaadin/shared/data/DataProviderRpc.java +++ b/shared/src/main/java/com/vaadin/shared/data/DataProviderRpc.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 @@ -23,7 +23,7 @@ import elemental.json.JsonArray; /** * RPC interface used for pushing container data to the client. - * + * * @since 7.4 * @author Vaadin Ltd */ @@ -34,7 +34,7 @@ public interface DataProviderRpc extends ClientRpc { * <p> * rowDataJson represents a JSON array of JSON objects in the following * format: - * + * * <pre> * [{ * "d": [COL_1_JSON, COL_2_json, ...], @@ -43,10 +43,10 @@ public interface DataProviderRpc extends ClientRpc { * ... * ] * </pre> - * + * * where COL_INDEX is the index of the column (as a string), and COL_n_JSON * is valid JSON of the column's data. - * + * * @param firstRowIndex * the index of the first updated row * @param rowDataJson @@ -59,7 +59,7 @@ public interface DataProviderRpc extends ClientRpc { /** * Informs the client to remove row data. - * + * * @param firstRowIndex * the index of the first removed row * @param count @@ -71,7 +71,7 @@ public interface DataProviderRpc extends ClientRpc { /** * Informs the client to insert new row data. - * + * * @param firstRowIndex * the index of the first new row * @param count @@ -86,7 +86,7 @@ public interface DataProviderRpc extends ClientRpc { * This should be used in the cases where the data has changed in some * unverifiable way. I.e. "something happened". This will lead to a * re-rendering of the current Grid viewport - * + * * @param size * the size of the new data set */ @@ -96,7 +96,7 @@ public interface DataProviderRpc extends ClientRpc { * Informs the client that rows have been updated. The client-side * DataSource will map the given data to correct index if it should be in * the cache. - * + * * @since 7.6 * @param rowArray * array of updated rows diff --git a/shared/src/main/java/com/vaadin/shared/data/DataRequestRpc.java b/shared/src/main/java/com/vaadin/shared/data/DataRequestRpc.java index 4b553dda68..43b345f287 100644 --- a/shared/src/main/java/com/vaadin/shared/data/DataRequestRpc.java +++ b/shared/src/main/java/com/vaadin/shared/data/DataRequestRpc.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,7 +24,7 @@ import elemental.json.JsonArray; /** * RPC interface used for requesting container data to the client. - * + * * @since 7.4 * @author Vaadin Ltd */ @@ -32,7 +32,7 @@ public interface DataRequestRpc extends ServerRpc { /** * Request rows from the server. - * + * * @param firstRowIndex * the index of the first requested row * @param numberOfRows @@ -48,7 +48,7 @@ public interface DataRequestRpc extends ServerRpc { /** * Informs the server that items have been dropped from the client cache. - * + * * @since 7.6 * @param rowKeys * array of dropped keys mapping to items diff --git a/shared/src/main/java/com/vaadin/shared/data/sort/SortDirection.java b/shared/src/main/java/com/vaadin/shared/data/sort/SortDirection.java index cd572087d7..692c6f4745 100644 --- a/shared/src/main/java/com/vaadin/shared/data/sort/SortDirection.java +++ b/shared/src/main/java/com/vaadin/shared/data/sort/SortDirection.java @@ -19,7 +19,7 @@ import java.io.Serializable; /** * Describes sorting direction. - * + * * @since 7.4 * @author Vaadin Ltd */ @@ -47,7 +47,7 @@ public enum SortDirection implements Serializable { /** * Get the sort direction that is the direct opposite to this one. - * + * * @return a sort direction value */ public abstract SortDirection getOpposite(); diff --git a/shared/src/main/java/com/vaadin/shared/extension/javascriptmanager/ExecuteJavaScriptRpc.java b/shared/src/main/java/com/vaadin/shared/extension/javascriptmanager/ExecuteJavaScriptRpc.java index 7a75bcbec1..fe2a37df7f 100644 --- a/shared/src/main/java/com/vaadin/shared/extension/javascriptmanager/ExecuteJavaScriptRpc.java +++ b/shared/src/main/java/com/vaadin/shared/extension/javascriptmanager/ExecuteJavaScriptRpc.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/shared/src/main/java/com/vaadin/shared/extension/javascriptmanager/JavaScriptManagerState.java b/shared/src/main/java/com/vaadin/shared/extension/javascriptmanager/JavaScriptManagerState.java index e5af6a04f8..6f95ad6387 100644 --- a/shared/src/main/java/com/vaadin/shared/extension/javascriptmanager/JavaScriptManagerState.java +++ b/shared/src/main/java/com/vaadin/shared/extension/javascriptmanager/JavaScriptManagerState.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/shared/src/main/java/com/vaadin/shared/ui/AbstractEmbeddedState.java b/shared/src/main/java/com/vaadin/shared/ui/AbstractEmbeddedState.java index 0cb9be8702..6c41cb3a8e 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/AbstractEmbeddedState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/AbstractEmbeddedState.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/shared/src/main/java/com/vaadin/shared/ui/AbstractLayoutState.java b/shared/src/main/java/com/vaadin/shared/ui/AbstractLayoutState.java index 49e5e1c36a..9479d97bd3 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/AbstractLayoutState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/AbstractLayoutState.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/shared/src/main/java/com/vaadin/shared/ui/AbstractMediaState.java b/shared/src/main/java/com/vaadin/shared/ui/AbstractMediaState.java index 3029bedca7..17a7cff1f1 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/AbstractMediaState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/AbstractMediaState.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/shared/src/main/java/com/vaadin/shared/ui/AlignmentInfo.java b/shared/src/main/java/com/vaadin/shared/ui/AlignmentInfo.java index 120552a43d..15668cd0b7 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/AlignmentInfo.java +++ b/shared/src/main/java/com/vaadin/shared/ui/AlignmentInfo.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 @@ -75,11 +75,13 @@ public final class AlignmentInfo implements Serializable { } public boolean isVerticalCenter() { - return (bitMask & Bits.ALIGNMENT_VERTICAL_CENTER) == Bits.ALIGNMENT_VERTICAL_CENTER; + return (bitMask + & Bits.ALIGNMENT_VERTICAL_CENTER) == Bits.ALIGNMENT_VERTICAL_CENTER; } public boolean isHorizontalCenter() { - return (bitMask & Bits.ALIGNMENT_HORIZONTAL_CENTER) == Bits.ALIGNMENT_HORIZONTAL_CENTER; + return (bitMask + & Bits.ALIGNMENT_HORIZONTAL_CENTER) == Bits.ALIGNMENT_HORIZONTAL_CENTER; } public String getVerticalAlignment() { diff --git a/shared/src/main/java/com/vaadin/shared/ui/BorderStyle.java b/shared/src/main/java/com/vaadin/shared/ui/BorderStyle.java index ff5c7c7179..8ecca74336 100755 --- a/shared/src/main/java/com/vaadin/shared/ui/BorderStyle.java +++ b/shared/src/main/java/com/vaadin/shared/ui/BorderStyle.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,11 +17,11 @@ package com.vaadin.shared.ui; /** * Constants for border styles used on HTML elements. - * + * * @author Vaadin Ltd * @version @VERSION@ * @since 7.0 - * + * */ public enum BorderStyle { /** diff --git a/shared/src/main/java/com/vaadin/shared/ui/BrowserWindowOpenerState.java b/shared/src/main/java/com/vaadin/shared/ui/BrowserWindowOpenerState.java index 6196ea09ac..b06bd63785 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/BrowserWindowOpenerState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/BrowserWindowOpenerState.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/shared/src/main/java/com/vaadin/shared/ui/ClickRpc.java b/shared/src/main/java/com/vaadin/shared/ui/ClickRpc.java index 388ac14882..d16d655a0a 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/ClickRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/ClickRpc.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 @@ public interface ClickRpc extends ServerRpc { /** * Called when a click event has occurred and there are server side * listeners for the event. - * + * * @param mouseDetails * Details about the mouse when the event took place */ diff --git a/shared/src/main/java/com/vaadin/shared/ui/ComponentStateUtil.java b/shared/src/main/java/com/vaadin/shared/ui/ComponentStateUtil.java index 894a1bbcbb..bd0f0bc5c1 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/ComponentStateUtil.java +++ b/shared/src/main/java/com/vaadin/shared/ui/ComponentStateUtil.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,7 +31,8 @@ public final class ComponentStateUtil implements Serializable { return state.width == null || "".equals(state.width); } - public static final boolean isUndefinedHeight(AbstractComponentState state) { + public static final boolean isUndefinedHeight( + AbstractComponentState state) { return state.height == null || "".equals(state.height); } @@ -53,7 +54,7 @@ public final class ComponentStateUtil implements Serializable { /** * Removes an event listener id. - * + * * @param eventListenerId * The event identifier to remove */ @@ -70,7 +71,7 @@ public final class ComponentStateUtil implements Serializable { /** * Adds an event listener id. - * + * * @param eventListenerId * The event identifier to add */ diff --git a/shared/src/main/java/com/vaadin/shared/ui/Connect.java b/shared/src/main/java/com/vaadin/shared/ui/Connect.java index b0c20cec31..ab0a1b464c 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/Connect.java +++ b/shared/src/main/java/com/vaadin/shared/ui/Connect.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.shared.Connector; * With this annotation client side Vaadin connector is marked to have a server * side counterpart. The value of the annotation is the class of server side * implementation. - * + * * @since 7.0 */ @Retention(RetentionPolicy.RUNTIME) @@ -76,9 +76,9 @@ public @interface Connect { * also includes * {@link com.vaadin.server.widgetsetutils.LazyWidgetMapGenerator} that * makes as many widgets lazily loaded as possible. - * + * * @since 6.4 - * + * * @return the hint for the widget set generator how the client side * implementation should be loaded to the browser */ diff --git a/shared/src/main/java/com/vaadin/shared/ui/JavaScriptComponentState.java b/shared/src/main/java/com/vaadin/shared/ui/JavaScriptComponentState.java index 3208934146..3d2c29b24d 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/JavaScriptComponentState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/JavaScriptComponentState.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,8 +24,8 @@ import java.util.Set; import com.vaadin.shared.AbstractComponentState; import com.vaadin.shared.JavaScriptConnectorState; -public class JavaScriptComponentState extends AbstractComponentState implements - JavaScriptConnectorState { +public class JavaScriptComponentState extends AbstractComponentState + implements JavaScriptConnectorState { private Set<String> callbackNames = new HashSet<String>(); private Map<String, Set<String>> rpcInterfaces = new HashMap<String, Set<String>>(); diff --git a/shared/src/main/java/com/vaadin/shared/ui/LayoutClickRpc.java b/shared/src/main/java/com/vaadin/shared/ui/LayoutClickRpc.java index bd46bbda3d..f82f160ee7 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/LayoutClickRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/LayoutClickRpc.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 @@ -23,7 +23,7 @@ public interface LayoutClickRpc extends ServerRpc { /** * Called when a layout click event has occurred and there are server side * listeners for the event. - * + * * @param mouseDetails * Details about the mouse when the event took place * @param clickedConnector diff --git a/shared/src/main/java/com/vaadin/shared/ui/MarginInfo.java b/shared/src/main/java/com/vaadin/shared/ui/MarginInfo.java index 0af3b7351f..2d864ddfb2 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/MarginInfo.java +++ b/shared/src/main/java/com/vaadin/shared/ui/MarginInfo.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 @@ import java.io.Serializable; /** * Describes the margin settings for each edge of a Component. - * + * * @author Vaadin Ltd */ public class MarginInfo implements Serializable { @@ -36,7 +36,7 @@ public class MarginInfo implements Serializable { /** * Creates a MarginInfo object with all edges set to either enabled or * disabled. - * + * * @param enabled * the value to set for all edges */ @@ -46,7 +46,7 @@ public class MarginInfo implements Serializable { /** * Creates a MarginInfo object from a bit mask. - * + * * @param bitMask * bits to set * @deprecated use other constructors instead of this one @@ -59,7 +59,7 @@ public class MarginInfo implements Serializable { /** * Creates a MarginInfo object by having each edge specified in clockwise * order (analogous to CSS). - * + * * @param top * enable or disable top margin * @param right @@ -69,12 +69,14 @@ public class MarginInfo implements Serializable { * @param left * enable or disable left margin */ - public MarginInfo(boolean top, boolean right, boolean bottom, boolean left) { + public MarginInfo(boolean top, boolean right, boolean bottom, + boolean left) { doSetMargins(top, right, bottom, left); } /** - * Creates a MarginInfo object by having horizontal and vertical margins specified (analogous to CSS). + * Creates a MarginInfo object by having horizontal and vertical margins + * specified (analogous to CSS). * * @since 7.6.5 * @@ -89,7 +91,7 @@ public class MarginInfo implements Serializable { /** * Creates a MarginInfo with the same values as another MarginInfo object. - * + * * @param other * another MarginInfo object */ @@ -99,7 +101,7 @@ public class MarginInfo implements Serializable { /** * Enables or disables margins on all edges simultaneously. - * + * * @param enabled * if true, enables margins on all edges. If false, disables * margins on all edges. @@ -110,7 +112,7 @@ public class MarginInfo implements Serializable { /** * Sets margins on all edges individually. - * + * * @param top * enable or disable top margin * @param right @@ -127,7 +129,7 @@ public class MarginInfo implements Serializable { /** * Copies margin values from another MarginInfo object. - * + * * @param marginInfo * another marginInfo object */ @@ -137,9 +139,9 @@ public class MarginInfo implements Serializable { /** * Checks if this MarginInfo object has margins on all edges enabled. - * + * * @since 7.5.0 - * + * * @return true if all edges have margins enabled */ public boolean hasAll() { @@ -148,7 +150,7 @@ public class MarginInfo implements Serializable { /** * Checks if this MarginInfo object has the left edge margin enabled. - * + * * @return true if left edge margin is enabled */ public boolean hasLeft() { @@ -157,7 +159,7 @@ public class MarginInfo implements Serializable { /** * Checks if this MarginInfo object has the right edge margin enabled. - * + * * @return true if right edge margin is enabled */ public boolean hasRight() { @@ -166,7 +168,7 @@ public class MarginInfo implements Serializable { /** * Checks if this MarginInfo object has the top edge margin enabled. - * + * * @return true if top edge margin is enabled */ public boolean hasTop() { @@ -175,7 +177,7 @@ public class MarginInfo implements Serializable { /** * Checks if this MarginInfo object has the bottom edge margin enabled. - * + * * @return true if bottom edge margin is enabled */ public boolean hasBottom() { @@ -186,7 +188,7 @@ public class MarginInfo implements Serializable { * Returns the current bit mask that make up the margin settings. * <p> * This method is for internal use by the framework. - * + * * @return an integer bit mask */ @Deprecated @@ -210,8 +212,8 @@ public class MarginInfo implements Serializable { @Override public String toString() { - return "MarginInfo(" + hasTop() + ", " + hasRight() + ", " - + hasBottom() + ", " + hasLeft() + ")"; + return "MarginInfo(" + hasTop() + ", " + hasRight() + ", " + hasBottom() + + ", " + hasLeft() + ")"; } diff --git a/shared/src/main/java/com/vaadin/shared/ui/MediaControl.java b/shared/src/main/java/com/vaadin/shared/ui/MediaControl.java index ab31d6f95f..99a61febe2 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/MediaControl.java +++ b/shared/src/main/java/com/vaadin/shared/ui/MediaControl.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.shared.communication.ClientRpc; /** * Server to client RPC interface for controlling playback of the media. - * + * * @since 7.0 */ public interface MediaControl extends ClientRpc { diff --git a/shared/src/main/java/com/vaadin/shared/ui/MultiSelectMode.java b/shared/src/main/java/com/vaadin/shared/ui/MultiSelectMode.java index b628017a12..7050e43e58 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/MultiSelectMode.java +++ b/shared/src/main/java/com/vaadin/shared/ui/MultiSelectMode.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/shared/src/main/java/com/vaadin/shared/ui/Orientation.java b/shared/src/main/java/com/vaadin/shared/ui/Orientation.java index b370ba8109..2dd3c0a9b8 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/Orientation.java +++ b/shared/src/main/java/com/vaadin/shared/ui/Orientation.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/shared/src/main/java/com/vaadin/shared/ui/ShortCutConstants.java b/shared/src/main/java/com/vaadin/shared/ui/ShortCutConstants.java index d7049c2a74..b47ee031d0 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/ShortCutConstants.java +++ b/shared/src/main/java/com/vaadin/shared/ui/ShortCutConstants.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/shared/src/main/java/com/vaadin/shared/ui/TabIndexState.java b/shared/src/main/java/com/vaadin/shared/ui/TabIndexState.java index 1afe982546..4d8e45c4c2 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/TabIndexState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/TabIndexState.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,10 +20,10 @@ import com.vaadin.shared.annotations.NoLayout; /** * Interface implemented by state classes that support tab indexes. - * + * * @author Vaadin Ltd * @since 7.0.0 - * + * */ public class TabIndexState extends AbstractComponentState { diff --git a/shared/src/main/java/com/vaadin/shared/ui/absolutelayout/AbsoluteLayoutServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/absolutelayout/AbsoluteLayoutServerRpc.java index 9ec88db2c2..48c9fdd364 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/absolutelayout/AbsoluteLayoutServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/absolutelayout/AbsoluteLayoutServerRpc.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/shared/src/main/java/com/vaadin/shared/ui/absolutelayout/AbsoluteLayoutState.java b/shared/src/main/java/com/vaadin/shared/ui/absolutelayout/AbsoluteLayoutState.java index 865d1420d5..7f3a9a510c 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/absolutelayout/AbsoluteLayoutState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/absolutelayout/AbsoluteLayoutState.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/shared/src/main/java/com/vaadin/shared/ui/accordion/AccordionState.java b/shared/src/main/java/com/vaadin/shared/ui/accordion/AccordionState.java index cbb7447a25..13ae074aaa 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/accordion/AccordionState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/accordion/AccordionState.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/shared/src/main/java/com/vaadin/shared/ui/audio/AudioState.java b/shared/src/main/java/com/vaadin/shared/ui/audio/AudioState.java index f0b4501e82..c99a27aa58 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/audio/AudioState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/audio/AudioState.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 @@ import com.vaadin.shared.ui.AbstractMediaState; /** * Shared state for the Audio component. - * + * * @since 7.6 */ public class AudioState extends AbstractMediaState { diff --git a/shared/src/main/java/com/vaadin/shared/ui/browserframe/BrowserFrameState.java b/shared/src/main/java/com/vaadin/shared/ui/browserframe/BrowserFrameState.java index f8a5343cc9..90b51c05e4 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/browserframe/BrowserFrameState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/browserframe/BrowserFrameState.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/shared/src/main/java/com/vaadin/shared/ui/button/ButtonServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/button/ButtonServerRpc.java index d692fe5a6a..d95fabde88 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/button/ButtonServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/button/ButtonServerRpc.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,13 +20,13 @@ import com.vaadin.shared.communication.ServerRpc; /** * RPC interface for calls from client to server. - * + * * @since 7.0 */ public interface ButtonServerRpc extends ServerRpc { /** * Button click event. - * + * * @param mouseEventDetails * serialized mouse event details */ diff --git a/shared/src/main/java/com/vaadin/shared/ui/button/ButtonState.java b/shared/src/main/java/com/vaadin/shared/ui/button/ButtonState.java index 01ef9a038b..23fa0306d0 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/button/ButtonState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/button/ButtonState.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 @@ -23,9 +23,9 @@ import com.vaadin.shared.ui.TabIndexState; /** * Shared state for {@link com.vaadin.ui.Button} and * {@link com.vaadin.ui.NativeButton}. - * + * * @see AbstractComponentState - * + * * @since 7.0 */ public class ButtonState extends TabIndexState { diff --git a/shared/src/main/java/com/vaadin/shared/ui/button/NativeButtonState.java b/shared/src/main/java/com/vaadin/shared/ui/button/NativeButtonState.java index 378b84832d..0aa47c9e02 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/button/NativeButtonState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/button/NativeButtonState.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/shared/src/main/java/com/vaadin/shared/ui/calendar/CalendarClientRpc.java b/shared/src/main/java/com/vaadin/shared/ui/calendar/CalendarClientRpc.java index bffcde11a0..1c9817a11d 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/calendar/CalendarClientRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/calendar/CalendarClientRpc.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 @@ -18,10 +18,10 @@ package com.vaadin.shared.ui.calendar; import com.vaadin.shared.communication.ClientRpc; /** - * + * * @since 7.1 * @author Vaadin Ltd. - * + * */ public interface CalendarClientRpc extends ClientRpc { void scroll(int scrollPosition); diff --git a/shared/src/main/java/com/vaadin/shared/ui/calendar/CalendarEventId.java b/shared/src/main/java/com/vaadin/shared/ui/calendar/CalendarEventId.java index 67a5fe11e2..7228f3b35a 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/calendar/CalendarEventId.java +++ b/shared/src/main/java/com/vaadin/shared/ui/calendar/CalendarEventId.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 @@ import java.io.Serializable; /** * CalendarEventId contains static String identifiers for all Calendar events. * These are used both in the client and server side code. - * + * * @since 7.1 * @author Vaadin Ltd. */ diff --git a/shared/src/main/java/com/vaadin/shared/ui/calendar/CalendarServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/calendar/CalendarServerRpc.java index 7b7856fee9..7b1a9655ef 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/calendar/CalendarServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/calendar/CalendarServerRpc.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/shared/src/main/java/com/vaadin/shared/ui/calendar/CalendarState.java b/shared/src/main/java/com/vaadin/shared/ui/calendar/CalendarState.java index c26c4ead16..e209994a2e 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/calendar/CalendarState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/calendar/CalendarState.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/shared/src/main/java/com/vaadin/shared/ui/calendar/DateConstants.java b/shared/src/main/java/com/vaadin/shared/ui/calendar/DateConstants.java index 48f42eebbe..53220db78c 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/calendar/DateConstants.java +++ b/shared/src/main/java/com/vaadin/shared/ui/calendar/DateConstants.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 @@ -18,9 +18,9 @@ package com.vaadin.shared.ui.calendar; import java.io.Serializable; /** - * + * * @since 7.1 - * + * */ public class DateConstants implements Serializable { diff --git a/shared/src/main/java/com/vaadin/shared/ui/checkbox/CheckBoxServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/checkbox/CheckBoxServerRpc.java index f4124100e0..1aea954be1 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/checkbox/CheckBoxServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/checkbox/CheckBoxServerRpc.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,5 +21,6 @@ import com.vaadin.shared.communication.ServerRpc; public interface CheckBoxServerRpc extends ServerRpc { @Delayed - public void setChecked(boolean checked, MouseEventDetails mouseEventDetails); + public void setChecked(boolean checked, + MouseEventDetails mouseEventDetails); } diff --git a/shared/src/main/java/com/vaadin/shared/ui/checkbox/CheckBoxState.java b/shared/src/main/java/com/vaadin/shared/ui/checkbox/CheckBoxState.java index 10d3b46d93..2099fbd785 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/checkbox/CheckBoxState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/checkbox/CheckBoxState.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/shared/src/main/java/com/vaadin/shared/ui/colorpicker/Color.java b/shared/src/main/java/com/vaadin/shared/ui/colorpicker/Color.java index 8624327993..76dde6b3ed 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/colorpicker/Color.java +++ b/shared/src/main/java/com/vaadin/shared/ui/colorpicker/Color.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 @@ import java.io.Serializable; /** * Default implementation for color. - * + * * @since 7.0.0 */ public class Color implements Serializable { @@ -43,7 +43,7 @@ public class Color implements Serializable { /** * Creates a color that has the specified red, green, blue, and alpha values * within the range [0 - 255]. - * + * * @throws IllegalArgumentException * if <code>red</code>, <code>green</code>, <code>blue</code> or * <code>alpha</code> fall outside of the inclusive range from 0 @@ -68,7 +68,7 @@ public class Color implements Serializable { /** * Creates a color that has the specified red, green, and blue values within * the range [0 - 255]. Alpha gets the default value of 255. - * + * * @throws IllegalArgumentException * if <code>red</code>, <code>green</code> or <code>blue</code> * fall outside of the inclusive range from 0 to 255 @@ -85,12 +85,12 @@ public class Color implements Serializable { /** * Creates a color based on an RGB value. - * + * * @throws IllegalArgumentException * if converted values of <code>red</code>, <code>green</code>, * <code>blue</code> or <code>alpha</code> fall outside of the * inclusive range from 0 to 255 - * + * * @param rgb * the RGB value */ @@ -111,10 +111,10 @@ public class Color implements Serializable { /** * Checks that all values are within the acceptable range of [0, 255]. - * + * * @throws IllegalArgumentException * if any of the values fall outside of the range - * + * * @param red * @param green * @param blue @@ -125,11 +125,7 @@ public class Color implements Serializable { || !withinRange(alpha)) { String errorMessage = "All values must fall within range [0-255]. (red: " - + red - + ", green: " - + green - + ", blue: " - + blue + + red + ", green: " + green + ", blue: " + blue + ", alpha: " + alpha + ")"; throw new IllegalArgumentException(errorMessage); } @@ -137,7 +133,7 @@ public class Color implements Serializable { /** * Checks whether the value is within the acceptable range of [0, 255]. - * + * * @param value * @return true if the value falls within the range, false otherwise */ @@ -150,7 +146,7 @@ public class Color implements Serializable { /** * Returns the red value of the color. - * + * */ public int getRed() { return red; @@ -158,7 +154,7 @@ public class Color implements Serializable { /** * Sets the red value of the color. Value must be within the range [0, 255]. - * + * * @param red * new red value */ @@ -172,7 +168,7 @@ public class Color implements Serializable { /** * Returns the green value of the color. - * + * */ public int getGreen() { return green; @@ -181,7 +177,7 @@ public class Color implements Serializable { /** * Sets the green value of the color. Value must be within the range [0, * 255]. - * + * * @param green * new green value */ @@ -195,7 +191,7 @@ public class Color implements Serializable { /** * Returns the blue value of the color. - * + * */ public int getBlue() { return blue; @@ -204,7 +200,7 @@ public class Color implements Serializable { /** * Sets the blue value of the color. Value must be within the range [0, * 255]. - * + * * @param blue * new blue value */ @@ -218,7 +214,7 @@ public class Color implements Serializable { /** * Returns the alpha value of the color. - * + * */ public int getAlpha() { return alpha; @@ -227,7 +223,7 @@ public class Color implements Serializable { /** * Sets the alpha value of the color. Value must be within the range [0, * 255]. - * + * * @param alpha * new alpha value */ @@ -266,7 +262,7 @@ public class Color implements Serializable { /** * Returns converted HSV components of the color. - * + * */ public float[] getHSV() { float[] hsv = new float[3]; @@ -333,7 +329,7 @@ public class Color implements Serializable { * The <code>saturation</code> and <code>value</code> components should be * floating-point values within the range [0.0-1.0]. * <p> - * + * * @param hue * the hue of the color * @param saturation @@ -396,7 +392,7 @@ public class Color implements Serializable { /** * <p> * Converts HSL's hue, saturation and lightness into an RGB value. - * + * * @param hue * the hue of the color. The unit of the value is degrees and * should be between 0-360. @@ -406,7 +402,7 @@ public class Color implements Serializable { * @param lightness * the lightness of the color. The unit of the value is * percentages and should be between 0-100; - * + * * @return the RGB value of corresponding color */ public static int HSLtoRGB(int hue, int saturation, int lightness) { @@ -421,9 +417,10 @@ public class Color implements Serializable { if (saturationRatio == 0) { red = green = blue = (int) (lightnessRatio * 255.0f + 0.5f); } else { - float p = lightnessRatio < 0.5f ? lightnessRatio - * (1f + saturationRatio) : lightnessRatio + saturationRatio - - lightnessRatio * saturationRatio; + float p = lightnessRatio < 0.5f + ? lightnessRatio * (1f + saturationRatio) + : lightnessRatio + saturationRatio + - lightnessRatio * saturationRatio; float q = 2 * lightnessRatio - p; red = hslComponentToRgbComponent(p, q, hueRatio + (1f / 3f)); @@ -433,7 +430,8 @@ public class Color implements Serializable { return 0xff000000 | (red << 16) | (green << 8) | (blue << 0); } - private static int hslComponentToRgbComponent(float p, float q, float ratio) { + private static int hslComponentToRgbComponent(float p, float q, + float ratio) { if (ratio < 0) { ratio += 1; } else if (ratio > 1) { @@ -445,7 +443,8 @@ public class Color implements Serializable { } else if (2f * ratio < 1f) { return (int) (p * 255f + 0.5f); } else if (3f * ratio < 2f) { - return (int) ((q + (p - q) * ((2f / 3f) - ratio) * 6f) * 255f + 0.5f); + return (int) ((q + (p - q) * ((2f / 3f) - ratio) * 6f) * 255f + + 0.5f); } return (int) (q * 255f + 0.5f); diff --git a/shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerGradientServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerGradientServerRpc.java index 374a41a0fe..021b6d3fac 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerGradientServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerGradientServerRpc.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,15 +19,15 @@ import com.vaadin.shared.communication.ServerRpc; /** * RPC interface for ColorPickerGradient. - * + * * @since 7.0.0 - * + * */ public interface ColorPickerGradientServerRpc extends ServerRpc { /** * ColorPickerGradient mouseUp event. - * + * * @param cursorX * @param cursorY */ diff --git a/shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerGradientState.java b/shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerGradientState.java index 8245ffeaac..b0cd6e8590 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerGradientState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerGradientState.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 @@ import com.vaadin.shared.AbstractComponentState; /** * Default shared state implementation for ColorPickerGradient. - * + * * @since 7.0.0 */ public class ColorPickerGradientState extends AbstractComponentState { diff --git a/shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerGridServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerGridServerRpc.java index ce5c4317b4..3f4f89c63d 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerGridServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerGridServerRpc.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,15 +19,15 @@ import com.vaadin.shared.communication.ServerRpc; /** * RPC interface for ColorPickerGrid. - * + * * @since 7.0.0 - * + * */ public interface ColorPickerGridServerRpc extends ServerRpc { /** * ColorPickerGrid click event. - * + * * @param x * @param y */ diff --git a/shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerGridState.java b/shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerGridState.java index e3e90f5418..981b4f049e 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerGridState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerGridState.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 @@ import com.vaadin.shared.AbstractComponentState; /** * Default shared state implementation for ColorPickerGrid. - * + * * @since 7.0.0 */ public class ColorPickerGridState extends AbstractComponentState { diff --git a/shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerServerRpc.java index f556625025..d5516758fd 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerServerRpc.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,17 +19,17 @@ import com.vaadin.shared.communication.ServerRpc; /** * RPC interface for AbstractColorPicker. - * + * * @since 7.0.0 - * + * */ public interface ColorPickerServerRpc extends ServerRpc { /** * ColorPicker click event. - * + * * @param openPopup - * + * */ public void openPopup(boolean openPopup); diff --git a/shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerState.java b/shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerState.java index 3fdce20ce7..077929295d 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerState.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 @@ import com.vaadin.shared.annotations.DelegateToWidget; /** * Default shared state implementation for AbstractColorPicker. - * + * * @since 7.0.0 */ public class ColorPickerState extends AbstractComponentState { diff --git a/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxConstants.java b/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxConstants.java index aeb04ba75f..e20b2b90fe 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxConstants.java +++ b/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxConstants.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/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxState.java b/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxState.java index 46e24aa266..0843ed01f3 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxState.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 @@ import com.vaadin.shared.ui.select.AbstractSelectState; /** * Shared state for the ComboBox component. - * + * * @since 7.0 */ public class ComboBoxState extends AbstractSelectState { diff --git a/shared/src/main/java/com/vaadin/shared/ui/combobox/FilteringMode.java b/shared/src/main/java/com/vaadin/shared/ui/combobox/FilteringMode.java index 1c0b743cc6..e3ccc681e8 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/combobox/FilteringMode.java +++ b/shared/src/main/java/com/vaadin/shared/ui/combobox/FilteringMode.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/shared/src/main/java/com/vaadin/shared/ui/csslayout/CssLayoutServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/csslayout/CssLayoutServerRpc.java index 1ff2f83d08..bc1d0882d9 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/csslayout/CssLayoutServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/csslayout/CssLayoutServerRpc.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/shared/src/main/java/com/vaadin/shared/ui/csslayout/CssLayoutState.java b/shared/src/main/java/com/vaadin/shared/ui/csslayout/CssLayoutState.java index 5fe61082d5..d232c3ceb9 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/csslayout/CssLayoutState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/csslayout/CssLayoutState.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/shared/src/main/java/com/vaadin/shared/ui/customlayout/CustomLayoutState.java b/shared/src/main/java/com/vaadin/shared/ui/customlayout/CustomLayoutState.java index 04c7eed7e4..6f123c5e8a 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/customlayout/CustomLayoutState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/customlayout/CustomLayoutState.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/shared/src/main/java/com/vaadin/shared/ui/datefield/DateFieldConstants.java b/shared/src/main/java/com/vaadin/shared/ui/datefield/DateFieldConstants.java index 48bc74c690..d06c581d9c 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/datefield/DateFieldConstants.java +++ b/shared/src/main/java/com/vaadin/shared/ui/datefield/DateFieldConstants.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/shared/src/main/java/com/vaadin/shared/ui/datefield/InlineDateFieldState.java b/shared/src/main/java/com/vaadin/shared/ui/datefield/InlineDateFieldState.java index b15d28f706..fe457455c2 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/datefield/InlineDateFieldState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/datefield/InlineDateFieldState.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/shared/src/main/java/com/vaadin/shared/ui/datefield/PopupDateFieldState.java b/shared/src/main/java/com/vaadin/shared/ui/datefield/PopupDateFieldState.java index 6f10af4314..f7f6f1e7fc 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/datefield/PopupDateFieldState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/datefield/PopupDateFieldState.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/shared/src/main/java/com/vaadin/shared/ui/datefield/Resolution.java b/shared/src/main/java/com/vaadin/shared/ui/datefield/Resolution.java index 689db11188..5ad7e5ba4c 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/datefield/Resolution.java +++ b/shared/src/main/java/com/vaadin/shared/ui/datefield/Resolution.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 @@ import java.util.List; /** * Resolutions for DateFields - * + * * @author Vaadin Ltd. * @since 7.0 */ @@ -38,7 +38,7 @@ public enum Resolution { /** * Returns the field in java.util.Calendar that corresponds to this * resolution. - * + * * @return one of the field numbers used by Calendar */ public int getCalendarField() { @@ -49,7 +49,7 @@ public enum Resolution { * Returns the resolutions that are higher or equal to the given resolution, * starting from the given resolution. In other words passing DAY to this * methods returns DAY,MONTH,YEAR - * + * * @param r * The resolution to start from * @return An iterable for the resolutions higher or equal to r @@ -68,7 +68,7 @@ public enum Resolution { * Returns the resolutions that are lower than the given resolution, * starting from the given resolution. In other words passing DAY to this * methods returns HOUR,MINUTE,SECOND. - * + * * @param r * The resolution to start from * @return An iterable for the resolutions lower than r diff --git a/shared/src/main/java/com/vaadin/shared/ui/datefield/TextualDateFieldState.java b/shared/src/main/java/com/vaadin/shared/ui/datefield/TextualDateFieldState.java index bf38ee04a9..7db3407f4b 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/datefield/TextualDateFieldState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/datefield/TextualDateFieldState.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/shared/src/main/java/com/vaadin/shared/ui/dd/AcceptCriterion.java b/shared/src/main/java/com/vaadin/shared/ui/dd/AcceptCriterion.java index fa3ec107a2..1fd1535ad7 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/dd/AcceptCriterion.java +++ b/shared/src/main/java/com/vaadin/shared/ui/dd/AcceptCriterion.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,10 +27,10 @@ import java.lang.annotation.Target; * <p> * Annotations are used at GWT compilation phase, so remember to rebuild your * widgetset if you do changes for {@link AcceptCriterion} mappings. - * + * * Prior to Vaadin 7, the mapping was done with an annotation on server side * classes. - * + * * @since 7.0 */ @Retention(RetentionPolicy.RUNTIME) diff --git a/shared/src/main/java/com/vaadin/shared/ui/dd/DragEventType.java b/shared/src/main/java/com/vaadin/shared/ui/dd/DragEventType.java index f894ed6219..c063266a3c 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/dd/DragEventType.java +++ b/shared/src/main/java/com/vaadin/shared/ui/dd/DragEventType.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/shared/src/main/java/com/vaadin/shared/ui/dd/HorizontalDropLocation.java b/shared/src/main/java/com/vaadin/shared/ui/dd/HorizontalDropLocation.java index 064815695a..144f9c6df0 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/dd/HorizontalDropLocation.java +++ b/shared/src/main/java/com/vaadin/shared/ui/dd/HorizontalDropLocation.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/shared/src/main/java/com/vaadin/shared/ui/dd/VerticalDropLocation.java b/shared/src/main/java/com/vaadin/shared/ui/dd/VerticalDropLocation.java index d64a48946a..aa23dd28d5 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/dd/VerticalDropLocation.java +++ b/shared/src/main/java/com/vaadin/shared/ui/dd/VerticalDropLocation.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/shared/src/main/java/com/vaadin/shared/ui/draganddropwrapper/DragAndDropWrapperConstants.java b/shared/src/main/java/com/vaadin/shared/ui/draganddropwrapper/DragAndDropWrapperConstants.java index 9dda86ad73..32e885122f 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/draganddropwrapper/DragAndDropWrapperConstants.java +++ b/shared/src/main/java/com/vaadin/shared/ui/draganddropwrapper/DragAndDropWrapperConstants.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/shared/src/main/java/com/vaadin/shared/ui/draganddropwrapper/DragAndDropWrapperServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/draganddropwrapper/DragAndDropWrapperServerRpc.java index 241518c3e3..a6ed2e5b6c 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/draganddropwrapper/DragAndDropWrapperServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/draganddropwrapper/DragAndDropWrapperServerRpc.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 @@ import com.vaadin.shared.communication.ServerRpc; /** * RPC interface for calls from client to server. - * + * * @since 7.6.4 * @author Vaadin Ltd */ diff --git a/shared/src/main/java/com/vaadin/shared/ui/embedded/EmbeddedConstants.java b/shared/src/main/java/com/vaadin/shared/ui/embedded/EmbeddedConstants.java index 6aadb43b05..398cb30841 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/embedded/EmbeddedConstants.java +++ b/shared/src/main/java/com/vaadin/shared/ui/embedded/EmbeddedConstants.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/shared/src/main/java/com/vaadin/shared/ui/embedded/EmbeddedServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/embedded/EmbeddedServerRpc.java index 3b293ecdb2..516dfa2ea9 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/embedded/EmbeddedServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/embedded/EmbeddedServerRpc.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/shared/src/main/java/com/vaadin/shared/ui/embedded/EmbeddedState.java b/shared/src/main/java/com/vaadin/shared/ui/embedded/EmbeddedState.java index 9f12a917e5..ccc846ad4c 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/embedded/EmbeddedState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/embedded/EmbeddedState.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/shared/src/main/java/com/vaadin/shared/ui/flash/FlashState.java b/shared/src/main/java/com/vaadin/shared/ui/flash/FlashState.java index d974650030..65f345898b 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/flash/FlashState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/flash/FlashState.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/shared/src/main/java/com/vaadin/shared/ui/form/FormState.java b/shared/src/main/java/com/vaadin/shared/ui/form/FormState.java index 99ed11f8df..0c9edf97ce 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/form/FormState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/form/FormState.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/shared/src/main/java/com/vaadin/shared/ui/grid/ColumnGroupState.java b/shared/src/main/java/com/vaadin/shared/ui/grid/ColumnGroupState.java index 79e6c9a89f..601ca58a57 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/ColumnGroupState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/ColumnGroupState.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 java.util.List; /** * The column group data shared between the server and the client - * + * * @since 7.4 * @author Vaadin Ltd */ diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/DetailsConnectorChange.java b/shared/src/main/java/com/vaadin/shared/ui/grid/DetailsConnectorChange.java index 8b64d22423..18f808266e 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/DetailsConnectorChange.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/DetailsConnectorChange.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 @@ -23,7 +23,7 @@ import com.vaadin.shared.Connector; /** * A description of an indexing modification for a connector. This is used by * Grid for internal bookkeeping updates. - * + * * @since 7.5.0 * @author Vaadin Ltd */ @@ -58,7 +58,7 @@ public class DetailsConnectorChange implements Serializable { * <p> * Calling this constructor will also assert that the state of the pojo is * consistent by internal assumptions. - * + * * @param connector * the changed connector * @param oldIndex @@ -84,12 +84,11 @@ public class DetailsConnectorChange implements Serializable { boolean connectorAndNewIndexIsNullThenOldIndexIsSet = connector == null && newIndex == null && oldIndex != null; - assert (connectorAndNewIndexIsNotNull || connectorAndNewIndexIsNullThenOldIndexIsSet) : "connector: " - + nullityString(connector) - + ", oldIndex: " - + nullityString(oldIndex) - + ", newIndex: " - + nullityString(newIndex); + assert (connectorAndNewIndexIsNotNull + || connectorAndNewIndexIsNullThenOldIndexIsSet) : "connector: " + + nullityString(connector) + ", oldIndex: " + + nullityString(oldIndex) + ", newIndex: " + + nullityString(newIndex); return true; } @@ -102,7 +101,7 @@ public class DetailsConnectorChange implements Serializable { * <p> * If <code>null</code>, the connector is recently added. This means that * {@link #getConnector()} is expected not to return <code>null</code>. - * + * * @return the old index for the connector */ public Integer getOldIndex() { @@ -115,7 +114,7 @@ public class DetailsConnectorChange implements Serializable { * <p> * If <code>null</code>, the connector should be removed. This means that * {@link #getConnector()} is expected to return <code>null</code> as well. - * + * * @return the new index for the connector */ public Integer getNewIndex() { @@ -125,7 +124,7 @@ public class DetailsConnectorChange implements Serializable { /** * Gets the changed connector. - * + * * @return the changed connector. Might be <code>null</code> */ public Connector getConnector() { @@ -135,7 +134,7 @@ public class DetailsConnectorChange implements Serializable { /** * Sets the changed connector. - * + * * @param connector * the changed connector. May be <code>null</code> */ @@ -145,7 +144,7 @@ public class DetailsConnectorChange implements Serializable { /** * Sets the old index - * + * * @param oldIndex * the old index. May be <code>null</code> if a new connector is * being inserted @@ -156,7 +155,7 @@ public class DetailsConnectorChange implements Serializable { /** * Sets the new index - * + * * @param newIndex * the new index. May be <code>null</code> if a connector is * being removed @@ -168,7 +167,7 @@ public class DetailsConnectorChange implements Serializable { /** * Checks whether whether the details should remain open, even if connector * might be <code>null</code>. - * + * * @return <code>true</code> iff the details should remain open, even if * connector might be <code>null</code> */ @@ -179,7 +178,7 @@ public class DetailsConnectorChange implements Serializable { /** * Sets whether the details should remain open, even if connector might be * <code>null</code>. - * + * * @param shouldStillBeVisible * <code>true</code> iff the details should remain open, even if * connector might be <code>null</code> diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/EditorClientRpc.java b/shared/src/main/java/com/vaadin/shared/ui/grid/EditorClientRpc.java index 61066f28c2..e58b685469 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/EditorClientRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/EditorClientRpc.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.shared.communication.ClientRpc; /** * An RPC interface for the grid editor server-to-client communications. - * + * * @since 7.4 * @author Vaadin Ltd */ @@ -29,7 +29,7 @@ public interface EditorClientRpc extends ClientRpc { /** * Tells the client to open the editor and bind data to it. - * + * * @param rowIndex * the index of the edited row */ @@ -37,7 +37,7 @@ public interface EditorClientRpc extends ClientRpc { /** * Tells the client to cancel editing and hide the editor. - * + * * @param rowIndex * the index of the edited row */ @@ -46,7 +46,7 @@ public interface EditorClientRpc extends ClientRpc { /** * Confirms a pending {@link EditorServerRpc#bind(int) bind request} sent by * the client. - * + * * @param bindSucceeded * <code>true</code> iff the bind action was successful */ @@ -55,7 +55,7 @@ public interface EditorClientRpc extends ClientRpc { /** * Confirms a pending {@link EditorServerRpc#save(int) save request} sent by * the client. - * + * * @param saveSucceeded * <code>true</code> iff the save action was successful * @param errorMessage diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/EditorServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/grid/EditorServerRpc.java index 34a16ccb38..26aa92e80b 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/EditorServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/EditorServerRpc.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 @@ import com.vaadin.shared.communication.ServerRpc; /** * An RPC interface for the grid editor client-to-server communications. - * + * * @since 7.4 * @author Vaadin Ltd */ @@ -30,7 +30,7 @@ public interface EditorServerRpc extends ServerRpc { * request is sent, it must be acknowledged with a * {@link EditorClientRpc#confirmBind() confirm call} before the client can * open the editor. - * + * * @param rowIndex * the index of the edited row */ @@ -40,7 +40,7 @@ public interface EditorServerRpc extends ServerRpc { * Asks the server to save unsaved changes in the editor to the data source. * When a save request is sent, it must be acknowledged with a * {@link EditorClientRpc#confirmSave() confirm call}. - * + * * @param rowIndex * the index of the edited row */ @@ -50,7 +50,7 @@ public interface EditorServerRpc extends ServerRpc { * Tells the server to cancel editing. When sending a cancel request, the * client does not need to wait for confirmation by the server before hiding * the editor. - * + * * @param rowIndex * the index of the edited row */ diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/GridClientRpc.java b/shared/src/main/java/com/vaadin/shared/ui/grid/GridClientRpc.java index ac1b1d5a78..c3778a9901 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/GridClientRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/GridClientRpc.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 @@ import com.vaadin.shared.communication.ClientRpc; /** * Server-to-client RPC interface for the Grid component. - * + * * @since 7.4 * @author Vaadin Ltd */ @@ -28,7 +28,7 @@ public interface GridClientRpc extends ClientRpc { /** * Command client Grid to scroll to a specific data row and its (optional) * details. - * + * * @param row * zero-based row index. If the row index is below zero or above * the row count of the client-side data source, a client-side diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/GridColumnState.java b/shared/src/main/java/com/vaadin/shared/ui/grid/GridColumnState.java index 98fa553330..9dcf1eda1d 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/GridColumnState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/GridColumnState.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.vaadin.shared.Connector; /** * Column state DTO for transferring column properties from the server to the * client - * + * * @since 7.4 * @author Vaadin Ltd */ diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/GridConstants.java b/shared/src/main/java/com/vaadin/shared/ui/grid/GridConstants.java index 0f1af94456..e7209bd70f 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/GridConstants.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/GridConstants.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 @@ import java.io.Serializable; /** * Container class for common constants and default values used by the Grid * component. - * + * * @since 7.4 * @author Vaadin Ltd */ @@ -28,7 +28,7 @@ public final class GridConstants implements Serializable { /** * Enum describing different sections of Grid. - * + * * @since 7.6 */ public enum Section { diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/GridServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/grid/GridServerRpc.java index 336e8097c0..8696afa403 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/GridServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/GridServerRpc.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,7 +24,7 @@ import com.vaadin.shared.ui.grid.GridConstants.Section; /** * Client-to-server RPC interface for the Grid component - * + * * @since 7.4 * @author Vaadin Ltd */ @@ -35,7 +35,7 @@ public interface GridServerRpc extends ServerRpc { /** * Informs the server that an item has been clicked in Grid. - * + * * @param rowKey * a key identifying the clicked item * @param columnId @@ -47,7 +47,7 @@ public interface GridServerRpc extends ServerRpc { /** * Informs the server that a context click has happened inside of Grid. - * + * * @since 7.6 * @param rowIndex * index of clicked row in Grid section @@ -65,7 +65,7 @@ public interface GridServerRpc extends ServerRpc { /** * Informs the server that the columns of the Grid have been reordered. - * + * * @since 7.5.0 * @param newColumnOrder * a list of column ids in the new order @@ -77,7 +77,7 @@ public interface GridServerRpc extends ServerRpc { /** * Informs the server that a column's visibility has been changed. - * + * * @since 7.5.0 * @param id * the id of the column @@ -92,7 +92,7 @@ public interface GridServerRpc extends ServerRpc { /** * Informs the server that a column has been resized by the user. - * + * * @since 7.6 * @param id * the id of the column diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/GridState.java b/shared/src/main/java/com/vaadin/shared/ui/grid/GridState.java index 54ccc78daa..f20f519439 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/GridState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/GridState.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 @@ -25,7 +25,7 @@ import com.vaadin.shared.ui.TabIndexState; /** * The shared state for the {@link com.vaadin.ui.components.grid.Grid} component - * + * * @since 7.4 * @author Vaadin Ltd */ @@ -37,14 +37,14 @@ public class GridState extends TabIndexState { * <p> * Used as a data transfer object instead of the client/server ones, because * they don't know about each others classes. - * + * * @see com.vaadin.ui.components.grid.Grid.SelectionMode * @see com.vaadin.client.ui.grid.Grid.SelectionMode */ public enum SharedSelectionMode { /** * Representation of a single selection mode - * + * * @see com.vaadin.ui.components.grid.Grid.SelectionMode#SINGLE * @see com.vaadin.client.ui.grid.Grid.SelectionMode#SINGLE */ @@ -52,7 +52,7 @@ public class GridState extends TabIndexState { /** * Representation of a multiselection mode - * + * * @see com.vaadin.ui.components.grid.Grid.SelectionMode#MULTI * @see com.vaadin.client.ui.grid.Grid.SelectionMode#MULTI */ @@ -60,7 +60,7 @@ public class GridState extends TabIndexState { /** * Representation of a no-selection mode - * + * * @see com.vaadin.ui.components.grid.Grid.SelectionMode#NONE * @see com.vaadin.client.ui.grid.Grid.SelectionMode#NONE */ @@ -76,35 +76,35 @@ public class GridState extends TabIndexState { /** * The key in which a row's data can be found - * + * * @see com.vaadin.shared.data.DataProviderRpc#setRowData(int, String) */ public static final String JSONKEY_DATA = "d"; /** * The key in which a row's own key can be found - * + * * @see com.vaadin.shared.data.DataProviderRpc#setRowData(int, String) */ public static final String JSONKEY_ROWKEY = "k"; /** * The key in which a row's generated style can be found - * + * * @see com.vaadin.shared.data.DataProviderRpc#setRowData(int, String) */ public static final String JSONKEY_ROWSTYLE = "rs"; /** * The key in which a generated styles for a row's cells can be found - * + * * @see com.vaadin.shared.data.DataProviderRpc#setRowData(int, String) */ public static final String JSONKEY_CELLSTYLES = "cs"; /** * The key in which a row's description can be found - * + * * @since 7.6 * @see com.vaadin.shared.data.DataProviderRpc#setRowData(int, String) */ @@ -112,7 +112,7 @@ public class GridState extends TabIndexState { /** * The key in which a cell's description can be found - * + * * @since 7.6 * @see com.vaadin.shared.data.DataProviderRpc#setRowData(int, String) */ @@ -120,19 +120,19 @@ public class GridState extends TabIndexState { /** * The key that tells whether details are visible for the row. - * + * * @since 7.5.0 - * + * * @see com.vaadin.ui.Grid#setDetailsGenerator(com.vaadin.ui.Grid.DetailsGenerator) * @see com.vaadin.ui.Grid#setDetailsVisible(Object, boolean) * @see com.vaadin.shared.data.DataProviderRpc#setRowData(int, * elemental.json.JsonArray) - * */ + */ public static final String JSONKEY_DETAILS_VISIBLE = "dv"; /** * The key that tells whether row is selected. - * + * * @since 7.6 */ public static final String JSONKEY_SELECTED = "s"; @@ -177,7 +177,7 @@ public class GridState extends TabIndexState { /** * Buffered editor mode - * + * * @since 7.6 */ @DelegateToWidget @@ -185,7 +185,7 @@ public class GridState extends TabIndexState { /** * Whether rows and/or cells have generated descriptions (tooltips) - * + * * @since 7.6 */ public boolean hasDescriptions; diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/GridStaticCellType.java b/shared/src/main/java/com/vaadin/shared/ui/grid/GridStaticCellType.java index c646717d2c..ba69cf4639 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/GridStaticCellType.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/GridStaticCellType.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,7 +17,7 @@ package com.vaadin.shared.ui.grid; /** * Enumeration, specifying the content type of a Cell in a GridStaticSection. - * + * * @since 7.4 * @author Vaadin Ltd */ diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/GridStaticSectionState.java b/shared/src/main/java/com/vaadin/shared/ui/grid/GridStaticSectionState.java index a3c485af08..6e3a752e74 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/GridStaticSectionState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/GridStaticSectionState.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.shared.Connector; /** * Shared state for Grid headers and footers. - * + * * @since 7.4 * @author Vaadin Ltd */ diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/HeightMode.java b/shared/src/main/java/com/vaadin/shared/ui/grid/HeightMode.java index 7fc992566f..9945771504 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/HeightMode.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/HeightMode.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.shared.ui.grid; * {@link com.vaadin.client.ui.grid.Grid client} and * {@link com.vaadin.ui.components.grid.Grid server}) / * {@link com.vaadin.client.ui.grid.Escalator Escalator}. - * + * * @since 7.4 * @author Vaadin Ltd * @see com.vaadin.client.ui.grid.Grid#setHeightMode(HeightMode) diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/Range.java b/shared/src/main/java/com/vaadin/shared/ui/grid/Range.java index 21e70d3dbf..395d684d5e 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/Range.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/Range.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 java.io.Serializable; * <p> * The range is considered {@link #isEmpty() empty} if the start is the same as * the end. - * + * * @since 7.4 * @author Vaadin Ltd */ @@ -36,7 +36,7 @@ public final class Range implements Serializable { /** * Creates a range object representing a single integer. - * + * * @param integer * the number to represent as a range * @return the range represented by <code>integer</code> @@ -51,7 +51,7 @@ public final class Range implements Serializable { * The range start is <em>inclusive</em> and the end is <em>exclusive</em>. * So, a range "between" 0 and 5 represents the numbers 0, 1, 2, 3 and 4, * but not 5. - * + * * @param start * the start of the the range, inclusive * @param end @@ -67,7 +67,7 @@ public final class Range implements Serializable { /** * Creates a range from a start point, with a given length. - * + * * @param start * the first integer to include in the range * @param length @@ -92,7 +92,7 @@ public final class Range implements Serializable { /** * Creates a new range between two numbers: <code>[start..end[</code>. - * + * * @param start * the start integer, inclusive * @param end @@ -113,7 +113,7 @@ public final class Range implements Serializable { /** * Returns the <em>inclusive</em> start point of this range. - * + * * @return the start point of this range */ public int getStart() { @@ -122,7 +122,7 @@ public final class Range implements Serializable { /** * Returns the <em>exclusive</em> end point of this range. - * + * * @return the end point of this range */ public int getEnd() { @@ -131,7 +131,7 @@ public final class Range implements Serializable { /** * The number of integers contained in the range. - * + * * @return the number of integers contained in the range */ public int length() { @@ -140,7 +140,7 @@ public final class Range implements Serializable { /** * Checks whether the range has no elements between the start and end. - * + * * @return <code>true</code> iff the range contains no elements. */ public boolean isEmpty() { @@ -150,7 +150,7 @@ public final class Range implements Serializable { /** * Checks whether this range and another range are at least partially * covering the same values. - * + * * @param other * the other range to check against * @return <code>true</code> if this and <code>other</code> intersect @@ -161,7 +161,7 @@ public final class Range implements Serializable { /** * Checks whether an integer is found within this range. - * + * * @param integer * an integer to test for presence in this range * @return <code>true</code> iff <code>integer</code> is in this range @@ -172,7 +172,7 @@ public final class Range implements Serializable { /** * Checks whether this range is a subset of another range. - * + * * @return <code>true</code> iff <code>other</code> completely wraps this * range */ @@ -196,7 +196,7 @@ public final class Range implements Serializable { * <li>Elements in this range that occur after elements in * <code>other</code>. * </ul> - * + * * @param other * the other range to act as delimiters. * @return a three-element Range array of partitions depicting the elements @@ -213,7 +213,7 @@ public final class Range implements Serializable { /** * Get a range that is based on this one, but offset by a number. - * + * * @param offset * the number to offset by * @return a copy of this range, offset by <code>offset</code> @@ -264,7 +264,7 @@ public final class Range implements Serializable { /** * Checks whether this range starts before the start of another range. - * + * * @param other * the other range to compare against * @return <code>true</code> iff this range starts before the @@ -276,7 +276,7 @@ public final class Range implements Serializable { /** * Checks whether this range ends before the start of another range. - * + * * @param other * the other range to compare against * @return <code>true</code> iff this range ends before the @@ -288,7 +288,7 @@ public final class Range implements Serializable { /** * Checks whether this range ends after the end of another range. - * + * * @param other * the other range to compare against * @return <code>true</code> iff this range ends after the @@ -300,7 +300,7 @@ public final class Range implements Serializable { /** * Checks whether this range starts after the end of another range. - * + * * @param other * the other range to compare against * @return <code>true</code> iff this range starts after the @@ -314,7 +314,7 @@ public final class Range implements Serializable { * Split the range into two at a certain integer. * <p> * <em>Example:</em> <code>[5..10[.splitAt(7) == [5..7[, [7..10[</code> - * + * * @param integer * the integer at which to split the range into two * @return an array of two ranges, with <code>[start..integer[</code> in the @@ -346,7 +346,7 @@ public final class Range implements Serializable { * <p> * <em>Example:</em> * <code>[5..10[.splitAtFromStart(2) == [5..7[, [7..10[</code> - * + * * @param length * the length at which to split this range into two * @return an array of two ranges, having the <code>length</code>-first @@ -363,19 +363,19 @@ public final class Range implements Serializable { /** * Combines two ranges to create a range containing all values in both * ranges, provided there are no gaps between the ranges. - * + * * @param other * the range to combine with this range - * + * * @return the combined range - * + * * @throws IllegalArgumentException * if the two ranges aren't connected */ public Range combineWith(Range other) throws IllegalArgumentException { if (getStart() > other.getEnd() || other.getStart() > getEnd()) { - throw new IllegalArgumentException("There is a gap between " + this - + " and " + other); + throw new IllegalArgumentException( + "There is a gap between " + this + " and " + other); } return Range.between(Math.min(getStart(), other.getStart()), @@ -384,14 +384,14 @@ public final class Range implements Serializable { /** * Creates a range that is expanded the given amounts in both ends. - * + * * @param startDelta * the amount to expand by in the beginning of the range * @param endDelta * the amount to expand by in the end of the range - * + * * @return an expanded range - * + * * @throws IllegalArgumentException * if the new range would have <code>start > end</code> */ @@ -409,7 +409,7 @@ public final class Range implements Serializable { * <p> * If the two ranges do not intersect, an empty range is returned. There are * no guarantees about the position of that range. - * + * * @param bounds * the bounds that the returned range should be limited to * @return a bounded range diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/ScrollDestination.java b/shared/src/main/java/com/vaadin/shared/ui/grid/ScrollDestination.java index 64cf070e46..3b8b963407 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/ScrollDestination.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/ScrollDestination.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 @@ -18,7 +18,7 @@ package com.vaadin.shared.ui.grid; /** * Enumeration, specifying the destinations that are supported when scrolling * rows or columns into view. - * + * * @since 7.4 * @author Vaadin Ltd */ diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/renderers/RendererClickRpc.java b/shared/src/main/java/com/vaadin/shared/ui/grid/renderers/RendererClickRpc.java index 658caef050..781884f262 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/renderers/RendererClickRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/renderers/RendererClickRpc.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 @@ public interface RendererClickRpc extends ServerRpc { /** * Called when a click event has occurred and there are server side * listeners for the event. - * + * * @param mouseDetails * Details about the mouse when the event took place */ diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/selection/MultiSelectionModelServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/grid/selection/MultiSelectionModelServerRpc.java index 1ddecb31e4..24cc53034a 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/selection/MultiSelectionModelServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/selection/MultiSelectionModelServerRpc.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.shared.communication.ServerRpc; /** * ServerRpc for MultiSelectionModel. - * + * * @since 7.6 * @author Vaadin Ltd */ @@ -29,7 +29,7 @@ public interface MultiSelectionModelServerRpc extends ServerRpc { /** * Select a list of rows based on their row keys on the server-side. - * + * * @param rowKeys * list of row keys to select */ @@ -37,7 +37,7 @@ public interface MultiSelectionModelServerRpc extends ServerRpc { /** * Deselect a list of rows based on their row keys on the server-side. - * + * * @param rowKeys * list of row keys to deselect */ diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/selection/MultiSelectionModelState.java b/shared/src/main/java/com/vaadin/shared/ui/grid/selection/MultiSelectionModelState.java index 3d56b65793..35da1d1e0b 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/selection/MultiSelectionModelState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/selection/MultiSelectionModelState.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 @@ import com.vaadin.shared.communication.SharedState; /** * SharedState object for MultiSelectionModel. - * + * * @since 7.6 * @author Vaadin Ltd */ diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/selection/SingleSelectionModelServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/grid/selection/SingleSelectionModelServerRpc.java index ff8e7c424b..e83138b703 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/selection/SingleSelectionModelServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/selection/SingleSelectionModelServerRpc.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 @@ import com.vaadin.shared.communication.ServerRpc; /** * ServerRpc for SingleSelectionModel. - * + * * @since 7.6 * @author Vaadin Ltd */ @@ -27,7 +27,7 @@ public interface SingleSelectionModelServerRpc extends ServerRpc { /** * Selects a row on server-side. - * + * * @param rowKey * row key of selected row; {@code null} if deselect */ diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/selection/SingleSelectionModelState.java b/shared/src/main/java/com/vaadin/shared/ui/grid/selection/SingleSelectionModelState.java index be8770a94e..de06dfc61a 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/selection/SingleSelectionModelState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/selection/SingleSelectionModelState.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 @@ import com.vaadin.shared.communication.SharedState; /** * SharedState object for SingleSelectionModel. - * + * * @since 7.6 * @author Vaadin Ltd */ diff --git a/shared/src/main/java/com/vaadin/shared/ui/gridlayout/GridLayoutServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/gridlayout/GridLayoutServerRpc.java index 70b49154ee..757a0e8c6e 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/gridlayout/GridLayoutServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/gridlayout/GridLayoutServerRpc.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/shared/src/main/java/com/vaadin/shared/ui/image/ImageServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/image/ImageServerRpc.java index ec03c7fe47..30e70403f1 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/image/ImageServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/image/ImageServerRpc.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/shared/src/main/java/com/vaadin/shared/ui/image/ImageState.java b/shared/src/main/java/com/vaadin/shared/ui/image/ImageState.java index b51913d168..2dc2ecccb6 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/image/ImageState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/image/ImageState.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/shared/src/main/java/com/vaadin/shared/ui/label/ContentMode.java b/shared/src/main/java/com/vaadin/shared/ui/label/ContentMode.java index 37e821536d..85dde63606 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/label/ContentMode.java +++ b/shared/src/main/java/com/vaadin/shared/ui/label/ContentMode.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,7 +17,7 @@ package com.vaadin.shared.ui.label; /** * Content modes defining how the client should interpret a Label's value. - * + * * @since 7.0.0 */ public enum ContentMode { @@ -40,7 +40,7 @@ public enum ContentMode { /** * Content mode, where the label contains well-formed or well-balanced XML. * This is handled in the same way as {@link #HTML}. - * + * * @deprecated Use {@link #HTML} instead */ @Deprecated @@ -49,7 +49,7 @@ public enum ContentMode { /** * Legacy content mode, where the label contains RAW output. This is handled * in exactly the same way as {@link #HTML}. - * + * * @deprecated Use {@link #HTML} instead */ @Deprecated diff --git a/shared/src/main/java/com/vaadin/shared/ui/label/LabelState.java b/shared/src/main/java/com/vaadin/shared/ui/label/LabelState.java index 8fd1d7c798..5f11337459 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/label/LabelState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/label/LabelState.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/shared/src/main/java/com/vaadin/shared/ui/link/LinkConstants.java b/shared/src/main/java/com/vaadin/shared/ui/link/LinkConstants.java index 399e6b6148..defacdd1bb 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/link/LinkConstants.java +++ b/shared/src/main/java/com/vaadin/shared/ui/link/LinkConstants.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/shared/src/main/java/com/vaadin/shared/ui/link/LinkState.java b/shared/src/main/java/com/vaadin/shared/ui/link/LinkState.java index 2b1f73b90a..51c951860f 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/link/LinkState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/link/LinkState.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/shared/src/main/java/com/vaadin/shared/ui/loginform/LoginFormConstants.java b/shared/src/main/java/com/vaadin/shared/ui/loginform/LoginFormConstants.java index 9f0c256881..0bfdf05606 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/loginform/LoginFormConstants.java +++ b/shared/src/main/java/com/vaadin/shared/ui/loginform/LoginFormConstants.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 @@ import java.io.Serializable; /** * Constants for LoginForm - * + * * @since 7.7 * @author Vaadin Ltd */ @@ -28,4 +28,3 @@ public class LoginFormConstants implements Serializable { public static final String LOGIN_RESOURCE_NAME = "loginForm"; } - diff --git a/shared/src/main/java/com/vaadin/shared/ui/loginform/LoginFormRpc.java b/shared/src/main/java/com/vaadin/shared/ui/loginform/LoginFormRpc.java index 76f88170a5..fa9a70e874 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/loginform/LoginFormRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/loginform/LoginFormRpc.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/shared/src/main/java/com/vaadin/shared/ui/loginform/LoginFormState.java b/shared/src/main/java/com/vaadin/shared/ui/loginform/LoginFormState.java index 1dee06a12d..95b9da9923 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/loginform/LoginFormState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/loginform/LoginFormState.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/shared/src/main/java/com/vaadin/shared/ui/menubar/MenuBarConstants.java b/shared/src/main/java/com/vaadin/shared/ui/menubar/MenuBarConstants.java index b34bc13a23..aa310244fd 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/menubar/MenuBarConstants.java +++ b/shared/src/main/java/com/vaadin/shared/ui/menubar/MenuBarConstants.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/shared/src/main/java/com/vaadin/shared/ui/menubar/MenuBarState.java b/shared/src/main/java/com/vaadin/shared/ui/menubar/MenuBarState.java index 6d6acebe18..4f2d85cc12 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/menubar/MenuBarState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/menubar/MenuBarState.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/shared/src/main/java/com/vaadin/shared/ui/optiongroup/OptionGroupConstants.java b/shared/src/main/java/com/vaadin/shared/ui/optiongroup/OptionGroupConstants.java index 5670b64b38..3f20a2e7b6 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/optiongroup/OptionGroupConstants.java +++ b/shared/src/main/java/com/vaadin/shared/ui/optiongroup/OptionGroupConstants.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/shared/src/main/java/com/vaadin/shared/ui/optiongroup/OptionGroupState.java b/shared/src/main/java/com/vaadin/shared/ui/optiongroup/OptionGroupState.java index f1676e0dd8..a2c79fd113 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/optiongroup/OptionGroupState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/optiongroup/OptionGroupState.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 @@ import com.vaadin.shared.ui.select.AbstractSelectState; /** * Shared state for the OptionGroup component. - * + * * @since 7.0 */ public class OptionGroupState extends AbstractSelectState { diff --git a/shared/src/main/java/com/vaadin/shared/ui/orderedlayout/AbstractOrderedLayoutServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/orderedlayout/AbstractOrderedLayoutServerRpc.java index 76e5267bb8..dfe5dfa43f 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/orderedlayout/AbstractOrderedLayoutServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/orderedlayout/AbstractOrderedLayoutServerRpc.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 @@ -18,7 +18,7 @@ package com.vaadin.shared.ui.orderedlayout; import com.vaadin.shared.communication.ServerRpc; import com.vaadin.shared.ui.LayoutClickRpc; -public interface AbstractOrderedLayoutServerRpc extends LayoutClickRpc, - ServerRpc { +public interface AbstractOrderedLayoutServerRpc + extends LayoutClickRpc, ServerRpc { } diff --git a/shared/src/main/java/com/vaadin/shared/ui/orderedlayout/AbstractOrderedLayoutState.java b/shared/src/main/java/com/vaadin/shared/ui/orderedlayout/AbstractOrderedLayoutState.java index c06b945ada..01c75246e9 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/orderedlayout/AbstractOrderedLayoutState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/orderedlayout/AbstractOrderedLayoutState.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/shared/src/main/java/com/vaadin/shared/ui/orderedlayout/FormLayoutState.java b/shared/src/main/java/com/vaadin/shared/ui/orderedlayout/FormLayoutState.java index b8134d2cee..e41a5a7c1a 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/orderedlayout/FormLayoutState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/orderedlayout/FormLayoutState.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,7 +17,7 @@ package com.vaadin.shared.ui.orderedlayout; /** * Shared state for the FormLayout component. - * + * * @since 7.6 */ public class FormLayoutState extends AbstractOrderedLayoutState { diff --git a/shared/src/main/java/com/vaadin/shared/ui/orderedlayout/HorizontalLayoutState.java b/shared/src/main/java/com/vaadin/shared/ui/orderedlayout/HorizontalLayoutState.java index 167e89f624..c8cdd068be 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/orderedlayout/HorizontalLayoutState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/orderedlayout/HorizontalLayoutState.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/shared/src/main/java/com/vaadin/shared/ui/orderedlayout/VerticalLayoutState.java b/shared/src/main/java/com/vaadin/shared/ui/orderedlayout/VerticalLayoutState.java index 4c83a8b1dd..9894aa37fe 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/orderedlayout/VerticalLayoutState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/orderedlayout/VerticalLayoutState.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/shared/src/main/java/com/vaadin/shared/ui/panel/PanelServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/panel/PanelServerRpc.java index 8bb98e8e5d..7c54d62585 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/panel/PanelServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/panel/PanelServerRpc.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/shared/src/main/java/com/vaadin/shared/ui/panel/PanelState.java b/shared/src/main/java/com/vaadin/shared/ui/panel/PanelState.java index 8f48fad921..9b31c318b8 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/panel/PanelState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/panel/PanelState.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/shared/src/main/java/com/vaadin/shared/ui/popupview/PopupViewServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/popupview/PopupViewServerRpc.java index af712b9e31..8236c04241 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/popupview/PopupViewServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/popupview/PopupViewServerRpc.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/shared/src/main/java/com/vaadin/shared/ui/popupview/PopupViewState.java b/shared/src/main/java/com/vaadin/shared/ui/popupview/PopupViewState.java index 86fda428a1..1153aebbde 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/popupview/PopupViewState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/popupview/PopupViewState.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/shared/src/main/java/com/vaadin/shared/ui/progressindicator/ProgressBarState.java b/shared/src/main/java/com/vaadin/shared/ui/progressindicator/ProgressBarState.java index 6f557489dd..ef01b92f38 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/progressindicator/ProgressBarState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/progressindicator/ProgressBarState.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.vaadin.shared.communication.SharedState; /** * {@link SharedState} for {@link com.vaadin.ui.ProgressBar} - * + * * @since 7.1 * @author Vaadin Ltd */ diff --git a/shared/src/main/java/com/vaadin/shared/ui/progressindicator/ProgressIndicatorServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/progressindicator/ProgressIndicatorServerRpc.java index f541395cef..2be54efb84 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/progressindicator/ProgressIndicatorServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/progressindicator/ProgressIndicatorServerRpc.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/shared/src/main/java/com/vaadin/shared/ui/progressindicator/ProgressIndicatorState.java b/shared/src/main/java/com/vaadin/shared/ui/progressindicator/ProgressIndicatorState.java index 9b3cf94d4a..97fa1125ed 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/progressindicator/ProgressIndicatorState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/progressindicator/ProgressIndicatorState.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/shared/src/main/java/com/vaadin/shared/ui/select/AbstractSelectState.java b/shared/src/main/java/com/vaadin/shared/ui/select/AbstractSelectState.java index 8ea306daf6..97a2223ff5 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/select/AbstractSelectState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/select/AbstractSelectState.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 @@ import com.vaadin.shared.AbstractFieldState; /** * Shared state for the AbstractSelect component. - * + * * @since 7.6 */ public class AbstractSelectState extends AbstractFieldState { diff --git a/shared/src/main/java/com/vaadin/shared/ui/slider/SliderOrientation.java b/shared/src/main/java/com/vaadin/shared/ui/slider/SliderOrientation.java index 74ccaa4e15..d1d44055d0 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/slider/SliderOrientation.java +++ b/shared/src/main/java/com/vaadin/shared/ui/slider/SliderOrientation.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/shared/src/main/java/com/vaadin/shared/ui/slider/SliderServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/slider/SliderServerRpc.java index 1938dc1de2..65e01701c5 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/slider/SliderServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/slider/SliderServerRpc.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 @@ public interface SliderServerRpc extends ServerRpc { /** * Invoked when the value of a variable has changed. Slider listeners are * notified if the slider value has changed. - * + * * @param value */ public void valueChanged(double value); diff --git a/shared/src/main/java/com/vaadin/shared/ui/slider/SliderState.java b/shared/src/main/java/com/vaadin/shared/ui/slider/SliderState.java index a96d35bc13..ee0c85120f 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/slider/SliderState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/slider/SliderState.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/shared/src/main/java/com/vaadin/shared/ui/splitpanel/AbstractSplitPanelRpc.java b/shared/src/main/java/com/vaadin/shared/ui/splitpanel/AbstractSplitPanelRpc.java index 7f1e9555d5..275bb06b7a 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/splitpanel/AbstractSplitPanelRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/splitpanel/AbstractSplitPanelRpc.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 @@ public interface AbstractSplitPanelRpc extends ServerRpc { /** * Called when the position has been updated by the user. - * + * * @param position * The new position in % if the current unit is %, in px * otherwise @@ -31,7 +31,7 @@ public interface AbstractSplitPanelRpc extends ServerRpc { /** * Called when a click event has occurred on the splitter. - * + * * @param mouseDetails * Details about the mouse when the event took place */ diff --git a/shared/src/main/java/com/vaadin/shared/ui/splitpanel/AbstractSplitPanelState.java b/shared/src/main/java/com/vaadin/shared/ui/splitpanel/AbstractSplitPanelState.java index 2db292d71d..974a97b7a6 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/splitpanel/AbstractSplitPanelState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/splitpanel/AbstractSplitPanelState.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/shared/src/main/java/com/vaadin/shared/ui/splitpanel/HorizontalSplitPanelState.java b/shared/src/main/java/com/vaadin/shared/ui/splitpanel/HorizontalSplitPanelState.java index 849cd89651..1de35449c0 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/splitpanel/HorizontalSplitPanelState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/splitpanel/HorizontalSplitPanelState.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/shared/src/main/java/com/vaadin/shared/ui/splitpanel/VerticalSplitPanelState.java b/shared/src/main/java/com/vaadin/shared/ui/splitpanel/VerticalSplitPanelState.java index cb06a2a076..4c1b518547 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/splitpanel/VerticalSplitPanelState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/splitpanel/VerticalSplitPanelState.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/shared/src/main/java/com/vaadin/shared/ui/table/CollapseMenuContent.java b/shared/src/main/java/com/vaadin/shared/ui/table/CollapseMenuContent.java index afeb7fb35a..1fb2586452 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/table/CollapseMenuContent.java +++ b/shared/src/main/java/com/vaadin/shared/ui/table/CollapseMenuContent.java @@ -19,9 +19,9 @@ package com.vaadin.shared.ui.table; /** * Defines whether only collapsible columns should be shown to the user in the * column collapse menu. - * + * * @see com.vaadin.ui.Table#setCollapseMenuContent(CollapseMenuContent) - * + * * @since 7.6 * @author Vaadin Ltd */ diff --git a/shared/src/main/java/com/vaadin/shared/ui/table/TableConstants.java b/shared/src/main/java/com/vaadin/shared/ui/table/TableConstants.java index 2bdb711153..64cda8f9b3 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/table/TableConstants.java +++ b/shared/src/main/java/com/vaadin/shared/ui/table/TableConstants.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 @@ import java.io.Serializable; public class TableConstants implements Serializable { /** * Enum describing different sections of Table. - * + * * @since 7.6 */ public enum Section { @@ -47,7 +47,7 @@ public class TableConstants implements Serializable { /** * Default value for {@link TableState#collapseMenuContent}. - * + * * @since 7.6 */ public static final CollapseMenuContent DEFAULT_COLLAPSE_MENU_CONTENT = CollapseMenuContent.ALL_COLUMNS; diff --git a/shared/src/main/java/com/vaadin/shared/ui/table/TableServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/table/TableServerRpc.java index 13d494afb7..02e4b99dc0 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/table/TableServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/table/TableServerRpc.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.shared.ui.table.TableConstants.Section; /** * Client-to-server RPC interface for the Table component - * + * * @since 7.6 * @author Vaadin Ltd */ diff --git a/shared/src/main/java/com/vaadin/shared/ui/table/TableState.java b/shared/src/main/java/com/vaadin/shared/ui/table/TableState.java index 9e225846b8..602cf413cd 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/table/TableState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/table/TableState.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 @@ import com.vaadin.shared.ui.select.AbstractSelectState; /** * Shared state for the Table component. - * + * * @since 7.0 */ public class TableState extends AbstractSelectState { diff --git a/shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabState.java b/shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabState.java index 3c8c1d76d0..243dd92afb 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabState.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 @@ import java.io.Serializable; /** * Shared state of a single tab in a Tabsheet or an Accordion. - * + * * @since 7.2 * @author Vaadin Ltd */ diff --git a/shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabsheetBaseConstants.java b/shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabsheetBaseConstants.java index 62cfd5cb81..fc0e353d37 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabsheetBaseConstants.java +++ b/shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabsheetBaseConstants.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/shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabsheetClientRpc.java b/shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabsheetClientRpc.java index 5b1497dd3b..dc82f865bf 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabsheetClientRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabsheetClientRpc.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 @@ import com.vaadin.shared.communication.ClientRpc; /** * Server to client RPC methods for the TabSheet. - * + * * @since 7.2 * @author Vaadin Ltd */ @@ -27,7 +27,7 @@ public interface TabsheetClientRpc extends ClientRpc { /** * Forces the client to switch to the tab that is selected by the server. - * + * * This is required e.g. for reverting tab selection change on the server * side (shared state does not change). */ diff --git a/shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabsheetConstants.java b/shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabsheetConstants.java index c99bf2eeb2..799aa192cb 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabsheetConstants.java +++ b/shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabsheetConstants.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/shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabsheetServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabsheetServerRpc.java index a96c616ec6..2e053ee4a2 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabsheetServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabsheetServerRpc.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 @@ import com.vaadin.shared.communication.ServerRpc; /** * Client to server RPC methods for the TabSheet. - * + * * @since 7.2 * @author Vaadin Ltd */ @@ -27,7 +27,7 @@ public interface TabsheetServerRpc extends ServerRpc { /** * Tell server that a tab has been selected by the user. - * + * * @param key * internal key of the tab */ @@ -35,7 +35,7 @@ public interface TabsheetServerRpc extends ServerRpc { /** * Tell server that a tab has been closed by the user. - * + * * @param key * internal key of the tab */ diff --git a/shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabsheetState.java b/shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabsheetState.java index 6059379dc5..f264f70321 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabsheetState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabsheetState.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/shared/src/main/java/com/vaadin/shared/ui/textarea/RichTextAreaState.java b/shared/src/main/java/com/vaadin/shared/ui/textarea/RichTextAreaState.java index 51c386ddfc..e73f079ca5 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/textarea/RichTextAreaState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/textarea/RichTextAreaState.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 @@ -18,9 +18,9 @@ package com.vaadin.shared.ui.textarea; import com.vaadin.shared.ui.textfield.AbstractTextFieldState; /** - * + * * Shared state for the RichTextArea component. - * + * * @since 7.6 */ public class RichTextAreaState extends AbstractTextFieldState { diff --git a/shared/src/main/java/com/vaadin/shared/ui/textarea/TextAreaState.java b/shared/src/main/java/com/vaadin/shared/ui/textarea/TextAreaState.java index c1f9536278..3350cb8451 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/textarea/TextAreaState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/textarea/TextAreaState.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/shared/src/main/java/com/vaadin/shared/ui/textfield/AbstractTextFieldState.java b/shared/src/main/java/com/vaadin/shared/ui/textfield/AbstractTextFieldState.java index 9d4272c22f..4f573a50aa 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/textfield/AbstractTextFieldState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/textfield/AbstractTextFieldState.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/shared/src/main/java/com/vaadin/shared/ui/textfield/TextFieldConstants.java b/shared/src/main/java/com/vaadin/shared/ui/textfield/TextFieldConstants.java index 242e53682b..cb11f126fd 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/textfield/TextFieldConstants.java +++ b/shared/src/main/java/com/vaadin/shared/ui/textfield/TextFieldConstants.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/shared/src/main/java/com/vaadin/shared/ui/tree/TreeConstants.java b/shared/src/main/java/com/vaadin/shared/ui/tree/TreeConstants.java index 33560dec53..6fb53be9d3 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/tree/TreeConstants.java +++ b/shared/src/main/java/com/vaadin/shared/ui/tree/TreeConstants.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/shared/src/main/java/com/vaadin/shared/ui/tree/TreeServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/tree/TreeServerRpc.java index 76b33aa8c3..59b43d3c12 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/tree/TreeServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/tree/TreeServerRpc.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 @@ import com.vaadin.shared.communication.ServerRpc; /** * Client-to-server RPC interface for the Tree component - * + * * @since 7.6 * @author Vaadin Ltd */ diff --git a/shared/src/main/java/com/vaadin/shared/ui/tree/TreeState.java b/shared/src/main/java/com/vaadin/shared/ui/tree/TreeState.java index 19a70e89f2..9d17e683c3 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/tree/TreeState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/tree/TreeState.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 @@ import com.vaadin.shared.ui.select.AbstractSelectState; /** * Shared state for the Table component. - * + * * @since 7.0 */ public class TreeState extends AbstractSelectState { diff --git a/shared/src/main/java/com/vaadin/shared/ui/treetable/TreeTableConstants.java b/shared/src/main/java/com/vaadin/shared/ui/treetable/TreeTableConstants.java index 510c18d245..72cc21a004 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/treetable/TreeTableConstants.java +++ b/shared/src/main/java/com/vaadin/shared/ui/treetable/TreeTableConstants.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/shared/src/main/java/com/vaadin/shared/ui/treetable/TreeTableState.java b/shared/src/main/java/com/vaadin/shared/ui/treetable/TreeTableState.java index ecc7d0f4c4..806f460c3f 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/treetable/TreeTableState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/treetable/TreeTableState.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/shared/src/main/java/com/vaadin/shared/ui/twincolselect/TwinColSelectConstants.java b/shared/src/main/java/com/vaadin/shared/ui/twincolselect/TwinColSelectConstants.java index 32422a38e5..9b50f87756 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/twincolselect/TwinColSelectConstants.java +++ b/shared/src/main/java/com/vaadin/shared/ui/twincolselect/TwinColSelectConstants.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/shared/src/main/java/com/vaadin/shared/ui/twincolselect/TwinColSelectState.java b/shared/src/main/java/com/vaadin/shared/ui/twincolselect/TwinColSelectState.java index 12505c4231..a1e93f84ba 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/twincolselect/TwinColSelectState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/twincolselect/TwinColSelectState.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 @@ import com.vaadin.shared.ui.select.AbstractSelectState; /** * Shared state for the TwinColSelect component. - * + * * @since 7.0 */ public class TwinColSelectState extends AbstractSelectState { diff --git a/shared/src/main/java/com/vaadin/shared/ui/ui/DebugWindowClientRpc.java b/shared/src/main/java/com/vaadin/shared/ui/ui/DebugWindowClientRpc.java index 9a5d269a87..f8c35129c0 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/ui/DebugWindowClientRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/ui/DebugWindowClientRpc.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 @@ import com.vaadin.shared.communication.ClientRpc; /** * Client RPC methods for the Debug Window. - * + * * @since 7.1 * @author Vaadin Ltd */ @@ -29,7 +29,7 @@ public interface DebugWindowClientRpc extends ClientRpc { /** * Send results from {@link DebugWindowServerRpc#analyzeLayouts()} back to * the client. - * + * * @since 7.1 * @param json * JSON containing list of found problems diff --git a/shared/src/main/java/com/vaadin/shared/ui/ui/DebugWindowServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/ui/DebugWindowServerRpc.java index b6f17661d0..7bedfd5fa9 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/ui/DebugWindowServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/ui/DebugWindowServerRpc.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 @@ -15,7 +15,7 @@ */ /** - * + * */ package com.vaadin.shared.ui.ui; @@ -24,7 +24,7 @@ import com.vaadin.shared.communication.ServerRpc; /** * Server RPC methods for the Debug Window. - * + * * @since 7.1 * @author Vaadin Ltd */ @@ -33,7 +33,7 @@ public interface DebugWindowServerRpc extends ServerRpc { * 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. - * + * * @since 7.1 * @param connector * the connector to locate @@ -42,7 +42,7 @@ public interface DebugWindowServerRpc extends ServerRpc { /** * Invokes the layout analyzer on the server - * + * * @since 7.1 */ public void analyzeLayouts(); @@ -50,7 +50,7 @@ public interface DebugWindowServerRpc extends ServerRpc { /** * Sends a request to the server to print a design to the console for the * given component. - * + * * @since 7.5 * @param connector * the component connector to output a declarative design for diff --git a/shared/src/main/java/com/vaadin/shared/ui/ui/NotificationRole.java b/shared/src/main/java/com/vaadin/shared/ui/ui/NotificationRole.java index b6f6c6bb83..0e513b853f 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/ui/NotificationRole.java +++ b/shared/src/main/java/com/vaadin/shared/ui/ui/NotificationRole.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/shared/src/main/java/com/vaadin/shared/ui/ui/PageClientRpc.java b/shared/src/main/java/com/vaadin/shared/ui/ui/PageClientRpc.java index a4c7d33ad1..01d0476ad2 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/ui/PageClientRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/ui/PageClientRpc.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/shared/src/main/java/com/vaadin/shared/ui/ui/PageState.java b/shared/src/main/java/com/vaadin/shared/ui/ui/PageState.java index b6dd5abb89..b3c334c1b8 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/ui/PageState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/ui/PageState.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,10 +19,10 @@ import java.io.Serializable; /** * The shared state of a {@link com.vaadin.server.Page Page}. - * + * * Note that at the moment this is not a stand-alone state class but embedded in * {@link UIState}. This might change in the future. - * + * * @since 7.1 */ public class PageState implements Serializable { diff --git a/shared/src/main/java/com/vaadin/shared/ui/ui/ScrollClientRpc.java b/shared/src/main/java/com/vaadin/shared/ui/ui/ScrollClientRpc.java index fb052a25e9..d39017791b 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/ui/ScrollClientRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/ui/ScrollClientRpc.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/shared/src/main/java/com/vaadin/shared/ui/ui/Transport.java b/shared/src/main/java/com/vaadin/shared/ui/ui/Transport.java index 6263f3039d..ea32957ab7 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/ui/Transport.java +++ b/shared/src/main/java/com/vaadin/shared/ui/ui/Transport.java @@ -29,13 +29,13 @@ public enum Transport { WEBSOCKET("websocket"), /** * Websockets for server to client, XHR for client to server - * + * * @since 7.6 */ WEBSOCKET_XHR("websocket-xhr"), /** * HTTP streaming - * + * * @deprecated Use the more reliable {@link Transport#LONG_POLLING} instead. */ @Deprecated diff --git a/shared/src/main/java/com/vaadin/shared/ui/ui/UIClientRpc.java b/shared/src/main/java/com/vaadin/shared/ui/ui/UIClientRpc.java index 5026189d71..abc995f535 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/ui/UIClientRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/ui/UIClientRpc.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 @@ import com.vaadin.shared.communication.ClientRpc; /** * Server to Client RPC methods for UI - * + * * @since 7.1 * @author Vaadin Ltd */ @@ -27,7 +27,7 @@ public interface UIClientRpc extends ClientRpc { /** * Informs the client that the UI has been closed - * + * * @param sessionExpired * true if the ui was closed because the session expired, false * otherwise diff --git a/shared/src/main/java/com/vaadin/shared/ui/ui/UIConstants.java b/shared/src/main/java/com/vaadin/shared/ui/ui/UIConstants.java index 429360e05d..6fb323ee79 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/ui/UIConstants.java +++ b/shared/src/main/java/com/vaadin/shared/ui/ui/UIConstants.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/shared/src/main/java/com/vaadin/shared/ui/ui/UIServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/ui/UIServerRpc.java index 554feaac76..45077f9094 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/ui/UIServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/ui/UIServerRpc.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/shared/src/main/java/com/vaadin/shared/ui/ui/UIState.java b/shared/src/main/java/com/vaadin/shared/ui/ui/UIState.java index 48ff9cdaaf..39085b87a4 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/ui/UIState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/ui/UIState.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 @@ -68,7 +68,7 @@ public class UIState extends TabIndexState { public PushConfigurationState pushConfiguration = new PushConfigurationState(); /** * Currently used theme. - * + * * @since 7.3 */ public String theme; @@ -79,8 +79,8 @@ public class UIState extends TabIndexState { tabIndex = 1; } - public static class LoadingIndicatorConfigurationState implements - Serializable { + public static class LoadingIndicatorConfigurationState + implements Serializable { public int firstDelay = 300; public int secondDelay = 1500; public int thirdDelay = 5000; @@ -119,15 +119,15 @@ public class UIState extends TabIndexState { public String pushUrl = null; public Map<String, String> parameters = new HashMap<String, String>(); { - parameters - .put(TRANSPORT_PARAM, Transport.WEBSOCKET.getIdentifier()); + parameters.put(TRANSPORT_PARAM, + Transport.WEBSOCKET.getIdentifier()); parameters.put(FALLBACK_TRANSPORT_PARAM, Transport.LONG_POLLING.getIdentifier()); } } - public static class ReconnectDialogConfigurationState implements - Serializable { + public static class ReconnectDialogConfigurationState + implements Serializable { public String dialogText = "Server connection lost, trying to reconnect..."; public String dialogTextGaveUp = "Server connection lost."; public int reconnectAttempts = 10000; diff --git a/shared/src/main/java/com/vaadin/shared/ui/upload/UploadClientRpc.java b/shared/src/main/java/com/vaadin/shared/ui/upload/UploadClientRpc.java index a5147147bc..aee3e8d5cb 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/upload/UploadClientRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/upload/UploadClientRpc.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/shared/src/main/java/com/vaadin/shared/ui/upload/UploadServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/upload/UploadServerRpc.java index 5a5a1378d1..10bd5d5484 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/upload/UploadServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/upload/UploadServerRpc.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 @@ public interface UploadServerRpc extends ServerRpc { /** * Event sent when the file name of the upload component is changed. - * + * * @param filename * The filename */ @@ -30,7 +30,7 @@ public interface UploadServerRpc extends ServerRpc { /** * Called to poll the server to see if any changes have been made e.g. when * starting upload - * + * * @since 7.6 */ void poll(); diff --git a/shared/src/main/java/com/vaadin/shared/ui/upload/UploadState.java b/shared/src/main/java/com/vaadin/shared/ui/upload/UploadState.java index f91d67631c..f0be08c57f 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/upload/UploadState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/upload/UploadState.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 @@ import com.vaadin.shared.AbstractComponentState; /** * Shared state for the Upload component. - * + * * @since 7.6 */ public class UploadState extends AbstractComponentState { diff --git a/shared/src/main/java/com/vaadin/shared/ui/video/VideoConstants.java b/shared/src/main/java/com/vaadin/shared/ui/video/VideoConstants.java index 0a61b88afc..4cf9898a82 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/video/VideoConstants.java +++ b/shared/src/main/java/com/vaadin/shared/ui/video/VideoConstants.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/shared/src/main/java/com/vaadin/shared/ui/video/VideoState.java b/shared/src/main/java/com/vaadin/shared/ui/video/VideoState.java index 91006f0f6a..da802fbd9a 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/video/VideoState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/video/VideoState.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/shared/src/main/java/com/vaadin/shared/ui/window/WindowMode.java b/shared/src/main/java/com/vaadin/shared/ui/window/WindowMode.java index e3438fe6a9..7a116b61c0 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/window/WindowMode.java +++ b/shared/src/main/java/com/vaadin/shared/ui/window/WindowMode.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,8 +20,8 @@ package com.vaadin.shared.ui.window; * <p> * A window mode decides the size and position of the Window. It can be set to * {@link #NORMAL} or {@link #MAXIMIZED}. - * - * + * + * * @author Vaadin Ltd * @since 7.1 */ diff --git a/shared/src/main/java/com/vaadin/shared/ui/window/WindowRole.java b/shared/src/main/java/com/vaadin/shared/ui/window/WindowRole.java index 5114c04bc2..6bcf6b7a29 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/window/WindowRole.java +++ b/shared/src/main/java/com/vaadin/shared/ui/window/WindowRole.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/shared/src/main/java/com/vaadin/shared/ui/window/WindowServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/window/WindowServerRpc.java index 6c7191c54d..e021333d46 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/window/WindowServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/window/WindowServerRpc.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/shared/src/main/java/com/vaadin/shared/ui/window/WindowState.java b/shared/src/main/java/com/vaadin/shared/ui/window/WindowState.java index 7dafba57ff..323d698ce5 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/window/WindowState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/window/WindowState.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/shared/src/main/java/com/vaadin/shared/util/SharedUtil.java b/shared/src/main/java/com/vaadin/shared/util/SharedUtil.java index 28c1ea3734..271e8d0e5e 100644 --- a/shared/src/main/java/com/vaadin/shared/util/SharedUtil.java +++ b/shared/src/main/java/com/vaadin/shared/util/SharedUtil.java @@ -64,7 +64,7 @@ public class SharedUtil implements Serializable { /** * Splits a camelCaseString into an array of words with the casing * preserved. - * + * * @since 7.4 * @param camelCaseString * The input string in camelCase format @@ -74,7 +74,8 @@ public class SharedUtil implements Serializable { StringBuilder sb = new StringBuilder(); for (int i = 0; i < camelCaseString.length(); i++) { char c = camelCaseString.charAt(i); - if (Character.isUpperCase(c) && isWordComplete(camelCaseString, i)) { + if (Character.isUpperCase(c) + && isWordComplete(camelCaseString, i)) { sb.append(' '); } sb.append(c); @@ -108,7 +109,7 @@ public class SharedUtil implements Serializable { * {@literal MyBeanContainer} becomes {@literal My Bean Container} * {@literal AwesomeURLFactory} becomes {@literal Awesome URL Factory} * {@literal SomeUriAction} becomes {@literal Some Uri Action} - * + * * @since 7.4 * @param camelCaseString * The input string in camelCase format @@ -135,7 +136,7 @@ public class SharedUtil implements Serializable { /** * Joins the words in the input array together into a single string by * inserting the separator string between each word. - * + * * @since 7.4 * @param parts * The array of words @@ -155,7 +156,7 @@ public class SharedUtil implements Serializable { /** * Capitalizes the first character in the given string in a way suitable for * use in code (methods, properties etc) - * + * * @since 7.4 * @param string * The string to capitalize @@ -178,7 +179,7 @@ public class SharedUtil implements Serializable { * Converts a property id to a human friendly format. Handles nested * properties by only considering the last part, e.g. "address.streetName" * is equal to "streetName" for this method. - * + * * @since 7.4 * @param propertyId * The propertyId to format @@ -247,7 +248,7 @@ public class SharedUtil implements Serializable { * <p> * {@literal foo} becomes {@literal foo} {@literal foo-bar} becomes * {@literal fooBar} {@literal foo--bar} becomes {@literal fooBar} - * + * * @since 7.5 * @param dashSeparated * The dash separated string to convert diff --git a/shared/src/test/java/com/vaadin/shared/ui/grid/RangeTest.java b/shared/src/test/java/com/vaadin/shared/ui/grid/RangeTest.java index e3cae858ee..bde581022b 100644 --- a/shared/src/test/java/com/vaadin/shared/ui/grid/RangeTest.java +++ b/shared/src/test/java/com/vaadin/shared/ui/grid/RangeTest.java @@ -1,12 +1,12 @@ /* * Copyright 2000-2013 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,8 @@ public class RangeTest { @Test public void constructorEquivalenceTest() { - assertEquals("10 == [10,11[", Range.withOnly(10), Range.between(10, 11)); + assertEquals("10 == [10,11[", Range.withOnly(10), + Range.between(10, 11)); assertEquals("[10,20[ == 10, length 10", Range.between(10, 20), Range.withLength(10, 10)); assertEquals("10 == 10, length 1", Range.withOnly(10), @@ -87,17 +88,18 @@ public class RangeTest { assertTrue("end-1 should be contained", range.contains(end - 1)); assertTrue("[0..10[ contains 5", Range.between(0, 10).contains(5)); - assertTrue("empty range does not contain 5", !Range.between(5, 5) - .contains(5)); + assertTrue("empty range does not contain 5", + !Range.between(5, 5).contains(5)); } @Test public void emptyTest() { assertTrue("[0..0[ should be empty", Range.between(0, 0).isEmpty()); - assertTrue("Range of length 0 should be empty", Range.withLength(0, 0) - .isEmpty()); + assertTrue("Range of length 0 should be empty", + Range.withLength(0, 0).isEmpty()); - assertTrue("[0..1[ should not be empty", !Range.between(0, 1).isEmpty()); + assertTrue("[0..1[ should not be empty", + !Range.between(0, 1).isEmpty()); assertTrue("Range of length 1 should not be empty", !Range.withLength(0, 1).isEmpty()); } @@ -151,18 +153,18 @@ public class RangeTest { @Test public void intersectsTest() { - assertTrue("[0..10[ intersects [5..15[", Range.between(0, 10) - .intersects(Range.between(5, 15))); - assertTrue("[0..10[ does not intersect [10..20[", !Range.between(0, 10) - .intersects(Range.between(10, 20))); + assertTrue("[0..10[ intersects [5..15[", + Range.between(0, 10).intersects(Range.between(5, 15))); + assertTrue("[0..10[ does not intersect [10..20[", + !Range.between(0, 10).intersects(Range.between(10, 20))); } @Test public void intersects_emptyInside() { - assertTrue("[5..5[ does intersect with [0..10[", Range.between(5, 5) - .intersects(Range.between(0, 10))); - assertTrue("[0..10[ does intersect with [5..5[", Range.between(0, 10) - .intersects(Range.between(5, 5))); + assertTrue("[5..5[ does intersect with [0..10[", + Range.between(5, 5).intersects(Range.between(0, 10))); + assertTrue("[0..10[ does intersect with [5..5[", + Range.between(0, 10).intersects(Range.between(5, 5))); } @Test @@ -175,14 +177,14 @@ public class RangeTest { @Test public void subsetTest() { - assertTrue("[5..10[ is subset of [0..20[", Range.between(5, 10) - .isSubsetOf(Range.between(0, 20))); + assertTrue("[5..10[ is subset of [0..20[", + Range.between(5, 10).isSubsetOf(Range.between(0, 20))); final Range range = Range.between(0, 10); assertTrue("range is subset of self", range.isSubsetOf(range)); - assertTrue("[0..10[ is not subset of [5..15[", !Range.between(0, 10) - .isSubsetOf(Range.between(5, 15))); + assertTrue("[0..10[ is not subset of [5..15[", + !Range.between(0, 10).isSubsetOf(Range.between(5, 15))); } @Test @@ -220,7 +222,8 @@ public class RangeTest { public void rangeEndsBeforeTest() { final Range former = Range.between(0, 5); final Range latter = Range.between(5, 10); - assertTrue("latter should end before former", former.endsBefore(latter)); + assertTrue("latter should end before former", + former.endsBefore(latter)); assertTrue("former shouldn't end before latter", !latter.endsBefore(former)); |