You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by yi...@apache.org on 2020/10/24 13:34:06 UTC

[royale-asjs] 02/04: Add some constants to DragManager

This is an automated email from the ASF dual-hosted git repository.

yishayw pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit b1bac79a81e9b3576f616e73dff487c423f34c61
Author: Yishay Weiss <yi...@hotmail.com>
AuthorDate: Sat Oct 24 14:31:14 2020 +0100

    Add some constants to DragManager
---
 .../src/main/royale/mx/managers/DragManager.as     | 33 ++++++++++++++++++++--
 1 file changed, 30 insertions(+), 3 deletions(-)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/managers/DragManager.as b/frameworks/projects/MXRoyale/src/main/royale/mx/managers/DragManager.as
index 49c8f3f..5a27173 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/managers/DragManager.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/managers/DragManager.as
@@ -79,6 +79,35 @@ public class DragManager
     //
     //--------------------------------------------------------------------------
 
+    /**
+     *  Constant that specifies that the type of drag action is "none".
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public static const NONE:String = "none";
+
+    /**
+     *  Constant that specifies that the type of drag action is "copy".
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public static const COPY:String = "copy";
+
+    /**
+     *  Constant that specifies that the type of drag action is "move".
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public static const MOVE:String = "move";
 
     /**
      *  Constant that specifies that the type of drag action is "link".
@@ -86,11 +115,9 @@ public class DragManager
      *  @langversion 3.0
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1
-     *  @productversion Royale 0.9.3
+     *  @productversion Flex 3
      */
     public static const LINK:String = "link";
-    // not implemented
-    public static const NONE:String = "none";