You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by pu...@apache.org on 2020/12/16 18:09:36 UTC

[royale-asjs] branch develop updated: Update ListBase.as Added menuSelectionMode

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 84f3b5b  Update ListBase.as Added menuSelectionMode
84f3b5b is described below

commit 84f3b5b4106d3bcd440ed435ec2d8b06e996f675
Author: pashminakazi <42...@users.noreply.github.com>
AuthorDate: Wed Dec 16 23:09:29 2020 +0500

    Update ListBase.as Added menuSelectionMode
---
 .../royale/mx/controls/listClasses/ListBase.as     | 39 ++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/ListBase.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/ListBase.as
index fcfd394..9a9fab4 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/ListBase.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/ListBase.as
@@ -183,6 +183,45 @@ use namespace mx_internal;
             _dragMoveEnabled = value;
         }
         
+	
+	//----------------------------------
+        //  menuSelectionMode 
+        //----------------------------------
+        
+        /**
+         *  @public
+         *  Storage for the menuSelectionMode property.
+         */
+        public var _menuSelectionMode:Boolean = false;
+        
+        /**
+         *  A flag that indicates whether you can drag items out of
+         *  this control and drop them on other controls.
+         *  If <code>true</code>, dragging is enabled for the control.
+         *  If the <code>menuSelectionMode</code> property is also <code>true</code>,
+         *  you can drag items and drop them within this control
+         *  to reorder the items.
+         *
+         *  @default false
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.1
+         *  @productversion Flex 3
+         */
+        public function get menuSelectionMode():Boolean
+        {
+            return _menuSelectionMode;
+        }
+        
+        /**
+         *  @private
+         */
+        public function set menuSelectionMode(value:Boolean):void
+        {
+            _menuSelectionMode = value;
+        }
+	
         //----------------------------------
         //  dataProvider
         //----------------------------------