incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject svn commit: r1244762 - in /incubator/flex/whiteboard/tink/navigators/examples/src: RolodexLayoutExamples.mxml TimeMachineLayoutExamples.mxml
Date Wed, 15 Feb 2012 22:20:38 GMT
Author: tink
Date: Wed Feb 15 22:20:37 2012
New Revision: 1244762

URL: http://svn.apache.org/viewvc?rev=1244762&view=rev
Log:
Bound easing a scrolling options to the example layouts.

Modified:
    incubator/flex/whiteboard/tink/navigators/examples/src/RolodexLayoutExamples.mxml
    incubator/flex/whiteboard/tink/navigators/examples/src/TimeMachineLayoutExamples.mxml

Modified: incubator/flex/whiteboard/tink/navigators/examples/src/RolodexLayoutExamples.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/tink/navigators/examples/src/RolodexLayoutExamples.mxml?rev=1244762&r1=1244761&r2=1244762&view=diff
==============================================================================
--- incubator/flex/whiteboard/tink/navigators/examples/src/RolodexLayoutExamples.mxml (original)
+++ incubator/flex/whiteboard/tink/navigators/examples/src/RolodexLayoutExamples.mxml Wed
Feb 15 22:20:37 2012
@@ -52,7 +52,12 @@
 										  horizontalAlign="{horizontalAlign.selectedItem}"
 										  verticalAlign="{verticalAlign.selectedItem}"
 										  horizontalOffset="{horizontalOffset.value}"
-										  verticalOffset="{verticalOffset.value}"/>
+										  verticalOffset="{verticalOffset.value}"
+										  useScrollBarForNavigation="{useScrollBarForNavigation.selected}"
+										  scrollBarDirection="{scrollBarDirection.selectedItem}"
+										  easer="{easer.selectedItem.ease}" duration="{duration.value}"
+										  projectionCenterX="{projectionCenterX.value}" projectionCenterY="{projectionCenterY.value}"
+										  fieldOfView="{fieldOfView.value}"/>
 					</st:layout>
 					
 					<s:BorderContainer width="80%" height="50%" backgroundColor="0xff0000">
@@ -118,7 +123,12 @@
 									  horizontalAlign="{horizontalAlign.selectedItem}"
 									  verticalAlign="{verticalAlign.selectedItem}"
 									  horizontalOffset="{horizontalOffset.value}"
-									  verticalOffset="{verticalOffset.value}"/>
+									  verticalOffset="{verticalOffset.value}"
+									  useScrollBarForNavigation="{useScrollBarForNavigation.selected}"
+									  scrollBarDirection="{scrollBarDirection.selectedItem}"
+									  easer="{easer.selectedItem.ease}" duration="{duration.value}"
+									  projectionCenterX="{projectionCenterX.value}" projectionCenterY="{projectionCenterY.value}"
+									  fieldOfView="{fieldOfView.value}"/>
 				</s:layout>
 				
 				<s:dataProvider>
@@ -306,7 +316,7 @@
 			<s:HGroup horizontalAlign="center" verticalAlign="middle" gap="0">
 				
 				<s:Label text="easer:"  fontWeight="bold" fontSize="8"/>
-				<s:ButtonBar id="easer" fontSize="8">
+				<s:ButtonBar id="easer" fontSize="8" requireSelection="true">
 					<s:dataProvider>
 						<s:ArrayList>
 							<fx:Object label="Linear" ease="{new Linear( 0, 1 )}"/>
@@ -334,11 +344,11 @@
 				<fx:Divider/>
 				
 				<s:Label text="scrollBarDirection:" fontWeight="bold" enabled="{useScrollBarForNavigation.selected}"
fontSize="8"/>
-				<s:ButtonBar id="scrollBarDirection" enabled="{useScrollBarForNavigation.selected}"
fontSize="8">
+				<s:ButtonBar id="scrollBarDirection" enabled="{useScrollBarForNavigation.selected}"
fontSize="8" requireSelection="true">
 					<s:dataProvider>
 						<s:ArrayList>
-							<fx:Object label="vertical"/>
-							<fx:Object label="horizontal"/>
+							<fx:String>vertical</fx:String>
+							<fx:String>horizontal</fx:String>
 						</s:ArrayList>
 					</s:dataProvider>
 				</s:ButtonBar>

Modified: incubator/flex/whiteboard/tink/navigators/examples/src/TimeMachineLayoutExamples.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/tink/navigators/examples/src/TimeMachineLayoutExamples.mxml?rev=1244762&r1=1244761&r2=1244762&view=diff
==============================================================================
--- incubator/flex/whiteboard/tink/navigators/examples/src/TimeMachineLayoutExamples.mxml
(original)
+++ incubator/flex/whiteboard/tink/navigators/examples/src/TimeMachineLayoutExamples.mxml
Wed Feb 15 22:20:37 2012
@@ -51,7 +51,12 @@
 											  horizontalAlign="{horizontalAlign.selectedItem}"
 											  verticalAlign="{verticalAlign.selectedItem}"
 											  horizontalOffset="{horizontalOffset.value}"
-											  verticalOffset="{verticalOffset.value}"/>
+											  verticalOffset="{verticalOffset.value}"
+											  useScrollBarForNavigation="{useScrollBarForNavigation.selected}"
+											  scrollBarDirection="{scrollBarDirection.selectedItem}"
+											  easer="{easer.selectedItem.ease}" duration="{duration.value}"
+											  projectionCenterX="{projectionCenterX.value}" projectionCenterY="{projectionCenterY.value}"
+											  fieldOfView="{fieldOfView.value}"/>
 					</st:layout>
 					
 					<s:BorderContainer width="80%" height="50%" backgroundColor="0xff0000">
@@ -116,7 +121,12 @@
 										  horizontalAlign="{horizontalAlign.selectedItem}"
 										  verticalAlign="{verticalAlign.selectedItem}"
 										  horizontalOffset="{horizontalOffset.value}"
-										  verticalOffset="{verticalOffset.value}"/>
+										  verticalOffset="{verticalOffset.value}"
+										  useScrollBarForNavigation="{useScrollBarForNavigation.selected}"
+										  scrollBarDirection="{scrollBarDirection.selectedItem}"
+										  easer="{easer.selectedItem.ease}" duration="{duration.value}"
+										  projectionCenterX="{projectionCenterX.value}" projectionCenterY="{projectionCenterY.value}"
+										  fieldOfView="{fieldOfView.value}"/>
 				</s:layout>
 				
 				<s:dataProvider>
@@ -275,7 +285,7 @@
 			<s:HGroup horizontalAlign="center" verticalAlign="middle" gap="0">
 				
 				<s:Label text="easer:"  fontWeight="bold" fontSize="8"/>
-				<s:ButtonBar id="easer" fontSize="8">
+				<s:ButtonBar id="easer" fontSize="8" requireSelection="true">
 					<s:dataProvider>
 						<s:ArrayList>
 							<fx:Object label="Linear" ease="{new Linear( 0, 1 )}"/>
@@ -303,11 +313,12 @@
 				<fx:Divider/>
 				
 				<s:Label text="scrollBarDirection:" fontWeight="bold" enabled="{useScrollBarForNavigation.selected}"
fontSize="8"/>
-				<s:ButtonBar id="scrollBarDirection" enabled="{useScrollBarForNavigation.selected}"
fontSize="8">
+				<s:ButtonBar id="scrollBarDirection" enabled="{useScrollBarForNavigation.selected}"
fontSize="8"
+							 requireSelection="true">
 					<s:dataProvider>
 						<s:ArrayList>
-							<fx:Object label="vertical"/>
-							<fx:Object label="horizontal"/>
+							<fx:String>vertical</fx:String>
+							<fx:String>horizontal</fx:String>
 						</s:ArrayList>
 					</s:dataProvider>
 				</s:ButtonBar>



Mime
View raw message