Activity

Source: Activity.js:32

File : Activity.js
Created : 07/04/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

Activity

staticabstract
Activity.js:55

Activity is the abstract base class of JClic activities. It defines also the inner class
ActivityPanel, wich is responsible for user interaction with the activity
content.
Activities should extend both Activity and ActivityPanel classes in order to become fully
operative.

Parameters

ActivityPanel

Extends: module:AWT.Container

This object is responsible for rendering the contents of the activity on the screen and
managing user's interaction.
Each type of Activity must implement its own ActivityPanel.
In JClic, Activity.Panel
extends javax.swing.JPanel.
On this implementation, the JPanel will be replaced by an HTML div tag.

Parameters