boxes/TextGrid
Source: TextGrid.js:32
File : boxes/TextGrid.js
Created : 12/06/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
defaults: object
static
TextGrid.js:41Default values
flags: object
static
TextGrid.js:51Binary flags used to mark status
TextGrid
static
TextGrid.js:67Extends: module:boxes/AbstractBox.AbstractBox
This class is a special type of AbstractBox that displays a grid of single
characters.
It's used CrossWord and WordSearch activities.
Parameters
parent(module:boxes/AbstractBox.AbstractBox) — The AbstractBox to which this text grid belongscontainer(module:AWT.Container) — The container where this text grid is placed.boxBase(module:boxes/BoxBase.BoxBase) — The object where colors, fonts, border and other graphic propertiesx(number) —Xcoordinate of the upper left corner of this gridy(number) —Ycoordinate of the upper left corner of this gridncw(number) — Number of columns of the gridnch(number) — Nomber of rows of the gridcellW(number) — Width of the cellscellH(number) — Height of the cellsborder(boolean) — Whentrue, a border must be drawn between the cells