public class ActivityReg extends Object implements Serializable, Domable
Modifier and Type | Field and Description |
---|---|
static String |
ACTIONS |
static String |
CLOSED |
static String |
CODE |
static String |
ELEMENT_NAME |
static String |
MIN_ACTIONS |
static String |
NAME |
static String |
REPORT_ACTIONS |
static String |
SCORE |
static String |
SOLVED |
static String |
START |
static String |
TIME |
Constructor and Description |
---|
ActivityReg(Activity act)
Creates new ActivityReg
|
ActivityReg(Element e) |
Modifier and Type | Method and Description |
---|---|
void |
closeActivity() |
void |
endActivity(int setScore,
int setNumActions,
boolean isSolved) |
ActionReg |
getActionReg(int index) |
Element |
getJDomElement() |
int |
getPrecision() |
void |
newAction(String type,
String source,
String dest,
boolean ok) |
void |
setProperties(Element e,
Object aux) |
String |
toHtmlString(Messages msg,
String firstTd) |
String |
toString() |
public static final String ELEMENT_NAME
public static final String NAME
public static final String CODE
public static final String START
public static final String TIME
public static final String SOLVED
public static final String SCORE
public static final String MIN_ACTIONS
public static final String CLOSED
public static final String REPORT_ACTIONS
public static final String ACTIONS
public ActivityReg(Activity act)
public Element getJDomElement()
getJDomElement
in interface Domable
public void setProperties(Element e, Object aux) throws Exception
setProperties
in interface Domable
Exception
public ActionReg getActionReg(int index)
public void closeActivity()
public int getPrecision()
public void endActivity(int setScore, int setNumActions, boolean isSolved)
Copyright © 2004-15 Francesc Busquets (fbusquets@xtec.cat) & Departament d'Educació de la Generalitat de Catalunya (info@xtec.cat)
Licensed under the terms of the GNU General Public License.