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
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
project(module:project/JClicProject.JClicProject) — The JClicProject to which this activity belongs
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
act(module:Activity.Activity) — The Activity to which this Panel belongsps(module:JClicPlayer.JClicPlayer) — Any object implementing the methods defined in the
PlayStation
Java interface.$div(external:jQuery, optional) — The jQuery DOM element where this Panel will deploy