summaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/ui
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/main/java/com/vaadin/ui')
-rw-r--r--server/src/main/java/com/vaadin/ui/AbstractDateField.java4
-rw-r--r--server/src/main/java/com/vaadin/ui/Grid.java2
-rw-r--r--server/src/main/java/com/vaadin/ui/MenuBar.java4
3 files changed, 8 insertions, 2 deletions
diff --git a/server/src/main/java/com/vaadin/ui/AbstractDateField.java b/server/src/main/java/com/vaadin/ui/AbstractDateField.java
index 781848cb19..1198e04d66 100644
--- a/server/src/main/java/com/vaadin/ui/AbstractDateField.java
+++ b/server/src/main/java/com/vaadin/ui/AbstractDateField.java
@@ -826,6 +826,8 @@ public abstract class AbstractDateField<T extends Temporal & TemporalAdjuster &
* @param styleName
* the custom style name(s) for given date, {@code null} to clear
* custom style name(s)
+ *
+ * @since 8.3
*/
public void setDateStyle(LocalDate date, String styleName) {
if (date != null) {
@@ -846,6 +848,7 @@ public abstract class AbstractDateField<T extends Temporal & TemporalAdjuster &
* @return the corresponding style name(s), if any, {@code null} otherwise
*
* @see {@link #setDateStyle(LocalDate, String)}
+ * @since 8.3
*/
public String getDateStyle(LocalDate date) {
if (date == null) {
@@ -861,6 +864,7 @@ public abstract class AbstractDateField<T extends Temporal & TemporalAdjuster &
* @return map from dates to custom style names in each date's calendar cell
*
* @see {@link #setDateStyle(LocalDate, String)}
+ * @since 8.3
*/
public Map<LocalDate, String> getDateStyles() {
HashMap<LocalDate, String> hashMap = new HashMap<>();
diff --git a/server/src/main/java/com/vaadin/ui/Grid.java b/server/src/main/java/com/vaadin/ui/Grid.java
index 58945bfc46..803ac58b58 100644
--- a/server/src/main/java/com/vaadin/ui/Grid.java
+++ b/server/src/main/java/com/vaadin/ui/Grid.java
@@ -2068,6 +2068,7 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
* @param widgetEventsAllowed
* {@code true} to handle events; {@code false} to not
* @return this column
+ * @since 8.3
*/
public Column<T, V> setWidgetEventsAllowed(
boolean widgetEventsAllowed) {
@@ -2084,6 +2085,7 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
* @see #setWidgetEventsAllowed(boolean)
*
* @return {@code true} if handling events; {@code false} if not
+ * @since 8.3
*/
public boolean isWidgetEventsAllowed() {
return getState(false).widgetEventsAllowed;
diff --git a/server/src/main/java/com/vaadin/ui/MenuBar.java b/server/src/main/java/com/vaadin/ui/MenuBar.java
index 72a3671d4e..1525782c8a 100644
--- a/server/src/main/java/com/vaadin/ui/MenuBar.java
+++ b/server/src/main/java/com/vaadin/ui/MenuBar.java
@@ -821,7 +821,7 @@ public class MenuBar extends AbstractComponent
* the new description string for the component.
* @param mode
* the content mode for the description
- * @since
+ * @since 8.3
*/
public void setDescription(String description, ContentMode mode) {
this.description = description;
@@ -900,7 +900,7 @@ public class MenuBar extends AbstractComponent
*
* @return the {@link ContentMode} of the description of this menu item
* @see ContentMode
- * @since
+ * @since 8.3
*/
public ContentMode getContentMode() {
return contentMode;