summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2015-10-07 14:39:00 +0300
committerVaadin Code Review <review@vaadin.com>2015-10-07 14:18:54 +0000
commitddf4e617b2cc12740fdb4a15c3d392743591a671 (patch)
tree77d4fb9b6716a9af45c521b0b66584945d923b29 /client
parentd1e8d68248dd9ec97378fa9b909e29dde4358073 (diff)
downloadvaadin-framework-ddf4e617b2cc12740fdb4a15c3d392743591a671.tar.gz
vaadin-framework-ddf4e617b2cc12740fdb4a15c3d392743591a671.zip
Update/add @since tags in javadoc
Change-Id: Ifd93251fdc20b93ad276c551796557bb9026766a
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ApplicationConfiguration.java2
-rw-r--r--client/src/com/vaadin/client/ApplicationConnection.java8
-rw-r--r--client/src/com/vaadin/client/ComputedStyle.java1
-rw-r--r--client/src/com/vaadin/client/LayoutManager.java4
-rw-r--r--client/src/com/vaadin/client/Profiler.java2
-rw-r--r--client/src/com/vaadin/client/Util.java2
-rw-r--r--client/src/com/vaadin/client/WidgetUtil.java2
-rw-r--r--client/src/com/vaadin/client/ui/AbstractComponentConnector.java2
-rw-r--r--client/src/com/vaadin/client/ui/VNotification.java1
-rw-r--r--client/src/com/vaadin/client/ui/orderedlayout/Slot.java2
10 files changed, 24 insertions, 2 deletions
diff --git a/client/src/com/vaadin/client/ApplicationConfiguration.java b/client/src/com/vaadin/client/ApplicationConfiguration.java
index d20e0568cd..f14802c931 100644
--- a/client/src/com/vaadin/client/ApplicationConfiguration.java
+++ b/client/src/com/vaadin/client/ApplicationConfiguration.java
@@ -603,7 +603,7 @@ public class ApplicationConfiguration implements EntryPoint {
}
/**
- *
+ * @since 7.6
* @param c
*/
public static void runWhenDependenciesLoaded(Command c) {
diff --git a/client/src/com/vaadin/client/ApplicationConnection.java b/client/src/com/vaadin/client/ApplicationConnection.java
index 3efb13b632..ce55c13ce5 100644
--- a/client/src/com/vaadin/client/ApplicationConnection.java
+++ b/client/src/com/vaadin/client/ApplicationConnection.java
@@ -42,6 +42,7 @@ import com.google.gwt.user.client.Timer;
import com.google.gwt.user.client.ui.HasWidgets;
import com.google.gwt.user.client.ui.Widget;
import com.vaadin.client.ApplicationConfiguration.ErrorMessage;
+import com.vaadin.client.ApplicationConnection.ApplicationStoppedEvent;
import com.vaadin.client.ResourceLoader.ResourceLoadEvent;
import com.vaadin.client.ResourceLoader.ResourceLoadListener;
import com.vaadin.client.communication.ConnectionStateHandler;
@@ -1202,6 +1203,7 @@ public class ApplicationConnection implements HasHandlers {
* Sets a resource that has been pre-loaded via UIDL, such as custom
* layouts.
*
+ * @since 7.6
* @param name
* identifier of the resource to Set
* @param resource
@@ -1578,6 +1580,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Gets the server RPC queue for this application
*
+ * @since 7.6
* @return the server RPC queue
*/
public ServerRpcQueue getServerRpcQueue() {
@@ -1587,6 +1590,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Gets the communication error handler for this application
*
+ * @since 7.6
* @return the server RPC queue
*/
public ConnectionStateHandler getConnectionStateHandler() {
@@ -1596,6 +1600,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Gets the (server to client) message handler for this application
*
+ * @since 7.6
* @return the message handler
*/
public MessageHandler getMessageHandler() {
@@ -1605,6 +1610,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Gets the server rpc manager for this application
*
+ * @since 7.6
* @return the server rpc manager
*/
public RpcManager getRpcManager() {
@@ -1614,6 +1620,7 @@ public class ApplicationConnection implements HasHandlers {
/**
* Gets the (client to server) message sender for this application
*
+ * @since 7.6
* @return the message sender
*/
public MessageSender getMessageSender() {
@@ -1621,6 +1628,7 @@ public class ApplicationConnection implements HasHandlers {
}
/**
+ * @since 7.6
* @return the widget set
*/
public WidgetSet getWidgetSet() {
diff --git a/client/src/com/vaadin/client/ComputedStyle.java b/client/src/com/vaadin/client/ComputedStyle.java
index b8795ac8ce..65a6e69019 100644
--- a/client/src/com/vaadin/client/ComputedStyle.java
+++ b/client/src/com/vaadin/client/ComputedStyle.java
@@ -151,6 +151,7 @@ public class ComputedStyle {
*
* Returns NaN if the property cannot be converted to a double
*
+ * @since 7.5.1
* @param name
* the property to retrieve
* @return the double value of the property
diff --git a/client/src/com/vaadin/client/LayoutManager.java b/client/src/com/vaadin/client/LayoutManager.java
index 81d0364598..d39e604aaf 100644
--- a/client/src/com/vaadin/client/LayoutManager.java
+++ b/client/src/com/vaadin/client/LayoutManager.java
@@ -990,6 +990,7 @@ public class LayoutManager {
* -1 is returned if the element has not been measured. If 0 is returned, it
* might indicate that the element is not attached to the DOM.
*
+ * @since 7.5.1
* @param element
* the element to get the measured size for
* @return the measured outer height (including margins, paddings and
@@ -1017,6 +1018,7 @@ public class LayoutManager {
* The value returned by this method is always rounded up. To get the exact
* outer width, use {@link #getOuterWidthDouble(Element)}
*
+ * @since 7.5.1
* @param element
* the element to get the measured size for
* @return the measured outer width (including margins, paddings and
@@ -1094,6 +1096,7 @@ public class LayoutManager {
* -1 is returned if the element has not been measured. If 0 is returned, it
* might indicate that the element is not attached to the DOM.
*
+ * @since 7.5.1
* @param element
* the element to get the measured size for
* @return the measured inner height (excluding margins, paddings and
@@ -1146,6 +1149,7 @@ public class LayoutManager {
* -1 is returned if the element has not been measured. If 0 is returned, it
* might indicate that the element is not attached to the DOM.
*
+ * @since 7.5.1
* @param element
* the element to get the measured size for
* @return the measured inner width (excluding margins, paddings and
diff --git a/client/src/com/vaadin/client/Profiler.java b/client/src/com/vaadin/client/Profiler.java
index f3b449ae36..3923b66218 100644
--- a/client/src/com/vaadin/client/Profiler.java
+++ b/client/src/com/vaadin/client/Profiler.java
@@ -390,6 +390,8 @@ public class Profiler {
* Returns time relative to the particular page load time. The value should
* not be used directly but rather difference between two values returned by
* this method should be used to compare measurements.
+ *
+ * @since 7.6
*/
public static double getRelativeTimeMillis() {
return RELATIVE_TIME_SUPPLIER.getRelativeTime();
diff --git a/client/src/com/vaadin/client/Util.java b/client/src/com/vaadin/client/Util.java
index 635efad796..ab7d344877 100644
--- a/client/src/com/vaadin/client/Util.java
+++ b/client/src/com/vaadin/client/Util.java
@@ -1178,6 +1178,8 @@ public class Util {
/**
* Round {@code num} up to {@code exp} decimal positions.
+ *
+ * @since 7.6
*/
public static native double round(double num, int exp)
/*-{
diff --git a/client/src/com/vaadin/client/WidgetUtil.java b/client/src/com/vaadin/client/WidgetUtil.java
index 188b433558..e9ec163612 100644
--- a/client/src/com/vaadin/client/WidgetUtil.java
+++ b/client/src/com/vaadin/client/WidgetUtil.java
@@ -562,6 +562,7 @@ public class WidgetUtil {
* Gets the border-box width for the given element, i.e. element width +
* border + padding.
*
+ * @since 7.5.1
* @param element
* The element to check
* @return The border-box width for the element
@@ -612,6 +613,7 @@ public class WidgetUtil {
* Gets the border-box height for the given element, i.e. element height +
* border + padding.
*
+ * @since 7.5.1
* @param element
* The element to check
* @return The border-box height for the element
diff --git a/client/src/com/vaadin/client/ui/AbstractComponentConnector.java b/client/src/com/vaadin/client/ui/AbstractComponentConnector.java
index 643adffe12..c0a1d92b1e 100644
--- a/client/src/com/vaadin/client/ui/AbstractComponentConnector.java
+++ b/client/src/com/vaadin/client/ui/AbstractComponentConnector.java
@@ -95,7 +95,7 @@ public abstract class AbstractComponentConnector extends AbstractConnector
* overridden to provide extra information through an alternative RPC
* interface.
*
- * @since
+ * @since 7.6
* @param event
*/
protected void sendContextClickEvent(ContextMenuEvent event) {
diff --git a/client/src/com/vaadin/client/ui/VNotification.java b/client/src/com/vaadin/client/ui/VNotification.java
index d5387b761a..1ff51df8d0 100644
--- a/client/src/com/vaadin/client/ui/VNotification.java
+++ b/client/src/com/vaadin/client/ui/VNotification.java
@@ -606,6 +606,7 @@ public class VNotification extends VOverlay {
* If both message and caption are null, redirects the user to the url
* immediately
*
+ * @since 7.5.1
* @param connection
* A reference to the ApplicationConnection
* @param caption
diff --git a/client/src/com/vaadin/client/ui/orderedlayout/Slot.java b/client/src/com/vaadin/client/ui/orderedlayout/Slot.java
index 8d86d236a6..cc4b6a0662 100644
--- a/client/src/com/vaadin/client/ui/orderedlayout/Slot.java
+++ b/client/src/com/vaadin/client/ui/orderedlayout/Slot.java
@@ -93,6 +93,8 @@ public class Slot extends SimplePanel {
*
* When using this constructor, the layout and widget must be set before any
* other operations are performed on the slot.
+ *
+ * @since 7.6
*/
public Slot() {
setStyleName(SLOT_CLASSNAME);