summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Wagner <wbadam@users.noreply.github.com>2017-03-01 09:14:17 +0200
committerPekka Hyvönen <pekka@vaadin.com>2017-03-01 09:14:17 +0200
commitabc26cb38d790e9fc0b97720164f855ed7b4dc7b (patch)
tree20960005cebff19f05a965afb4991aab93ae3134
parent84723f96aeb2841878caf48e04f69f3c8050fa68 (diff)
downloadvaadin-framework-abc26cb38d790e9fc0b97720164f855ed7b4dc7b.tar.gz
vaadin-framework-abc26cb38d790e9fc0b97720164f855ed7b4dc7b.zip
Add @author and @since tags to drag and drop related new files (#8693) (#8694)
* Add @author and @since tags to drag and drop related new files (#8693)
-rw-r--r--client/src/main/java/com/vaadin/client/extensions/DragSourceExtensionConnector.java3
-rw-r--r--client/src/main/java/com/vaadin/client/extensions/DropTargetExtensionConnector.java3
-rw-r--r--server/src/main/java/com/vaadin/event/dnd/DragEndEvent.java2
-rw-r--r--server/src/main/java/com/vaadin/event/dnd/DragEndListener.java2
-rw-r--r--server/src/main/java/com/vaadin/event/dnd/DragSourceExtension.java2
-rw-r--r--server/src/main/java/com/vaadin/event/dnd/DragStartEvent.java5
-rw-r--r--server/src/main/java/com/vaadin/event/dnd/DragStartListener.java2
-rw-r--r--server/src/main/java/com/vaadin/event/dnd/DropEvent.java2
-rw-r--r--server/src/main/java/com/vaadin/event/dnd/DropListener.java2
-rw-r--r--server/src/main/java/com/vaadin/event/dnd/DropTargetExtension.java2
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/dnd/DragSourceRpc.java3
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/dnd/DragSourceState.java3
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/dnd/DropEffect.java3
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/dnd/DropTargetRpc.java3
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/dnd/DropTargetState.java3
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/dnd/EffectAllowed.java3
16 files changed, 42 insertions, 1 deletions
diff --git a/client/src/main/java/com/vaadin/client/extensions/DragSourceExtensionConnector.java b/client/src/main/java/com/vaadin/client/extensions/DragSourceExtensionConnector.java
index b823167572..051554f913 100644
--- a/client/src/main/java/com/vaadin/client/extensions/DragSourceExtensionConnector.java
+++ b/client/src/main/java/com/vaadin/client/extensions/DragSourceExtensionConnector.java
@@ -36,6 +36,9 @@ import elemental.events.EventTarget;
/**
* Extension to add drag source functionality to a widget for using HTML5 drag
* and drop. Client side counterpart of {@link DragSourceExtension}.
+ *
+ * @author Vaadin Ltd
+ * @since 8.1
*/
@Connect(DragSourceExtension.class)
public class DragSourceExtensionConnector extends AbstractExtensionConnector {
diff --git a/client/src/main/java/com/vaadin/client/extensions/DropTargetExtensionConnector.java b/client/src/main/java/com/vaadin/client/extensions/DropTargetExtensionConnector.java
index 37d62ad7c0..a8e25f261c 100644
--- a/client/src/main/java/com/vaadin/client/extensions/DropTargetExtensionConnector.java
+++ b/client/src/main/java/com/vaadin/client/extensions/DropTargetExtensionConnector.java
@@ -40,6 +40,9 @@ import elemental.events.EventTarget;
/**
* Extension to add drop target functionality to a widget for using HTML5 drag
* and drop. Client side counterpart of {@link DropTargetExtension}.
+ *
+ * @author Vaadin Ltd
+ * @since 8.1
*/
@Connect(DropTargetExtension.class)
public class DropTargetExtensionConnector extends AbstractExtensionConnector {
diff --git a/server/src/main/java/com/vaadin/event/dnd/DragEndEvent.java b/server/src/main/java/com/vaadin/event/dnd/DragEndEvent.java
index 9de3611457..d8244d1f16 100644
--- a/server/src/main/java/com/vaadin/event/dnd/DragEndEvent.java
+++ b/server/src/main/java/com/vaadin/event/dnd/DragEndEvent.java
@@ -28,7 +28,9 @@ import com.vaadin.ui.Component;
*
* @param <T>
* Type of the component that was dragged.
+ * @author Vaadin Ltd
* @see DragSourceExtension#addDragEndListener(DragEndListener)
+ * @since 8.1
*/
public class DragEndEvent<T extends AbstractComponent> extends Component.Event {
private final Map<String, String> data;
diff --git a/server/src/main/java/com/vaadin/event/dnd/DragEndListener.java b/server/src/main/java/com/vaadin/event/dnd/DragEndListener.java
index 51e113e4fd..55b55b2bcd 100644
--- a/server/src/main/java/com/vaadin/event/dnd/DragEndListener.java
+++ b/server/src/main/java/com/vaadin/event/dnd/DragEndListener.java
@@ -26,7 +26,9 @@ import com.vaadin.ui.AbstractComponent;
*
* @param <T>
* Type of draggable component.
+ * @author Vaadin Ltd
* @see DragSourceExtension#addDragEndListener(DragEndListener)
+ * @since 8.1
*/
@FunctionalInterface
public interface DragEndListener<T extends AbstractComponent> extends
diff --git a/server/src/main/java/com/vaadin/event/dnd/DragSourceExtension.java b/server/src/main/java/com/vaadin/event/dnd/DragSourceExtension.java
index 78f606c05a..2e3d7e1c82 100644
--- a/server/src/main/java/com/vaadin/event/dnd/DragSourceExtension.java
+++ b/server/src/main/java/com/vaadin/event/dnd/DragSourceExtension.java
@@ -33,6 +33,8 @@ import com.vaadin.ui.AbstractComponent;
*
* @param <T>
* Type of the component to be extended.
+ * @author Vaadin Ltd
+ * @since 8.1
*/
public class DragSourceExtension<T extends AbstractComponent> extends
AbstractExtension {
diff --git a/server/src/main/java/com/vaadin/event/dnd/DragStartEvent.java b/server/src/main/java/com/vaadin/event/dnd/DragStartEvent.java
index 8e9f82551c..642f9b3b06 100644
--- a/server/src/main/java/com/vaadin/event/dnd/DragStartEvent.java
+++ b/server/src/main/java/com/vaadin/event/dnd/DragStartEvent.java
@@ -29,9 +29,12 @@ import com.vaadin.ui.Component;
*
* @param <T>
* Type of the component that is dragged.
+ * @author Vaadin Ltd
* @see DragSourceExtension#addDragStartListener(DragStartListener)
+ * @since 8.1
*/
-public class DragStartEvent<T extends AbstractComponent> extends Component.Event {
+public class DragStartEvent<T extends AbstractComponent> extends
+ Component.Event {
private final Map<String, String> data;
private final EffectAllowed effectAllowed;
diff --git a/server/src/main/java/com/vaadin/event/dnd/DragStartListener.java b/server/src/main/java/com/vaadin/event/dnd/DragStartListener.java
index d56254c58d..530a0f113b 100644
--- a/server/src/main/java/com/vaadin/event/dnd/DragStartListener.java
+++ b/server/src/main/java/com/vaadin/event/dnd/DragStartListener.java
@@ -26,7 +26,9 @@ import com.vaadin.ui.AbstractComponent;
*
* @param <T>
* Type of draggable component.
+ * @author Vaadin Ltd
* @see DragSourceExtension#addDragStartListener(DragStartListener)
+ * @since 8.1
*/
@FunctionalInterface
public interface DragStartListener<T extends AbstractComponent> extends
diff --git a/server/src/main/java/com/vaadin/event/dnd/DropEvent.java b/server/src/main/java/com/vaadin/event/dnd/DropEvent.java
index 9a16efc097..433276550b 100644
--- a/server/src/main/java/com/vaadin/event/dnd/DropEvent.java
+++ b/server/src/main/java/com/vaadin/event/dnd/DropEvent.java
@@ -29,7 +29,9 @@ import com.vaadin.ui.Component;
*
* @param <T>
* Type of the drop target component.
+ * @author Vaadin Ltd
* @see DropTargetExtension#addDropListener(DropListener)
+ * @since 8.1
*/
public class DropEvent<T extends AbstractComponent> extends Component.Event {
private final Map<String, String> data;
diff --git a/server/src/main/java/com/vaadin/event/dnd/DropListener.java b/server/src/main/java/com/vaadin/event/dnd/DropListener.java
index 98e8147fc3..c10f51569c 100644
--- a/server/src/main/java/com/vaadin/event/dnd/DropListener.java
+++ b/server/src/main/java/com/vaadin/event/dnd/DropListener.java
@@ -26,7 +26,9 @@ import com.vaadin.ui.AbstractComponent;
*
* @param <T>
* Type of the drop target component.
+ * @author Vaadin Ltd
* @see DropTargetExtension#addDropListener(DropListener)
+ * @since 8.1
*/
@FunctionalInterface
public interface DropListener<T extends AbstractComponent> extends
diff --git a/server/src/main/java/com/vaadin/event/dnd/DropTargetExtension.java b/server/src/main/java/com/vaadin/event/dnd/DropTargetExtension.java
index 887361e883..fd363573d1 100644
--- a/server/src/main/java/com/vaadin/event/dnd/DropTargetExtension.java
+++ b/server/src/main/java/com/vaadin/event/dnd/DropTargetExtension.java
@@ -31,6 +31,8 @@ import com.vaadin.ui.AbstractComponent;
*
* @param <T>
* Type of the component to be extended.
+ * @author Vaadin Ltd
+ * @since 8.1
*/
public class DropTargetExtension<T extends AbstractComponent> extends
AbstractExtension {
diff --git a/shared/src/main/java/com/vaadin/shared/ui/dnd/DragSourceRpc.java b/shared/src/main/java/com/vaadin/shared/ui/dnd/DragSourceRpc.java
index bbad423044..178028b423 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/dnd/DragSourceRpc.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/dnd/DragSourceRpc.java
@@ -20,6 +20,9 @@ import com.vaadin.shared.communication.ServerRpc;
/**
* RPC for firing server side event when client side dragstart event happens on
* drag source.
+ *
+ * @author Vaadin Ltd
+ * @since 8.1
*/
public interface DragSourceRpc extends ServerRpc {
diff --git a/shared/src/main/java/com/vaadin/shared/ui/dnd/DragSourceState.java b/shared/src/main/java/com/vaadin/shared/ui/dnd/DragSourceState.java
index aeb4dd816b..7c3a6363db 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/dnd/DragSourceState.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/dnd/DragSourceState.java
@@ -24,6 +24,9 @@ import com.vaadin.shared.communication.SharedState;
/**
* State class containing parameters for DragSourceExtension.
+ *
+ * @author Vaadin Ltd
+ * @since 8.1
*/
public class DragSourceState extends SharedState {
diff --git a/shared/src/main/java/com/vaadin/shared/ui/dnd/DropEffect.java b/shared/src/main/java/com/vaadin/shared/ui/dnd/DropEffect.java
index 5056ecfd78..7204142e1a 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/dnd/DropEffect.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/dnd/DropEffect.java
@@ -17,6 +17,9 @@ package com.vaadin.shared.ui.dnd;
/**
* Used to specify the drop effect to use on dragenter or dragover events.
+ *
+ * @author Vaadin Ltd
+ * @since 8.1
*/
public enum DropEffect {
/**
diff --git a/shared/src/main/java/com/vaadin/shared/ui/dnd/DropTargetRpc.java b/shared/src/main/java/com/vaadin/shared/ui/dnd/DropTargetRpc.java
index 9f335f010d..917bee7d6c 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/dnd/DropTargetRpc.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/dnd/DropTargetRpc.java
@@ -23,6 +23,9 @@ import com.vaadin.shared.communication.ServerRpc;
/**
* RPC for firing server side drop event when client side drop event happens on
* drop target.
+ *
+ * @author Vaadin Ltd
+ * @since 8.1
*/
public interface DropTargetRpc extends ServerRpc {
diff --git a/shared/src/main/java/com/vaadin/shared/ui/dnd/DropTargetState.java b/shared/src/main/java/com/vaadin/shared/ui/dnd/DropTargetState.java
index 3021c0bd6b..8605a78b25 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/dnd/DropTargetState.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/dnd/DropTargetState.java
@@ -19,6 +19,9 @@ import com.vaadin.shared.communication.SharedState;
/**
* State class containing parameters for DropTargetExtension.
+ *
+ * @author Vaadin Ltd
+ * @since 8.1
*/
public class DropTargetState extends SharedState {
/**
diff --git a/shared/src/main/java/com/vaadin/shared/ui/dnd/EffectAllowed.java b/shared/src/main/java/com/vaadin/shared/ui/dnd/EffectAllowed.java
index 2ff9f21980..e5afa8f5eb 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/dnd/EffectAllowed.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/dnd/EffectAllowed.java
@@ -17,6 +17,9 @@ package com.vaadin.shared.ui.dnd;
/**
* Used to specify the effect that is allowed for a drag operation.
+ *
+ * @author Vaadin Ltd
+ * @since 8.1
*/
public enum EffectAllowed {
/**