Packagecom.theriabook.controls
Classpublic class ButtonGroup
InheritanceButtonGroup Inheritance flash.events.EventDispatcher
Implementsmx.core.IMXMLObject



Public Properties
 PropertyDefined by
  count : int
[read-only]
ButtonGroup
  enabled : Boolean
Determines whether selection is allowed.
ButtonGroup
  id : String
[read-only] Provides access to the id of this target.
ButtonGroup
  selectedData : Object
ButtonGroup
  selection : Button
ButtonGroup
  selectionPolicy : String = "checkPolicy"
ButtonGroup
Public Methods
 MethodDefined by
  
ButtonGroup(target:IEventDispatcher = null)
ButtonGroup
  
addButton(instance:Button):void
ButtonGroup
  
getButtonAt(index:int):Button
ButtonGroup
  
initialized(document:Object, id:String):void
ButtonGroup
  
removeButton(instance:Button):void
ButtonGroup
Events
 EventSummaryDefined by
    ButtonGroup
    ButtonGroup
Public Constants
 ConstantDefined by
  CHECK_POLICY : String = "checkPolicy"
[static]
ButtonGroup
  ENABLED_CHANGED : String = "enabledChanged"
[static]
ButtonGroup
  RADIO_POLICY : String = "radioPolicy"
[static]
ButtonGroup
Property detail
countproperty
count:int  [read-only]Implementation
    public function get count():int
enabledproperty 
enabled:Boolean  [read-write]

Determines whether selection is allowed.

The default value is true.

This property can be used as the source for data binding.

Implementation
    public function get enabled():Boolean
    public function set enabled(value:Boolean):void
idproperty 
id:String  [read-only]

Provides access to the id of this target. The id is assigned at runtime by the mxml compiler if used as an mxml tag, or internally if used within a script block

Implementation
    public function get id():String
selectedDataproperty 
selectedData:Object  [read-write]

This property can be used as the source for data binding.

Implementation
    public function get selectedData():Object
    public function set selectedData(value:Object):void
selectionproperty 
selection:Button  [read-write]

This property can be used as the source for data binding.

Implementation
    public function get selection():Button
    public function set selection(value:Button):void
selectionPolicyproperty 
public var selectionPolicy:String = "checkPolicy"
Constructor detail
ButtonGroup()constructor
public function ButtonGroup(target:IEventDispatcher = null)Parameters
target:IEventDispatcher (default = null)
Method detail
addButton()method
public function addButton(instance:Button):voidParameters
instance:Button
getButtonAt()method 
public function getButtonAt(index:int):ButtonParameters
index:int

Returns
Button
initialized()method 
public function initialized(document:Object, id:String):voidParameters
document:Object
 
id:String
removeButton()method 
public function removeButton(instance:Button):voidParameters
instance:Button
Event detail
changeevent 
Event object type: flash.events.Event

itemClickevent  
Event object type: mx.events.ItemClickEvent

Constant detail
CHECK_POLICYconstant
public static const CHECK_POLICY:String = "checkPolicy"
ENABLED_CHANGEDconstant 
public static const ENABLED_CHANGED:String = "enabledChanged"
RADIO_POLICYconstant 
public static const RADIO_POLICY:String = "radioPolicy"