diff options
Diffstat (limited to 'server')
8 files changed, 27 insertions, 19 deletions
diff --git a/server/src/com/vaadin/data/Container.java b/server/src/com/vaadin/data/Container.java index c58d37d5fe..fb7a93e832 100644 --- a/server/src/com/vaadin/data/Container.java +++ b/server/src/com/vaadin/data/Container.java @@ -585,6 +585,8 @@ public interface Container extends Serializable { /** * An <code>Event</code> object specifying information about the added * items. + * + * @since 7.4 */ public interface ItemAddEvent extends ItemSetChangeEvent { @@ -613,6 +615,8 @@ public interface Container extends Serializable { /** * An <code>Event</code> object specifying information about the removed * items. + * + * @since 7.4 */ public interface ItemRemoveEvent extends ItemSetChangeEvent { /** diff --git a/server/src/com/vaadin/data/RpcDataProviderExtension.java b/server/src/com/vaadin/data/RpcDataProviderExtension.java index 5e56643d6e..8e119f0d94 100644 --- a/server/src/com/vaadin/data/RpcDataProviderExtension.java +++ b/server/src/com/vaadin/data/RpcDataProviderExtension.java @@ -68,7 +68,7 @@ import elemental.json.JsonValue; * This will be changed once framework support for something more flexible has * been implemented. * - * @since + * @since 7.4 * @author Vaadin Ltd */ public class RpcDataProviderExtension extends AbstractExtension { diff --git a/server/src/com/vaadin/data/util/AbstractInMemoryContainer.java b/server/src/com/vaadin/data/util/AbstractInMemoryContainer.java index be42ee26e0..baef89f48d 100644 --- a/server/src/com/vaadin/data/util/AbstractInMemoryContainer.java +++ b/server/src/com/vaadin/data/util/AbstractInMemoryContainer.java @@ -148,8 +148,8 @@ public abstract class AbstractInMemoryContainer<ITEMIDTYPE, PROPERTYIDCLASS, ITE } } - private static abstract class BaseItemAddOrRemoveEvent extends - EventObject implements Serializable { + private static abstract class BaseItemAddOrRemoveEvent extends EventObject + implements Serializable { protected Object itemId; protected int index; protected int count; @@ -187,10 +187,11 @@ public abstract class AbstractInMemoryContainer<ITEMIDTYPE, PROPERTYIDCLASS, ITE * This class provides information about the first added item and the number * of added items. * </p> + * + * @since 7.4 */ - protected static class BaseItemAddEvent extends - BaseItemAddOrRemoveEvent implements - Container.Indexed.ItemAddEvent { + protected static class BaseItemAddEvent extends BaseItemAddOrRemoveEvent + implements Container.Indexed.ItemAddEvent { public BaseItemAddEvent(Container source, Object itemId, int index, int count) { @@ -211,13 +212,14 @@ public abstract class AbstractInMemoryContainer<ITEMIDTYPE, PROPERTYIDCLASS, ITE * This class provides information about the first removed item and the * number of removed items. * </p> + * + * @since 7.4 */ - protected static class BaseItemRemoveEvent extends - BaseItemAddOrRemoveEvent implements - Container.Indexed.ItemRemoveEvent { + protected static class BaseItemRemoveEvent extends BaseItemAddOrRemoveEvent + implements Container.Indexed.ItemRemoveEvent { - public BaseItemRemoveEvent(Container source, Object itemId, - int index, int count) { + public BaseItemRemoveEvent(Container source, Object itemId, int index, + int count) { super(source, itemId, index, count); } @@ -1005,8 +1007,8 @@ public abstract class AbstractInMemoryContainer<ITEMIDTYPE, PROPERTYIDCLASS, ITE */ protected void fireItemsAdded(int firstPosition, ITEMIDTYPE firstItemId, int numberOfItems) { - BaseItemAddEvent addEvent = new BaseItemAddEvent(this, - firstItemId, firstPosition, numberOfItems); + BaseItemAddEvent addEvent = new BaseItemAddEvent(this, firstItemId, + firstPosition, numberOfItems); fireItemSetChange(addEvent); } @@ -1066,9 +1068,11 @@ public abstract class AbstractInMemoryContainer<ITEMIDTYPE, PROPERTYIDCLASS, ITE /** * Returns the item id of the first visible item after filtering. 'Null' is * returned if there is no visible items. - * + * <p> * For internal use only. * + * @since 7.4 + * * @return item id of the first visible item */ protected ITEMIDTYPE getFirstVisibleItem() { diff --git a/server/src/com/vaadin/data/util/GeneratedPropertyContainer.java b/server/src/com/vaadin/data/util/GeneratedPropertyContainer.java index 3c4506c109..fd2ce609b8 100644 --- a/server/src/com/vaadin/data/util/GeneratedPropertyContainer.java +++ b/server/src/com/vaadin/data/util/GeneratedPropertyContainer.java @@ -57,7 +57,7 @@ import com.vaadin.shared.data.sort.SortDirection; * properties. Generated properties are always read-only. Trying to make them * editable throws an exception. * - * @since + * @since 7.4 * @author Vaadin Ltd */ public class GeneratedPropertyContainer extends AbstractContainer implements diff --git a/server/src/com/vaadin/data/util/PropertyValueGenerator.java b/server/src/com/vaadin/data/util/PropertyValueGenerator.java index c535803ee1..453e45b1db 100644 --- a/server/src/com/vaadin/data/util/PropertyValueGenerator.java +++ b/server/src/com/vaadin/data/util/PropertyValueGenerator.java @@ -28,7 +28,7 @@ import com.vaadin.data.util.filter.UnsupportedFilterException; * * @param <T> * Property data type - * @since + * @since 7.4 * @author Vaadin Ltd */ public abstract class PropertyValueGenerator<T> implements Serializable { diff --git a/server/src/com/vaadin/event/SelectionEvent.java b/server/src/com/vaadin/event/SelectionEvent.java index f852ea0949..b6ade2aa9c 100644 --- a/server/src/com/vaadin/event/SelectionEvent.java +++ b/server/src/com/vaadin/event/SelectionEvent.java @@ -27,7 +27,7 @@ import com.google.gwt.thirdparty.guava.common.collect.Sets; * An event that specifies what in a selection has changed, and where the * selection took place. * - * @since + * @since 7.4 * @author Vaadin Ltd */ public class SelectionEvent extends EventObject { diff --git a/server/src/com/vaadin/event/SortEvent.java b/server/src/com/vaadin/event/SortEvent.java index 968d2f6d83..b331f37efa 100644 --- a/server/src/com/vaadin/event/SortEvent.java +++ b/server/src/com/vaadin/event/SortEvent.java @@ -27,7 +27,7 @@ import com.vaadin.ui.Component; * * @see SortListener * - * @since + * @since 7.4 * @author Vaadin Ltd */ public class SortEvent extends Component.Event { diff --git a/server/src/com/vaadin/ui/Grid.java b/server/src/com/vaadin/ui/Grid.java index 8aee5ac19e..7d8ec59533 100644 --- a/server/src/com/vaadin/ui/Grid.java +++ b/server/src/com/vaadin/ui/Grid.java @@ -151,7 +151,7 @@ import elemental.json.JsonValue; * grid.setSelectionModel(new MyTwoSelectionModel()); * </pre></code> * - * @since + * @since 7.4 * @author Vaadin Ltd */ public class Grid extends AbstractComponent implements SelectionNotifier, |