flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r1452945 - in /flex/asjs/branches/develop/examples/FlexJSTest_again: MyInitialView.mxml MySimpleValuesImpl.as
Date Tue, 05 Mar 2013 19:00:58 GMT
Author: pent
Date: Tue Mar  5 19:00:58 2013
New Revision: 1452945

URL: http://svn.apache.org/r1452945
Log:
Added RadioButton to test suite

Modified:
    flex/asjs/branches/develop/examples/FlexJSTest_again/MyInitialView.mxml
    flex/asjs/branches/develop/examples/FlexJSTest_again/MySimpleValuesImpl.as

Modified: flex/asjs/branches/develop/examples/FlexJSTest_again/MyInitialView.mxml
URL: http://svn.apache.org/viewvc/flex/asjs/branches/develop/examples/FlexJSTest_again/MyInitialView.mxml?rev=1452945&r1=1452944&r2=1452945&view=diff
==============================================================================
--- flex/asjs/branches/develop/examples/FlexJSTest_again/MyInitialView.mxml (original)
+++ flex/asjs/branches/develop/examples/FlexJSTest_again/MyInitialView.mxml Tue Mar  5 19:00:58
2013
@@ -65,5 +65,13 @@ limitations under the License.
     
     <basic:CheckBox id="checkbox" x="320" y="170" text="Check Me" />
     
+    <basic:RadioButton groupName="group1" text="Apples" value="0" x="100" y="130" />
+    <basic:RadioButton groupName="group1" text="Oranges" value="1" x="100" y="150" selected="true"
/>
+    <basic:RadioButton groupName="group1" text="Grapes" value="2" x="100" y="170" />
+    
+    <basic:RadioButton groupName="group2" text="Red" value="red" x="100" y="230" selected="true"
/>
+    <basic:RadioButton groupName="group2" text="Green" value="green" x="100" y="250" />
+    <basic:RadioButton groupName="group2" text="Blue" value="blue" x="100" y="270"  />
+    
     
 </basic:ViewBase>

Modified: flex/asjs/branches/develop/examples/FlexJSTest_again/MySimpleValuesImpl.as
URL: http://svn.apache.org/viewvc/flex/asjs/branches/develop/examples/FlexJSTest_again/MySimpleValuesImpl.as?rev=1452945&r1=1452944&r2=1452945&view=diff
==============================================================================
--- flex/asjs/branches/develop/examples/FlexJSTest_again/MySimpleValuesImpl.as (original)
+++ flex/asjs/branches/develop/examples/FlexJSTest_again/MySimpleValuesImpl.as Tue Mar  5
19:00:58 2013
@@ -22,6 +22,7 @@ package 
 	
 	import org.apache.flex.core.SimpleValuesImpl;
 	import org.apache.flex.html.staticControls.beads.CheckBoxBead;
+	import org.apache.flex.html.staticControls.beads.RadioButtonBead;
 	import org.apache.flex.html.staticControls.beads.TextButtonBead;
 	import org.apache.flex.html.staticControls.beads.TextFieldBead;
 	import org.apache.flex.html.staticControls.beads.TextInputBead;
@@ -29,6 +30,7 @@ package 
 	import org.apache.flex.html.staticControls.beads.models.ArraySelectionModel;
     import org.apache.flex.html.staticControls.beads.models.TextModel;
 	import org.apache.flex.html.staticControls.beads.models.ToggleButtonModel;
+	import org.apache.flex.html.staticControls.beads.models.ValueToggleButtonModel;
 	
 	public class MySimpleValuesImpl extends SimpleValuesImpl
 	{
@@ -41,7 +43,9 @@ package 
 				ITextModel: TextModel,
 				ITextInputBead: TextInputWithBorderBead,
 				IToggleButtonModel: ToggleButtonModel,
-				ICheckBoxBead:  CheckBoxBead				
+				ICheckBoxBead:  CheckBoxBead,
+				IValueToggleButtonModel: ValueToggleButtonModel,
+				IRadioButtonBead: RadioButtonBead				
 			}
 		}
 		



Mime
View raw message