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

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

commit 24f953ba91a9573eca24bbc5c82d1a6c4416c6fe
Author: Alex Harui <aha...@apache.org>
AuthorDate: Sun Jan 13 23:45:22 2019 -0800

    add Spark TabBar example
---
 examples/mxroyale/tourdeflexmodules/build.xml                         | 2 ++
 examples/mxroyale/tourdeflexmodules/src/explorer.xml                  | 2 ++
 .../tourdeflexmodules/src/spark/containers/TabNavigator1Example.mxml  | 4 +++-
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/examples/mxroyale/tourdeflexmodules/build.xml 
b/examples/mxroyale/tourdeflexmodules/build.xml
index 58d99fe..b3eb54c 100644
--- a/examples/mxroyale/tourdeflexmodules/build.xml
+++ b/examples/mxroyale/tourdeflexmodules/build.xml
@@ -544,7 +544,9 @@
                <compile-mxml folder="/spark/containers/" relmap="../../" 
example="BorderExample"/>
                <compile-mxml folder="/spark/containers/" relmap="../../" 
example="GroupExample"/>
                <compile-mxml folder="/spark/containers/" relmap="../../" 
example="PanelExample"/>
+         -->
                <compile-mxml folder="/spark/containers/" relmap="../../" 
example="TabNavigator1Example"/>
+        <!--
                <compile-mxml folder="/spark/containers/" relmap="../../" 
example="TabNavigator2Example"/>
                <compile-mxml folder="/spark/skinning/" relmap="../../" 
example="ButtonWithIconExample"/>
                <compile-mxml folder="/spark/skinning/" relmap="../../" 
example="SkinningApplication1Example"/>
diff --git a/examples/mxroyale/tourdeflexmodules/src/explorer.xml 
b/examples/mxroyale/tourdeflexmodules/src/explorer.xml
index d9e3eb8..d63272c 100755
--- a/examples/mxroyale/tourdeflexmodules/src/explorer.xml
+++ b/examples/mxroyale/tourdeflexmodules/src/explorer.xml
@@ -374,7 +374,9 @@
                                        <node label="Panel" 
module="spark/containers/PanelExample"/>
                     <!--
                                        <node label="SkinnableDataContainer" 
module="spark/containers/SkinnableDataContainerExample" />
+                     -->
                                        <node label="TabNavigator" 
module="spark/containers/TabNavigator1Example" />
+                     <!--
                                        <node label="TabNavigator" 
module="spark/containers/TabNavigator2Example" />
                      -->
                                        <node label="TileGroup" 
module="spark/containers/TileGroupExample" />
diff --git 
a/examples/mxroyale/tourdeflexmodules/src/spark/containers/TabNavigator1Example.mxml
 
b/examples/mxroyale/tourdeflexmodules/src/spark/containers/TabNavigator1Example.mxml
index 22824b1..e3ab963 100644
--- 
a/examples/mxroyale/tourdeflexmodules/src/spark/containers/TabNavigator1Example.mxml
+++ 
b/examples/mxroyale/tourdeflexmodules/src/spark/containers/TabNavigator1Example.mxml
@@ -45,7 +45,7 @@
                        
                        protected function 
dg_itemClickHandler(event:ListEvent):void
                        {
-                               contact = dg.selectedItem as Contact;
+                               //contact = dg.selectedItem as Contact;
                        }
                        
                ]]>
@@ -84,6 +84,7 @@
                        </s:NavigatorContent>
                        <s:NavigatorContent label="Contact List" width="100%" 
height="100%" >
                                <s:BorderContainer width="100%" height="100%" 
dropShadowVisible="false">
+                    <!--
                                        <mx:DataGrid id="dg" 
dataProvider="{contacts}" x="5" y="5"  doubleClickEnabled="true" 
                                                                 
doubleClick="{tabs.selectedIndex=0}" itemClick="dg_itemClickHandler(event)">
                                                <mx:columns>
@@ -94,6 +95,7 @@
                                                        <mx:DataGridColumn 
headerText="Zip" dataField="zip"/>
                                                </mx:columns>
                                        </mx:DataGrid>
+                    -->
                                </s:BorderContainer>
                                
                        </s:NavigatorContent>

Reply via email to