Main Page | Packages | Class Tree | Index | Help

com.bjc.controls

class GroupBox

MovieClip
  |
  +--com.bjc.core.BJCComponent
        |
        +--com.bjc.controls.GroupBox


class GroupBox
extends BJCComponent

Basically a border which can be placed around any group of component, but also contains functionality to group together any Radio Buttons that it surrounds. Simply put a group box on stage, size and position it. Then place radio buttons so they fall within its border. The radio buttons within the group box will act as a single group, separate from any other radio buttons on stage.


Author:
Flashloaded - www.flashloaded.com


Fields inherited from class com.bjc.core.BJCComponent

version

Property Summary

public
radioButtonGroups: Array (read-only)
Returns an array of radio button groups associated with this group box. Most often there will only be a single group within one group box, which would be contained in element 0.

Properties inherited from class com.bjc.core.BJCComponent

disabledAlpha, enabled, focusTime, height, keyEnabled, style, width

Constructor

public
GroupBox ( Void)


Method Summary

public static
create ( target: MovieClip, id: String, depth: Number, initObj: Object ): GroupBox
Static method used to create an instance of a GroupBox on stage at run time.

Methods inherited from class com.bjc.core.BJCComponent

draw, invalidate, move, remove, setSize



Property Documentation

radioButtonGroups

public radioButtonGroups: Array (read-only)
Returns an array of radio button groups associated with this group box. Most often there will only be a single group within one group box, which would be contained in element 0.

Example:
trace(myGroupBox.radioButtonGroups[0]);


Constructor Documentation

GroupBox

public function GroupBox(Void)

Method Documentation

create

public static function create(target: MovieClip,
 id: String,
 depth: Number,
 initObj: Object): GroupBox
Static method used to create an instance of a GroupBox on stage at run time.

Parameters:
target
the movie clip to which the groupbox will be attached.
id
the instance name given to the new groupbox attached.
depth
the depth at which to attach the new groupbox.
initObj
(optional) an object containing any properties you want to assign to the component when it is created
Returns:
a reference to the new groupbox attached.

Example:
import com.bjc.controls.GroupBox;
var newGroupBox:GroupBox = GroupBox.create(_root, "myGroupBox", 0);


The documentation was generated from the following file:


Copyright Flashloaded - www.flashloaded.com