diff options
Diffstat (limited to 'server/src/com/vaadin/data')
5 files changed, 24 insertions, 16 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 { |