public class ComplexAssociation extends SimpleAssociation
Modifier and Type | Field and Description |
---|---|
protected static String |
INVERSE |
AB, abc, absolutePosition, absolutePositioned, acp, ACTION_HELP, ACTION_MATCH, ACTION_PLACE, ACTION_SELECT, ACTION_WRITE, ACTIONS, activityBgColor, activityBgGradient, AUB, BA, bActionsCounter, BASE_CLASS, BASE_CLASS_TAG, bgColor, BGCOLOR, bgGradient, bgImageFile, border, BORDER, boxGridPos, bScoreCounter, bTimeCounter, BUA, CLUE, CLUES, code, CODE, COMPATIBLE_ACTIVITIES, CONTAINER, COUNT_DOWN_ACTIONS, COUNT_DOWN_TIME, countDownActions, countDownTime, COUNTERS, DEFAULT_BG_COLOR, DEFAULT_GRID_ELEMENT_SIZE, DEFAULT_HEIGHT, DEFAULT_MARGIN, DEFAULT_NAME, DEFAULT_SHUFFLES, DEFAULT_WIDTH, description, DESCRIPTION, DRAG_CELLS, dragCells, ELEMENT_NAME, END, END_ERROR, eventSounds, FILE, GRID, HEIGHT, HELP_SHOW_SOLUTION, HELP_WINDOW, helpMsg, helpWindow, IMAGE, includeInReports, INFO_CMD, INFO_URL, infoCmd, infoUrl, invAss, LAYOUT, LAYOUT_NAMES, MAIN, margin, MARGIN, MAX_ACTIONS, MAX_TIME, maxActions, maxTime, messages, MESSAGES, MINIMUM_HEIGHT, MINIMUM_WIDTH, MSG_TYPE, name, NAME, NUM_MSG, POSITION, PREVIOUS, PRIMARY, project, RANDOM_CHARS, REPORT, REPORT_ACTIONS, reportActions, ROW, SCORE, scramble, SCRAMBLE, SECONDARY, SETTINGS, showSolution, shuffles, SIZE, skinFileName, SOLVED_PRIMARY, SOLVED_SECONDARY, tgc, TILED, tiledBgImg, TIME, TIMES, TRANSPARENT, transparentBg, TYPE, USE_ORDER, useOrder, WIDTH, WINDOW, windowSize, X, Y
AC_MARGIN, ACTION_AUDIO, ACTION_HLP, ACTION_INFO, ACTION_NAME, ACTION_NEXT, ACTION_PREV, ACTION_REPORTS, ACTION_RESET, ACTION_RETURN, ACTIONS_COUNTER, ACTIVITY_OBJECT, AUDIO_ENABLED, BG_COLOR, COMMON_SETTINGS, COMPRESS_IMAGES, COOKIE, counterNames, DEFAULT, DEFAULT_BUNDLE, DEFAULT_RENDERING_HINTS, DYNAMIC_ACTIONS, ENABLED, EXIT_URL, EXTERNAL_OBJECT, FALSE, HAND_CURSOR, ID, INFO_URL_FRAME, JMF, LOGO_ICON, MEDIA_OBJECT, MEDIA_SYSTEM, MEDIA_SYSTEMS, MIN_CELL_SIZE, MYURL, NAV_BUTTONS_ALWAYS, NO_MEDIASYSTEM_WARN, NUM_ACTIONS, NUM_COUNTERS, OK_CURSOR, PRE_DRAW_IMAGES, PROGRAM, PROJECT_OBJECT, QT, QT61, REC_CURSOR, REPORTER_CLASS, REPORTER_PARAMS, SCORE_COUNTER, SEQUENCE_OBJECT, SKIN, SKIN_OBJECT, SYSTEM_SOUNDS, T_ACTIVITY, T_ANIM, T_AUDIO, T_CLIC, T_EXTERNAL, T_FONT, T_IMAGE, T_INST, T_JCLIC, T_MEDIA, T_MIDI, T_SEQUENCE, T_TEXT, T_UNKNOWN_MEDIA, T_URL, T_VIDEO, T_XML, TIME_COUNTER, TRACE, TRUE, URL_BASE, URL_OBJECT
Constructor and Description |
---|
ComplexAssociation(JClicProject project)
Creates new ComplexAssociation
|
Modifier and Type | Method and Description |
---|---|
Activity.Panel |
getActivityPanel(PlayStation ps) |
Element |
getJDomElement()
Creates a JDom Element that represents the current object properties, in order
to allow it to be stored into a XML files.
|
int |
getMinNumActions() |
void |
initNew()
Initialisation method for newly created activities.
|
void |
setProperties(Clic3Activity c3a) |
void |
setProperties(Element e,
Object aux)
Applies to this object the properties previously stored into a JDom Element
usually created by means of a call to the
SimpleAssociation.getJDomElement() method). |
hasRandom, helpSolutionAllowed
canReinit, clear, duplicate, end, finalize, getActivity, getActivity, getEditor, getMessages, getProject, getPublicName, getShortClassName, getSimilarActivityClasses, getWindowSize, hasInfo, helpWindowAllowed, initAutoContentProvider, innerListReferences, listReferences, mustPauseSequence, needsKeyboard, prepareMedia, setWindowSize, shuffleAlways, toHtmlString
protected static final String INVERSE
public ComplexAssociation(JClicProject project)
public void initNew()
SimpleAssociation
initNew
in class SimpleAssociation
public Element getJDomElement()
SimpleAssociation
getJDomElement
in interface Domable
getJDomElement
in class SimpleAssociation
public void setProperties(Element e, Object aux) throws Exception
SimpleAssociation
SimpleAssociation.getJDomElement()
method).setProperties
in interface Domable
setProperties
in class SimpleAssociation
e
- The JDom element cointaining the data.aux
- Auxiliary object. Unused here, but has to be Domable
.Exception
- If something goes wrong.public void setProperties(Clic3Activity c3a) throws Exception
setProperties
in class SimpleAssociation
Exception
public int getMinNumActions()
getMinNumActions
in class SimpleAssociation
public Activity.Panel getActivityPanel(PlayStation ps)
getActivityPanel
in class SimpleAssociation
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.