aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorHenri Sara <henri.sara@gmail.com>2017-09-28 15:57:23 +0300
committerGitHub <noreply@github.com>2017-09-28 15:57:23 +0300
commit198ec82c51cc3dc132676aeb74c7e44bef08adb6 (patch)
tree4872885df161b028a4256a7ea3700571d0584f0f /client
parent830af38f4cc5487b588fd99f28c5b252c87055f7 (diff)
downloadvaadin-framework-198ec82c51cc3dc132676aeb74c7e44bef08adb6.tar.gz
vaadin-framework-198ec82c51cc3dc132676aeb74c7e44bef08adb6.zip
Add since tags and update release notes (#10109)
Diffstat (limited to 'client')
-rw-r--r--client/src/main/java/com/vaadin/client/StyleConstants.java2
-rw-r--r--client/src/main/java/com/vaadin/client/TooltipInfo.java48
-rw-r--r--client/src/main/java/com/vaadin/client/ui/VAbstractTextualDate.java7
3 files changed, 34 insertions, 23 deletions
diff --git a/client/src/main/java/com/vaadin/client/StyleConstants.java b/client/src/main/java/com/vaadin/client/StyleConstants.java
index 13549b4938..8da9ebb06d 100644
--- a/client/src/main/java/com/vaadin/client/StyleConstants.java
+++ b/client/src/main/java/com/vaadin/client/StyleConstants.java
@@ -47,6 +47,8 @@ public class StyleConstants {
/**
* Style name and style name prefix for the error indicator element.
+ *
+ * @since 8.2
*/
public static final String STYLE_NAME_ERROR_INDICATOR = "v-errorindicator";
}
diff --git a/client/src/main/java/com/vaadin/client/TooltipInfo.java b/client/src/main/java/com/vaadin/client/TooltipInfo.java
index 6609fa5712..5bf3f95a17 100644
--- a/client/src/main/java/com/vaadin/client/TooltipInfo.java
+++ b/client/src/main/java/com/vaadin/client/TooltipInfo.java
@@ -48,7 +48,7 @@ public class TooltipInfo {
* Constructs a new tooltip info instance.
*
* @param tooltip
- * tooltip title
+ * tooltip title
*/
public TooltipInfo(String tooltip) {
this(tooltip, ContentMode.PREFORMATTED);
@@ -103,8 +103,9 @@ public class TooltipInfo {
* @param errorLevel
* error level
*
- * @deprecated use {@link #TooltipInfo(String, ContentMode, String, Object,
- * ErrorLevel)} instead
+ * @deprecated use
+ * {@link #TooltipInfo(String, ContentMode, String, Object, ErrorLevel)}
+ * instead
* @since 8.2
*/
@Deprecated
@@ -117,9 +118,9 @@ public class TooltipInfo {
* Constructs a new tooltip info instance.
*
* @param tooltip
- * tooltip title
+ * tooltip title
* @param mode
- * content mode
+ * content mode
*/
public TooltipInfo(String tooltip, ContentMode mode) {
setTitle(tooltip);
@@ -130,11 +131,11 @@ public class TooltipInfo {
* Constructs a new tooltip info instance.
*
* @param tooltip
- * tooltip title
+ * tooltip title
* @param mode
- * content mode
+ * content mode
* @param errorMessage
- * error message
+ * error message
*/
public TooltipInfo(String tooltip, ContentMode mode, String errorMessage) {
this(tooltip, mode, errorMessage, null);
@@ -144,13 +145,13 @@ public class TooltipInfo {
* Constructs a new tooltip info instance.
*
* @param tooltip
- * tooltip title
+ * tooltip title
* @param mode
- * content mode
+ * content mode
* @param errorMessage
- * error message
+ * error message
* @param identifier
- * the tooltip's identifier
+ * the tooltip's identifier
*/
public TooltipInfo(String tooltip, ContentMode mode, String errorMessage,
Object identifier) {
@@ -161,15 +162,16 @@ public class TooltipInfo {
* Constructs a new tooltip info instance.
*
* @param tooltip
- * tooltip title
+ * tooltip title
* @param mode
- * content mode
+ * content mode
* @param errorMessage
- * error message
+ * error message
* @param identifier
- * the tooltip's identifier
+ * the tooltip's identifier
* @param errorLevel
- * error level
+ * error level
+ * @since 8.2
*/
public TooltipInfo(String tooltip, ContentMode mode, String errorMessage,
Object identifier, ErrorLevel errorLevel) {
@@ -184,7 +186,7 @@ public class TooltipInfo {
* Sets the tooltip's identifier.
*
* @param identifier
- * the identifier to set
+ * the identifier to set
*/
public void setIdentifier(Object identifier) {
this.identifier = identifier;
@@ -212,7 +214,7 @@ public class TooltipInfo {
* Sets the tooltip title.
*
* @param title
- * the title to set
+ * the title to set
*/
public void setTitle(String title) {
this.title = title;
@@ -231,7 +233,7 @@ public class TooltipInfo {
* Sets the error message.
*
* @param errorMessage
- * the error message to set
+ * the error message to set
*/
public void setErrorMessage(String errorMessage) {
errorMessageHtml = errorMessage;
@@ -250,7 +252,7 @@ public class TooltipInfo {
* Sets the tooltip title's content mode.
*
* @param contentMode
- * the content mode to set
+ * the content mode to set
*/
public void setContentMode(ContentMode contentMode) {
this.contentMode = contentMode;
@@ -270,7 +272,7 @@ public class TooltipInfo {
* Sets the error level.
*
* @param errorLevel
- * the error level to set
+ * the error level to set
* @since 8.2
*/
public void setErrorLevel(ErrorLevel errorLevel) {
@@ -294,7 +296,7 @@ public class TooltipInfo {
* identifier are equal.
*
* @param other
- * the reference tooltip info instance with which to compare
+ * the reference tooltip info instance with which to compare
* @return {@code true} if the instances are equal, {@code false} otherwise
*/
public boolean equals(TooltipInfo other) {
diff --git a/client/src/main/java/com/vaadin/client/ui/VAbstractTextualDate.java b/client/src/main/java/com/vaadin/client/ui/VAbstractTextualDate.java
index 206709c86d..d466677419 100644
--- a/client/src/main/java/com/vaadin/client/ui/VAbstractTextualDate.java
+++ b/client/src/main/java/com/vaadin/client/ui/VAbstractTextualDate.java
@@ -201,6 +201,13 @@ public abstract class VAbstractTextualDate<R extends Enum<R>>
}
}
+ /**
+ * Sets the time zone for the field.
+ *
+ * @param timeZone
+ * the new time zone to use
+ * @since 8.2
+ */
public void setTimeZone(TimeZone timeZone) {
this.timeZone = timeZone;
}