Modifier and Type | Field and Description |
---|---|
static int |
MAX_LABEL_LENGTH |
protected ArrayList<MenuElement> |
menuElements |
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 |
---|
Menu(JClicProject project)
Creates new Menu
|
Modifier and Type | Method and Description |
---|---|
void |
addMenuElement(MenuElement me) |
Activity.Panel |
getActivityPanel(PlayStation ps) |
Editor |
getEditor(Editor parent)
Returns the
Editor associated to this object. |
Element |
getJDomElement() |
MenuElement |
getMenuElement(int n) |
int |
getMenuElementCount() |
int |
getMinNumActions() |
String |
getPublicName() |
void |
setProperties(Element e,
Object aux) |
canReinit, clear, duplicate, end, finalize, getActivity, getActivity, getMessages, getProject, getShortClassName, getSimilarActivityClasses, getWindowSize, hasInfo, hasRandom, helpSolutionAllowed, helpWindowAllowed, initAutoContentProvider, initNew, innerListReferences, listReferences, mustPauseSequence, needsKeyboard, prepareMedia, setProperties, setWindowSize, shuffleAlways, toHtmlString
protected ArrayList<MenuElement> menuElements
public static final int MAX_LABEL_LENGTH
public Menu(JClicProject project)
public String getPublicName()
getPublicName
in class Activity
public Element getJDomElement()
getJDomElement
in interface Domable
getJDomElement
in class Activity
public void setProperties(Element e, Object aux) throws Exception
setProperties
in interface Domable
setProperties
in class Activity
Exception
public int getMenuElementCount()
public MenuElement getMenuElement(int n)
public void addMenuElement(MenuElement me)
public int getMinNumActions()
getMinNumActions
in class Activity
public Editor getEditor(Editor parent)
Editable
Editor
associated to this object.getEditor
in interface Editable
getEditor
in class Activity
parent
- Editors can have a parent editor. Childs should communicate its changes to parents,
and changes in parents should affect its childs. This parameter can be null
in stand-alone objects.public Activity.Panel getActivityPanel(PlayStation ps)
getActivityPanel
in class Activity
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.