aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenri Sara <henri.sara@gmail.com>2017-06-15 15:53:24 +0300
committerGitHub <noreply@github.com>2017-06-15 15:53:24 +0300
commit620b413478976474a00ddd368309931e7417b41b (patch)
tree7106026ea761d008d5f1d0219a6777b1945e3d9e
parentf76cc830efa7f4823e8eed272de8b5ca2cfebfc3 (diff)
downloadvaadin-framework-620b413478976474a00ddd368309931e7417b41b.tar.gz
vaadin-framework-620b413478976474a00ddd368309931e7417b41b.zip
Add missing since tags (#9544)
-rw-r--r--client/src/main/java/com/vaadin/client/ui/VAbstractTextualDate.java10
-rw-r--r--client/src/main/java/com/vaadin/client/ui/VComboBox.java6
-rw-r--r--client/src/main/java/com/vaadin/client/ui/VDateField.java2
-rwxr-xr-xclient/src/main/java/com/vaadin/client/widgets/Grid.java4
-rw-r--r--server/src/main/java/com/vaadin/navigator/View.java2
-rw-r--r--server/src/main/java/com/vaadin/ui/Grid.java8
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/grid/ColumnState.java2
7 files changed, 19 insertions, 15 deletions
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 0c33eb7e41..fd50c92aed 100644
--- a/client/src/main/java/com/vaadin/client/ui/VAbstractTextualDate.java
+++ b/client/src/main/java/com/vaadin/client/ui/VAbstractTextualDate.java
@@ -112,7 +112,7 @@ public abstract class VAbstractTextualDate<R extends Enum<R>>
*
* @return a date format string to use when formatting and parsing the text
* in the input field
- * @since
+ * @since 8.1
*/
protected String createFormatString() {
if (isYear(getCurrentResolution())) {
@@ -136,7 +136,7 @@ public abstract class VAbstractTextualDate<R extends Enum<R>>
* @param formatString
* the format string to use, or null to force re-creating the
* format string from the locale the next time it is needed
- * @since
+ * @since 8.1
*/
public void setFormatString(String formatString) {
this.formatStr = formatString;
@@ -386,7 +386,7 @@ public abstract class VAbstractTextualDate<R extends Enum<R>>
/**
* Publish methods/properties on the element to be used from JavaScript.
*
- * @since
+ * @since 8.1
*/
private native void publishJSHelpers(Element root)
/*-{
@@ -407,7 +407,7 @@ public abstract class VAbstractTextualDate<R extends Enum<R>>
* @param isoDate
* the date to set in ISO8601 format, or null to clear the date
* value
- * @since
+ * @since 8.1
*/
public void setISODate(String isoDate) {
if (isoDate == null) {
@@ -426,7 +426,7 @@ public abstract class VAbstractTextualDate<R extends Enum<R>>
*
* @return the current date in ISO8601 format, or null if no date is set
*
- * @since
+ * @since 8.1
*/
public String getISODate() {
Date date = getDate();
diff --git a/client/src/main/java/com/vaadin/client/ui/VComboBox.java b/client/src/main/java/com/vaadin/client/ui/VComboBox.java
index 787d82caec..a68eaa961a 100644
--- a/client/src/main/java/com/vaadin/client/ui/VComboBox.java
+++ b/client/src/main/java/com/vaadin/client/ui/VComboBox.java
@@ -2825,8 +2825,9 @@ public class VComboBox extends Composite implements Field, KeyDownHandler,
/**
* Gets the empty selection caption.
- *
+ *
* @return the empty selection caption
+ * @since 8.1
*/
public String getEmptySelectionCaption() {
return emptySelectionCaption;
@@ -2835,9 +2836,10 @@ public class VComboBox extends Composite implements Field, KeyDownHandler,
/**
* Sets the empty selection caption for this VComboBox. The text is
* displayed in the text input when nothing is selected.
- *
+ *
* @param emptySelectionCaption
* the empty selection caption
+ * @since 8.1
*/
public void setEmptySelectionCaption(String emptySelectionCaption) {
this.emptySelectionCaption = emptySelectionCaption;
diff --git a/client/src/main/java/com/vaadin/client/ui/VDateField.java b/client/src/main/java/com/vaadin/client/ui/VDateField.java
index bf4c074d89..40fc9a8f8c 100644
--- a/client/src/main/java/com/vaadin/client/ui/VDateField.java
+++ b/client/src/main/java/com/vaadin/client/ui/VDateField.java
@@ -230,7 +230,7 @@ public abstract class VDateField<R extends Enum<R>> extends FlowPanel
*
* @return <code>true</code> if time is supported in addition to date,
* <code>false</code> if only dates are supported
- * @since
+ * @since 8.1
*/
protected abstract boolean supportsTime();
diff --git a/client/src/main/java/com/vaadin/client/widgets/Grid.java b/client/src/main/java/com/vaadin/client/widgets/Grid.java
index 1d4abddf54..aa0261d6d9 100755
--- a/client/src/main/java/com/vaadin/client/widgets/Grid.java
+++ b/client/src/main/java/com/vaadin/client/widgets/Grid.java
@@ -5287,7 +5287,7 @@ public class Grid<T> extends ResizeComposite implements HasSelectionHandlers<T>,
* <code>true</code> to reserve space for all contents,
* <code>false</code> to allow the column to shrink smaller
* than the contents
- * @since
+ * @since 8.1
*/
public void setMinimumWidthFromContent(
boolean minimumWidthFromContent) {
@@ -5301,7 +5301,7 @@ public class Grid<T> extends ResizeComposite implements HasSelectionHandlers<T>,
* @return <code>true</code> to reserve space for all contents,
* <code>false</code> to allow the column to shrink smaller than
* the contents
- * @since
+ * @since 8.1
*/
public boolean isMinimumWidthFromContent() {
return minimumWidthFromContent;
diff --git a/server/src/main/java/com/vaadin/navigator/View.java b/server/src/main/java/com/vaadin/navigator/View.java
index 72e60dfdc4..623c8ed6e9 100644
--- a/server/src/main/java/com/vaadin/navigator/View.java
+++ b/server/src/main/java/com/vaadin/navigator/View.java
@@ -54,7 +54,7 @@ public interface View extends Serializable {
* By default casts this View to a {@link Component} if possible, otherwise
* throws an IllegalStateException.
*
- * @since
+ * @since 8.1
* @return the component to show, by default the view instance itself
*/
public default Component getViewComponent() {
diff --git a/server/src/main/java/com/vaadin/ui/Grid.java b/server/src/main/java/com/vaadin/ui/Grid.java
index 7e283a38ea..1254814b3f 100644
--- a/server/src/main/java/com/vaadin/ui/Grid.java
+++ b/server/src/main/java/com/vaadin/ui/Grid.java
@@ -1528,7 +1528,7 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
* @throws IllegalStateException
* if the column is no longer attached to any grid
* @see #setMinimumWidth(double)
- * @since
+ * @since 8.1
*/
public Column<T, V> setMinimumWidthFromContent(
boolean minimumWidthFromContent) throws IllegalStateException {
@@ -1549,7 +1549,7 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
* <code>false</code> to allow the column to shrink smaller than
* the contents
* @see #setMinimumWidthFromContent(boolean)
- * @since
+ * @since 8.1
*/
public boolean isMinimumWidthFromContent() {
return getState(false).minimumWidthFromContent;
@@ -1907,9 +1907,9 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
/**
* Gets the Renderer for this Column.
- *
+ *
* @return the renderer
- * @since
+ * @since 8.1
*/
public Renderer<? super V> getRenderer() {
return (Renderer<? super V>) getState().renderer;
diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/ColumnState.java b/shared/src/main/java/com/vaadin/shared/ui/grid/ColumnState.java
index 230db387ff..cda5382670 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/grid/ColumnState.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/grid/ColumnState.java
@@ -66,6 +66,8 @@ public class ColumnState extends AbstractGridExtensionState {
public Connector renderer;
/**
* Whether the contents define the minimum width for this column.
+ *
+ * @since 8.1
*/
public boolean minimumWidthFromContent = true;