new ButtonGroup()public function append(b:AbstractButton):VoidAdds the button to the group.
b | the button to be added |
public function remove(b:AbstractButton):VoidRemoves the button from the group.
b | the button to be removed |
public function getElements():ArrayReturns all the buttons that are participating in this group.
an Array of the buttons in this group
public function getSelection():ButtonModelReturns the model of the selected button.
the selected button model
public function setSelected(m:ButtonModel, b:Boolean):Void
Sets the selected value for the ButtonModel. Only one
button in the group may be selected at a time.
m | the ButtonModel
|
b | true if this button is to be selected,
otherwise false
|
public function isSelected(m:ButtonModel):Boolean
Returns whether a ButtonModel is selected.
true if the button is selected, otherwise returns
false