Starling Feathers Controls ButtonGroup
来源:互联网 发布:外国身份证 知乎 编辑:程序博客网 时间:2024/05/21 08:04
说明:
一组在布局上相关联的按钮。
用法:
private function testButtonGroup():void{var group:ButtonGroup = new ButtonGroup();group.dataProvider = new ListCollection([{ label: "大", triggered: yesButton_triggeredHandler },{ label: "飞", triggered: noButton_triggeredHandler },{ label: "狼", triggered: cancelButton_triggeredHandler },]);this.addChild( group );}private function yesButton_triggeredHandler(e:Event):void{trace("yesButton_triggeredHandler");}private function noButton_triggeredHandler(e:Event):void{trace("noButton_triggeredHandler");}private function cancelButton_triggeredHandler(e:Event):void{trace("cancelButton_triggeredHandler");}
效果:
更多说明参考:
http://wiki.starling-framework.org/feathers/button-group
0 0
- Starling Feathers Controls ButtonGroup
- Starling Feathers Controls Alert
- Starling Feathers Controls Button
- Starling Feathers Controls Callout
- Starling Feathers Controls Check
- Starling Feathers Controls Drawers
- Starling Feathers Controls GroupedList
- Starling Feathers Controls Header
- Starling Feathers Controls ImageLoader
- Starling Feathers Controls Label
- Starling Feathers Controls LayoutGroup
- Starling Feathers Controls List
- Starling Feathers Controls NumericStepper
- Starling Feathers Controls PageIndicator
- Starling Feathers Controls Panel
- Starling Feathers Controls PanelScreen
- Starling Feathers Controls PickerList
- Starling Feathers Controls ProgressBar
- Python字符串操作
- Spring简单实例
- 给独立开发者的经验分享——领域知识
- Qt安装教程
- 浅谈算法时间复杂度
- Starling Feathers Controls ButtonGroup
- c++堆和栈
- HashMap与HashTable区别(Differences between HashMap and Hashtable)
- ArcGIS教程:网络分析工作流
- 64位Win7下安装与配置PHP环境【Apache+PHP+MySQL】
- ifconfig lo的作用
- POJ3414——Pots
- this project is not a myeclipse hibernate project . assuming hibernate 3 cap
- 体验JAVA中的构造函数