Class: PanelBlock

PanelBlock()

An PanelBlock is a container for panels.

Constructor

new PanelBlock()

Create a panel block.
Author:
  • Lawrence Fyfe
Source:

Methods

addPane(pane)

Add the specified pane to this block.
Parameters:
Name Type Description
pane pane The pane to add.
Source:

draw()

Draw this block.
Source:

erase()

Erase this block.
Source:

initialize(parentElement)

Initialize this block by attaching it to the specified parent element.
Parameters:
Name Type Description
parentElement element The parent element.
Source:

setSingleCurrentPane(pane)

Set the specified pane to be the single current pane for this block. This method is used when there are multiple layered panel panes in a block and only one panel can be shown at a time.
Parameters:
Name Type Description
pane pane The pane to set as the single current pane.
Source: