A basic radio button component, meant to be used in groups, where only one button in the group can be selected.
Constructor
new (?parent:DisplayObjectContainer, ?xpos:Float, ?ypos:Float, ?label:String, ?checked:Bool, ?defaultHandler:Dynamic)
Constructor
Parameters:
parent | The parent DisplayObjectContainer on which to add this RadioButton. |
---|---|
xpos | The x position to place this component. |
ypos | The y position to place this component. |
label | The string to use for the initial label of this component. |
defaultHandler | The event handling function to handle the default event for this component (click in this case). |
Variables
groupName:String
Sets / gets the group name, which allows groups of RadioButtons to function seperately.