You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by al...@apache.org on 2021/03/18 08:36:58 UTC

[royale-asjs] branch develop updated: IncludeLayout added in MultiSelectionList

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

alinakazi 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 00c39d4  IncludeLayout added in MultiSelectionList
00c39d4 is described below

commit 00c39d46ca5ad44c3fc3e34d062c804a3117911e
Author: alinakazi <al...@gmail.com>
AuthorDate: Thu Mar 18 13:36:46 2021 +0500

    IncludeLayout added in MultiSelectionList
---
 .../main/royale/mx/controls/MultiSelectionList.as  | 34 +++++++++++++++++++++-
 1 file changed, 33 insertions(+), 1 deletion(-)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/MultiSelectionList.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/MultiSelectionList.as
index a03001a..f5a1608 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/MultiSelectionList.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/MultiSelectionList.as
@@ -154,6 +154,38 @@ import org.apache.royale.html.DataContainer;
 			IMultiSelectionModel(model).selectedItems = value;
 		}
 		
-	
+		//----------------------------------
+		//  includeInLayout
+		//----------------------------------
+
+		/**
+		 *  @private
+		 *  Storage for the includeInLayout property.
+		 */
+		private var _includeInLayout:Boolean = true;
+
+		/**
+		 *  @copy mx.core.UIComponent#includeInLayout
+		 *  
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 3
+		 */
+		public function get includeInLayout():Boolean
+		{
+			return _includeInLayout;
+		}
+
+		/**
+		 *  @private
+		 */
+		public function set includeInLayout(value:Boolean):void
+		{
+			if (_includeInLayout != value)
+			{
+				_includeInLayout = value;
+			}
+		}
    	}
 }