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

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


The following commit(s) were added to refs/heads/develop by this push:
     new 6ae89c2  Added EventPhase.as
6ae89c2 is described below

commit 6ae89c2c01d0512466122651c6c2aae55ba39a03
Author: pashminakazi <[email protected]>
AuthorDate: Mon Jun 21 03:38:28 2021 -0700

    Added EventPhase.as
---
 .../MXRoyale/src/main/royale/MXRoyaleClasses.as    |  1 +
 .../src/main/royale/mx/events/EventPhase.as        | 53 ++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as 
b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as
index d0f047c..aff013c 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as
@@ -389,6 +389,7 @@ internal class MXRoyaleClasses
        import mx.events.FocusRequestDirection; FocusRequestDirection;
        import mx.core.IBorder; IBorder;
        import mx.core.IRectangularBorder; IRectangularBorder;
+       import mx.events.EventPhase; EventPhase;
 
 }
 
diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/events/EventPhase.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/events/EventPhase.as
new file mode 100644
index 0000000..817d33b
--- /dev/null
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/events/EventPhase.as
@@ -0,0 +1,53 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.events
+{
+
+/**
+ *  The DragEvent class represents event objects that are dispatched as part 
of a drag-and-drop
+ *  operation.
+ *
+ *  @see mx.managers.DragManager
+ *  @see mx.core.DragSource
+ *  @see mx.core.UIComponent
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
+ */
+public final class EventPhase
+{
+    //include "../core/Version.as";
+
+       
//--------------------------------------------------------------------------
+       //
+       //  Class constants
+       //
+       
//--------------------------------------------------------------------------
+
+       public static const AT_TARGET:uint = 2;
+       public static const BUBBLING_PHASE:uint = 3;
+       public static const CAPTURING_PHASE:uint = 1;
+}
+
+}

Reply via email to