You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jm...@apache.org on 2014/08/25 14:00:25 UTC

[1/2] git commit: [flex-utilities] [refs/heads/develop] - add a coupe of simple 4.11 and 4.12 examples

Repository: flex-utilities
Updated Branches:
  refs/heads/develop 5c2c9a856 -> 004afb61c


add a coupe of simple 4.11 and 4.12 examples


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/56637f59
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/56637f59
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/56637f59

Branch: refs/heads/develop
Commit: 56637f59fa8e55656eafab82f10329e2011cd18c
Parents: 5c2c9a8
Author: Justin Mclean <jm...@apache.org>
Authored: Mon Aug 25 21:59:30 2014 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Mon Aug 25 21:59:30 2014 +1000

----------------------------------------------------------------------
 TourDeFlex/TourDeFlex3/build.xml        | 2 ++
 TourDeFlex/TourDeFlex3/src/explorer.xml | 8 +++++---
 2 files changed, 7 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/56637f59/TourDeFlex/TourDeFlex3/build.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/build.xml b/TourDeFlex/TourDeFlex3/build.xml
index a9f0916..7d3d421 100644
--- a/TourDeFlex/TourDeFlex3/build.xml
+++ b/TourDeFlex/TourDeFlex3/build.xml
@@ -415,6 +415,8 @@
 		<compile-mxml example="/apache/i18n/MillisecondExample"/>
 		<compile-mxml example="/apache/i18n/ScientificExample"/>
 		<compile-mxml example="/apache/i18n/NumericStepperExample"/>
+		<compile-mxml example="/apache/containers/CalloutExample"/>
+		<compile-mxml example="/apache/controls/MaskedTextInputExample"/>
 	</target>
 		
 	<target name="package" description="package up all source files" depends="package-dir,package-tar,package-zip">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/56637f59/TourDeFlex/TourDeFlex3/src/explorer.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/explorer.xml b/TourDeFlex/TourDeFlex3/src/explorer.xml
index 944daf6..cfe594e 100755
--- a/TourDeFlex/TourDeFlex3/src/explorer.xml
+++ b/TourDeFlex/TourDeFlex3/src/explorer.xml
@@ -441,7 +441,7 @@
 		</node>
 		<node label="Apache Flex Components and Features">
 			<node label="Apache Flex 4.8" app="apache/ApacheFlex4_8_0">
-				<!--  Add more examples here -->
+				<!--  Do we habe any examples here? -->
 			</node>
 			<node label="Apache Flex 4.9" app="apache/ApacheFlex4_9_0">
 				<!--  Add more examples here -->
@@ -458,10 +458,12 @@
 				<compile-mxml label="Timezone Formatting" app="apache/i18n/TimezoneExample"/>
 			</node>
 			<node label="Apache Flex 4.11" app="apache/ApacheFlex4_11_0">
-				<!--  Add examples here -->
+				<!--  Add more examples here -->
+				<compile-mxml label="Callout" app="apache/containers/CalloutExample"/>
 			</node>
 			<node label="Apache Flex 4.12" app="apache/ApacheFlex4_12_1">
-				<!--  Add examples here -->
+				<!--  Add more examples here -->
+				<compile-mxml label="MaskedTextInput" app="apache/controls/MaskedTextInputExample"/>
 			</node>
 			<node label="Apache Flex 4.13" app="apache/ApacheFlex4_13_0">
 				<!--  Add examples here -->


[2/2] git commit: [flex-utilities] [refs/heads/develop] - add a couple of simple 4.11 and 4.12 examples

Posted by jm...@apache.org.
add a couple of simple 4.11 and 4.12 examples


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/004afb61
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/004afb61
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/004afb61

Branch: refs/heads/develop
Commit: 004afb61c4a7b1bfbe9660cba5aacd472a3b231f
Parents: 56637f5
Author: Justin Mclean <jm...@apache.org>
Authored: Mon Aug 25 22:00:04 2014 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Mon Aug 25 22:00:04 2014 +1000

----------------------------------------------------------------------
 .../src/apache/containers/CalloutExample.mxml   | 41 ++++++++++++++++++++
 .../apache/controls/MaskedTextInputExample.mxml | 34 ++++++++++++++++
 2 files changed, 75 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/004afb61/TourDeFlex/TourDeFlex3/src/apache/containers/CalloutExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/apache/containers/CalloutExample.mxml b/TourDeFlex/TourDeFlex3/src/apache/containers/CalloutExample.mxml
new file mode 100644
index 0000000..ace2200
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/apache/containers/CalloutExample.mxml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  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.
+
+-->
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
+			   xmlns:s="library://ns.adobe.com/flex/spark" 
+			   xmlns:mx="library://ns.adobe.com/flex/mx">
+
+	<fx:Declarations>
+		<s:Callout id="callout">
+			<s:VGroup horizontalAlign="center">
+				<s:Label text="Callout - click close" />
+				<s:Button label="Close" click="callout.close()" />
+			</s:VGroup>
+		</s:Callout>
+	</fx:Declarations>
+	
+	<s:Panel title="Callout" width="100%" height="100%" borderAlpha="0.15">
+		<s:layout>
+			<s:VerticalLayout paddingLeft="20" paddingTop="20" gap="10" />
+		</s:layout>
+		<s:HGroup>
+			<s:Button id="show" label="Show Callout" click="callout.open(show)" />
+		</s:HGroup>
+	</s:Panel>
+</s:Application>

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/004afb61/TourDeFlex/TourDeFlex3/src/apache/controls/MaskedTextInputExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/apache/controls/MaskedTextInputExample.mxml b/TourDeFlex/TourDeFlex3/src/apache/controls/MaskedTextInputExample.mxml
new file mode 100644
index 0000000..62c2d72
--- /dev/null
+++ b/TourDeFlex/TourDeFlex3/src/apache/controls/MaskedTextInputExample.mxml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  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.
+
+-->
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+			   xmlns:s="library://ns.adobe.com/flex/spark"
+			   xmlns:mx="library://ns.adobe.com/flex/mx"
+			   xmlns:x="http://flex.apache.org/experimental/ns">
+	
+	<s:Panel title="Millisecond Format" width="100%" height="100%" borderAlpha="0.15">
+		<s:layout>
+			<s:VerticalLayout paddingLeft="20" paddingTop="20" gap="10" />
+		</s:layout>
+		<s:HGroup verticalAlign="bottom">
+			<s:Label text="Phone Number:" />
+			<x:MaskedTextInput maskText="####-####" />
+		</s:HGroup>
+	</s:Panel>
+</s:Application>