bbbfly. PanelGroup object

bbbfly.PanelGroup

Handles {bbbfly.Panel} control state groups

In Packages

Type Definitions

def object

Properties:
Name Type Description
Visible string optional Group ID
Selected string optional Group ID

Members

static state enum integer

Name Type Default Description
visible integer 1
selected integer 2

Methods

ApplyControlState (ctrl, state, value){boolean}

Parameters:
Name Type Description
ctrl bbbfly.Panel Control instance
state bbbfly.PanelGroup.state State to Apply
value boolean State value
Returns:
Type Description
boolean If unregistration was successful

NewGroup (){string}

Returns:
Type Description
string State group ID

RegisterControl (ctrl, def){boolean}

Parameters:
Name Type Description
ctrl bbbfly.Panel Control instance
def bbbfly.PanelGroup.def State groups definition
Returns:
Type Description
boolean If control was registred

RegisterGroup (ctrl, state, id){boolean}

Parameters:
Name Type Description
ctrl bbbfly.Panel Control instance
state bbbfly.PanelGroup.state State to handle
id string State group ID
Returns:
Type Description
boolean If control group was registred

UnregisterControl (ctrl){boolean}

Parameters:
Name Type Description
ctrl bbbfly.Panel Control instance
Returns:
Type Description
boolean If control was unregistred