aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main
diff options
context:
space:
mode:
authorelmot <elmotelmot.vaadin.com>2017-03-16 13:33:46 +0200
committerHenri Sara <henri.sara@gmail.com>2017-03-21 09:55:02 +0200
commitdf56703f05b751e33ea447f537abe50120ddea23 (patch)
tree6a1fcbf2aa1aa94eef9a4e501980d37ad9a4de9f /server/src/main
parent85f51fdc6c4d7b773a02b7455ce0b033163ebcc5 (diff)
downloadvaadin-framework-df56703f05b751e33ea447f537abe50120ddea23.tar.gz
vaadin-framework-df56703f05b751e33ea447f537abe50120ddea23.zip
Add @since 8.0.3 tags
Diffstat (limited to 'server/src/main')
-rw-r--r--server/src/main/java/com/vaadin/navigator/Navigator.java2
-rw-r--r--server/src/main/java/com/vaadin/server/VaadinServletService.java2
-rw-r--r--server/src/main/java/com/vaadin/ui/Grid.java14
-rw-r--r--server/src/main/java/com/vaadin/ui/components/grid/FooterRow.java2
-rw-r--r--server/src/main/java/com/vaadin/ui/components/grid/HeaderRow.java2
-rw-r--r--server/src/main/java/com/vaadin/ui/renderers/ButtonRenderer.java4
6 files changed, 26 insertions, 0 deletions
diff --git a/server/src/main/java/com/vaadin/navigator/Navigator.java b/server/src/main/java/com/vaadin/navigator/Navigator.java
index 96660d80a2..e05244f02a 100644
--- a/server/src/main/java/com/vaadin/navigator/Navigator.java
+++ b/server/src/main/java/com/vaadin/navigator/Navigator.java
@@ -993,6 +993,8 @@ public class Navigator implements Serializable {
* @param state
* state string
* @return suitable provider
+ *
+ * @since 8.0.3
*/
protected ViewProvider getViewProvider(String state) {
String longestViewName = null;
diff --git a/server/src/main/java/com/vaadin/server/VaadinServletService.java b/server/src/main/java/com/vaadin/server/VaadinServletService.java
index 242966f8cf..90328e78d9 100644
--- a/server/src/main/java/com/vaadin/server/VaadinServletService.java
+++ b/server/src/main/java/com/vaadin/server/VaadinServletService.java
@@ -120,6 +120,8 @@ public class VaadinServletService extends VaadinService {
* @param request
* the request for which the location should be determined
* @return A relative path to the context root. Never ends with a slash (/).
+ *
+ * @since 8.0.3
*/
public static String getContextRootRelativePath(VaadinRequest request) {
VaadinServletRequest servletRequest = (VaadinServletRequest) request;
diff --git a/server/src/main/java/com/vaadin/ui/Grid.java b/server/src/main/java/com/vaadin/ui/Grid.java
index 175b7d1ae5..4604814879 100644
--- a/server/src/main/java/com/vaadin/ui/Grid.java
+++ b/server/src/main/java/com/vaadin/ui/Grid.java
@@ -1121,6 +1121,8 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
* based on the row item.
*
* @return the value provider function
+ *
+ * @since 8.0.3
*/
public SerializableFunction<T, ? extends V> getValueProvider() {
return valueProvider;
@@ -1822,6 +1824,8 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
* @param renderer
* the new renderer
* @return this column
+ *
+ * @since 8.0.3
*/
public Column<T, V> setRenderer(Renderer<? super V> renderer) {
Objects.requireNonNull(renderer, "Renderer can't be null");
@@ -2199,6 +2203,8 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
*
* @param propertySet
* the property set to use
+ *
+ * @since 8.0.3
*/
protected void setPropertySet(PropertySet<T> propertySet) {
Objects.requireNonNull(propertySet, "propertySet cannot be null");
@@ -2294,6 +2300,8 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
*
* @return the used bean type or <code>null</code> if no bean type has been
* defined
+ *
+ * @since 8.0.3
*/
public Class<T> getBeanType() {
return beanType;
@@ -2417,6 +2425,8 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
* @param renderer
* the renderer
* @return a new column instance
+ *
+ * @since 8.0.3
*/
protected <V> Column<T, V> createColumn(ValueProvider<T, V> valueProvider,
AbstractRenderer<? super T, ? super V> renderer) {
@@ -3726,6 +3736,8 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
*
* @param beanTypeClassName
* the fully qualified class name of the bean type
+ *
+ * @since 8.0.3
*/
@SuppressWarnings("unchecked")
protected void setBeanType(String beanTypeClassName) {
@@ -3743,6 +3755,8 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
*
* @param beanType
* the bean type class
+ *
+ * @since 8.0.3
*/
protected void setBeanType(Class<T> beanType) {
this.beanType = beanType;
diff --git a/server/src/main/java/com/vaadin/ui/components/grid/FooterRow.java b/server/src/main/java/com/vaadin/ui/components/grid/FooterRow.java
index 9a3c1aadb2..25477910fc 100644
--- a/server/src/main/java/com/vaadin/ui/components/grid/FooterRow.java
+++ b/server/src/main/java/com/vaadin/ui/components/grid/FooterRow.java
@@ -139,6 +139,8 @@ public interface FooterRow extends Serializable {
* The order of the components in the returned collection is not specified.
*
* @return a collection of components in the row
+ *
+ * @since 8.0.3
*/
public Collection<? extends Component> getComponents();
diff --git a/server/src/main/java/com/vaadin/ui/components/grid/HeaderRow.java b/server/src/main/java/com/vaadin/ui/components/grid/HeaderRow.java
index d6c740e720..c1e551edb6 100644
--- a/server/src/main/java/com/vaadin/ui/components/grid/HeaderRow.java
+++ b/server/src/main/java/com/vaadin/ui/components/grid/HeaderRow.java
@@ -139,6 +139,8 @@ public interface HeaderRow extends Serializable {
* The order of the components in the returned collection is not specified.
*
* @return a collection of components in the row
+ *
+ * @since 8.0.3
*/
public Collection<? extends Component> getComponents();
}
diff --git a/server/src/main/java/com/vaadin/ui/renderers/ButtonRenderer.java b/server/src/main/java/com/vaadin/ui/renderers/ButtonRenderer.java
index 40269adb26..f16b3e6e39 100644
--- a/server/src/main/java/com/vaadin/ui/renderers/ButtonRenderer.java
+++ b/server/src/main/java/com/vaadin/ui/renderers/ButtonRenderer.java
@@ -91,6 +91,8 @@ public class ButtonRenderer<T> extends ClickableRenderer<T, String> {
* @param htmlContentAllowed
* <code>true</code> to render as HTML, <code>false</code> to
* render as text
+ *
+ * @since 8.0.3
*/
public void setHtmlContentAllowed(boolean htmlContentAllowed) {
getState().htmlContentAllowed = htmlContentAllowed;
@@ -103,6 +105,8 @@ public class ButtonRenderer<T> extends ClickableRenderer<T, String> {
*
* @return <code>true</code> if the renderer renders a HTML,
* <code>false</code> if the content is rendered as text
+ *
+ * @since 8.0.3
*/
public boolean isHtmlContentAllowed() {
return getState(false).htmlContentAllowed;