トップページ >  Flex >  ToggleButtonBar
初版2009/09/28: 最終更新日2009/09/28
ToggleButtonBar
目次
ToggleButtonBarとは
ToggleButtonBarのソース
ToggleButtonBarサンプル
ToggleButtonBarとは
ボタンを並べられるナビゲーションです。 ButtonBarとの違いはButtonBarは選択したボタンの情報を保持しませんが、ToggleButtonBarは保持します。
ToggleButtonBarのソース
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
	<mx:ToggleButtonBar x="153" y="135">
        <mx:dataProvider>
            <mx:String>Flash</mx:String>
            <mx:String>Director</mx:String>
            <mx:String>Dreamweaver</mx:String>
            <mx:String>ColdFusion</mx:String>
        </mx:dataProvider>
	</mx:ToggleButtonBar>
	
</mx:Application>
ToggleButtonBarサンプル