flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [25/50] [abbrv] git commit: [flex-asjs] [refs/heads/dual] - replicate ca552633123ea47a402828b1e1c047a302c06cea to Basic
Date Thu, 09 Feb 2017 05:45:17 GMT
replicate ca552633123ea47a402828b1e1c047a302c06cea to Basic


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/6e3b03ec
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/6e3b03ec
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/6e3b03ec

Branch: refs/heads/dual
Commit: 6e3b03eca2898f8284c71a880a3d1163bedc5f0d
Parents: 1866e6b
Author: Alex Harui <aharui@apache.org>
Authored: Mon Feb 6 13:08:47 2017 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Mon Feb 6 13:08:47 2017 -0800

----------------------------------------------------------------------
 .../flex/html/beads/layouts/LayoutOnShow.as     | 71 ++++++++++++++++++++
 .../Basic/src/main/resources/basic-manifest.xml |  1 +
 .../flex/html/beads/layouts/LayoutOnShow.as     | 71 --------------------
 3 files changed, 72 insertions(+), 71 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6e3b03ec/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/LayoutOnShow.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/LayoutOnShow.as
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/LayoutOnShow.as
new file mode 100644
index 0000000..73e2c82
--- /dev/null
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/LayoutOnShow.as
@@ -0,0 +1,71 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 org.apache.flex.html.beads.layouts
+{
+	
+	import org.apache.flex.core.IBead;
+	import org.apache.flex.core.IStrand;
+	import org.apache.flex.events.Event;
+	import org.apache.flex.events.IEventDispatcher;
+
+    /**
+     * 
+	 *  This bead ensures that IUIBase objects that are displayed
+	 *  are also laid out. Basic components can do without this behavior
+	 *  if it is known that the layout does not change.
+	 *  
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.6
+     *  @productversion FlexJS 0.0
+     */
+	public class LayoutOnShow implements IBead
+	{
+        /**
+         *  Constructor.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+		public function LayoutOnShow()
+		{
+		}
+		
+        /***
+         *  @copy org.apache.flex.core.IBead#strand
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+		public function set strand(value:IStrand):void
+		{
+			var eventDispatcher:IEventDispatcher = IEventDispatcher(value);
+			eventDispatcher.addEventListener('show', showHandler);
+		}
+		
+		private function showHandler(e:Event):void
+		{
+			IEventDispatcher(e.target).dispatchEvent(new Event('layoutNeeded'));
+		}
+	}
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6e3b03ec/frameworks/projects/Basic/src/main/resources/basic-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/resources/basic-manifest.xml b/frameworks/projects/Basic/src/main/resources/basic-manifest.xml
index ffc3734..2672e01 100644
--- a/frameworks/projects/Basic/src/main/resources/basic-manifest.xml
+++ b/frameworks/projects/Basic/src/main/resources/basic-manifest.xml
@@ -129,6 +129,7 @@
     <component id="ToolTipBead" class="org.apache.flex.html.accessories.ToolTipBead" />
 
     <component id="LayoutChangeNotifier" class="org.apache.flex.html.beads.layouts.LayoutChangeNotifier"/>
+    <component id="LayoutOnShow" class="org.apache.flex.html.beads.layouts.LayoutOnShow"/>
     <component id="ImageButton" class="org.apache.flex.html.ImageButton"/>
     <component id="FlexibleFirstChildHorizontalLayout" class="org.apache.flex.html.beads.layouts.FlexibleFirstChildHorizontalLayout"/>
     <component id="OneFlexibleChildVerticalLayout" class="org.apache.flex.html.beads.layouts.OneFlexibleChildVerticalLayout"/>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6e3b03ec/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/layouts/LayoutOnShow.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/layouts/LayoutOnShow.as
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/layouts/LayoutOnShow.as
deleted file mode 100644
index 73e2c82..0000000
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/layouts/LayoutOnShow.as
+++ /dev/null
@@ -1,71 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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 org.apache.flex.html.beads.layouts
-{
-	
-	import org.apache.flex.core.IBead;
-	import org.apache.flex.core.IStrand;
-	import org.apache.flex.events.Event;
-	import org.apache.flex.events.IEventDispatcher;
-
-    /**
-     * 
-	 *  This bead ensures that IUIBase objects that are displayed
-	 *  are also laid out. Basic components can do without this behavior
-	 *  if it is known that the layout does not change.
-	 *  
-     *  @langversion 3.0
-     *  @playerversion Flash 10.2
-     *  @playerversion AIR 2.6
-     *  @productversion FlexJS 0.0
-     */
-	public class LayoutOnShow implements IBead
-	{
-        /**
-         *  Constructor.
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		public function LayoutOnShow()
-		{
-		}
-		
-        /***
-         *  @copy org.apache.flex.core.IBead#strand
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		public function set strand(value:IStrand):void
-		{
-			var eventDispatcher:IEventDispatcher = IEventDispatcher(value);
-			eventDispatcher.addEventListener('show', showHandler);
-		}
-		
-		private function showHandler(e:Event):void
-		{
-			IEventDispatcher(e.target).dispatchEvent(new Event('layoutNeeded'));
-		}
-	}
-}


Mime
View raw message