boxes/ActiveBoxGrid
Source: ActiveBoxGrid.js:32
File : boxes/ActiveBoxGrid.js
Created : 19/05/2015
By : Francesc Busquets francesc@gmail.com
JClic.js
An HTML5 player of JClic activities
https://projectestac.github.io/jclic.js
- License: EUPL-1.2
Other
ActiveBoxGrid
static
ActiveBoxGrid.js:44Extends: module:boxes/ActiveBoxBag.ActiveBoxBag
This class extends ActiveBoxBag with constructors that take an argument of type
Shaper used to build all its ActiveBoxcomponents. It also maintains information
about the number of "rows" and "columns", useful to compute valid (integer) values when
resizing or moving its components.
Parameters
parent(module:boxes/AbstractBox.AbstractBox) — The AbstractBox to which this box grid belongscontainer(module:AWT.Container) — The container where this box grid is placed.boxBase(module:boxes/BoxBase) — The object where colors, fonts, border and other graphic propertiespx(number) —Xcoordinate of the upper left corner of this box gridpy(number) —Ycoordinate of the upper left corner of this box gridsetWidth(number) — Total width of the box gridsetHeight(number) — Total height of the box gridsh(module:shapers/Shaper.Shaper) — Shaper used to build the ActiveBox objects