Logo Search packages:      
Sourcecode: jclic version File versions  Download package

edu::xtec::jclic::activities::associations::SimpleAssociation Class Reference

Inheritance diagram for edu::xtec::jclic::activities::associations::SimpleAssociation:

edu::xtec::jclic::Activity edu::xtec::jclic::automation::ActiveBagContentKit::Compatible edu::xtec::jclic::Constants edu::xtec::jclic::edit::Editable edu::xtec::util::Domable edu::xtec::jclic::activities::associations::ComplexAssociation

List of all members.


Detailed Description

This activity has two MediaBag objects with the same number of elements. The elements are linked one to one (first A to first B, second A to second B, etc).
Author:
Francesc Busquets (fbusquets@xtec.net)
Version:
1.0
See also:
Activity

Definition at line 46 of file SimpleAssociation.java.


Public Member Functions

boolean canReinit ()
void clear ()
Activity duplicate () throws Exception
void end ()
void finalize () throws Throwable
Activity.Panel getActivityPanel (PlayStation ps)
Editor getEditor (Editor parent)
org.jdom.Element getJDomElement ()
ActiveBoxContent[] getMessages ()
int getMinNumActions ()
JClicProject getProject ()
String getPublicName ()
String getShortClassName ()
String[] getSimilarActivityClasses ()
Dimension getWindowSize ()
boolean hasInfo ()
boolean hasRandom ()
boolean helpSolutionAllowed ()
boolean helpWindowAllowed ()
void initAutoContentProvider ()
void initNew ()
boolean mustPauseSequence ()
boolean prepareMedia (PlayStation ps)
void setProperties (Clic3Activity c3a) throws Exception
void setProperties (org.jdom.Element e, Object aux) throws Exception
void setWindowSize (Dimension windowSize)
boolean shuffleAlways ()
 SimpleAssociation (JClicProject project)
String toHtmlString (ResourceBridge rb)

Static Public Member Functions

static Activity getActivity (Object o, JClicProject project) throws Exception
static void innerListReferences (org.jdom.Element e, HashMap map)
static void listReferences (org.jdom.Element e, HashMap map)

Public Attributes

ActiveBagContent[] abc
Point absolutePosition
boolean absolutePositioned
Color bgColor = DEFAULT_BG_COLOR
Gradient bgGradient
String bgImageFile
boolean border = true
int boxGridPos
String code
boolean countDownActions
boolean countDownTime
String description
boolean dragCells
EventSounds eventSounds = new EventSounds(null)
String helpMsg
boolean helpWindow
boolean includeInReports = true
String infoCmd
String infoUrl
boolean invAss
int margin = DEFAULT_MARGIN
int maxActions
int maxTime
String name = DEFAULT_NAME
boolean reportActions
boolean[] scramble = new boolean[2]
boolean showSolution
String skinFileName
TextGridContent tgc
boolean tiledBgImg
boolean useOrder

Static Public Attributes

static final int AB = 0
static final int AC_MARGIN = 6
static final int ACTION_AUDIO = 6
static final String ACTION_HELP = "HELP"
static final int ACTION_INFO = 4
static final String ACTION_MATCH = "MATCH"
static final String[] ACTION_NAME = {"prev", "next", "return", "reset", "info", "help", "audio", "about"}
static final int ACTION_NEXT = 1
static final String ACTION_PLACE = "PLACE"
static final int ACTION_PREV = 0
static final int ACTION_REPORTS = 7
static final int ACTION_RESET = 3
static final int ACTION_RETURN = 2
static final String ACTION_SELECT = "SELECT"
static final String ACTION_WRITE = "WRITE"
static final String ACTIONS = "actions"
static final int ACTIONS_COUNTER = 1
static final String ACTIVITY_OBJECT = "activity"
static final int AUB = 2
static final String AUDIO_ENABLED = "audioEnabled"
static final int BA = 1
static final String BASE_CLASS = "edu.xtec.jclic.activities."
static final String BASE_CLASS_TAG = "@"
static final java.awt.Color BG_COLOR = new java.awt.Color(239, 247, 221)
static final String BGCOLOR = "bgColor"
static final String BORDER = "border"
static final int BUA = 3
static final String CLUE = "clue"
static final String CLUES = "clues"
static final String CODE = "code"
static final String COMMON_SETTINGS = "commonSettings"
static final String[][] COMPATIBLE_ACTIVITIES
static final String COMPRESS_IMAGES = "compressImages"
static final String CONTAINER = "container"
static final String COOKIE = "cookie"
static final String COUNT_DOWN_ACTIONS = "countDownActions"
static final String COUNT_DOWN_TIME = "countDownTime"
static final String[] counterNames = {"score", "actions", "time"}
static final String COUNTERS = "counters"
static final String DEFAULT = "default"
static final Color DEFAULT_BG_COLOR = Color.lightGray
static final String DEFAULT_BUNDLE = "messages.JClicMessages"
static final int DEFAULT_GRID_ELEMENT_SIZE = 20
static final int DEFAULT_HEIGHT = 300
static final int DEFAULT_MARGIN = 8
static final String DEFAULT_NAME = "---"
static final
java.awt.RenderingHints 
DEFAULT_RENDERING_HINTS = new java.awt.RenderingHints(null)
static final int DEFAULT_SHUFFLES = 31
static final int DEFAULT_WIDTH = 400
static final String DESCRIPTION = "description"
static final String DRAG_CELLS = "dragCells"
static final int[] DYNAMIC_ACTIONS = {ACTION_PREV, ACTION_NEXT, ACTION_RETURN, ACTION_RESET, ACTION_INFO, ACTION_HELP}
static final String ELEMENT_NAME = "activity"
static final String ENABLED = "enabled"
static final int END = 2
static final int END_ERROR = 3
static final String EXIT_URL = "exitUrl"
static final String EXTERNAL_OBJECT = "external"
static final String FALSE = "false"
static final String FILE = "file"
static final String GRID = "grid"
static final int HAND_CURSOR = 0
static final String HEIGHT = "height"
static final String HELP_SHOW_SOLUTION = "showSolution"
static final String HELP_WINDOW = "helpWindow"
static final String ID = "id"
static final String IMAGE = "image"
static final String INFO_CMD = "infoCmd"
static final String INFO_URL = "infoUrl"
static final String INFO_URL_FRAME = "infoUrlFrame"
static final String JMF = "Java Media Framework"
static final String LAYOUT = "layout"
static final String[] LAYOUT_NAMES = {"AB", "BA", "AUB", "BUA"}
static final String LOGO_ICON = "icons/logo.png"
static final int MAIN = 1
static final String MARGIN = "margin"
static final String MAX_ACTIONS = "maxActions"
static final String MAX_TIME = "maxTime"
static final String MEDIA_OBJECT = "media"
static final String MEDIA_SYSTEM = "mediaSystem"
static final String[] MEDIA_SYSTEMS = {DEFAULT, JMF, QT}
static final String MESSAGES = "messages"
static final int MIN_CELL_SIZE = 10
static final int MINIMUM_HEIGHT = 40
static final int MINIMUM_WIDTH = 40
static final String[] MSG_TYPE = {"previous", "initial", "final", "finalError"}
static final String NAME = "name"
static final String NAV_BUTTONS_ALWAYS = "navButtonsAlways"
static final String NO_MEDIASYSTEM_WARN = "NoMediaSystemWarn"
static final int NUM_ACTIONS = 8
static final int NUM_COUNTERS = 3
static final int NUM_MSG = 4
static final int OK_CURSOR = 1
static final String POSITION = "position"
static final String PRE_DRAW_IMAGES = "preDrawImages"
static final int PREVIOUS = 0
static final String PRIMARY = "primary"
static final String PROGRAM = "JClic"
static final String PROJECT_OBJECT = "project"
static final String QT = "QuickTime"
static final String QT61 = "QuickTime 6.1"
static final String RANDOM_CHARS = "random_chars"
static final int REC_CURSOR = 2
static final String REPORT = "report"
static final String REPORT_ACTIONS = "reportActions"
static final String REPORTER_CLASS = "reporter"
static final String REPORTER_PARAMS = "reporterParams"
static final String ROW = "row"
static final String SCORE = "score"
static final int SCORE_COUNTER = 0
static final String SCRAMBLE = "scramble"
static final String SECONDARY = "secondary"
static final String SEQUENCE_OBJECT = "sequence"
static final String SETTINGS = "settings"
static final String SIZE = "size"
static final String SKIN = "skin"
static final String SKIN_OBJECT = "skin"
static final String SOLVED_PRIMARY = "solvedPrimary"
static final String SOLVED_SECONDARY = "solved_secondary"
static final String SYSTEM_SOUNDS = "systemSounds"
static final int T_ACTIVITY = 0x0001
static final int T_ANIM = 0x0100
static final int T_AUDIO = 0x0020
static final int T_CLIC = 0x1000
static final int T_EXTERNAL = 0x0008
static final int T_FONT = 0x0400
static final int T_IMAGE = 0x0010
static final int T_INST = 0x2000
static final int T_JCLIC = 0x0800
static final int T_MEDIA
static final int T_MIDI = 0x0040
static final int T_SEQUENCE = 0x0002
static final int T_TEXT = 0x8000
static final int T_UNKNOWN_MEDIA = 0x4000
static final int T_URL = 0x0004
static final int T_VIDEO = 0x0080
static final int T_XML = 0x0200
static final String TILED = "tiled"
static final String TIME = "time"
static final int TIME_COUNTER = 2
static final String TIMES = "times"
static final String TRACE = "trace"
static final String TRANSPARENT = "transparent"
static final String TRUE = "true"
static final String TYPE = "type"
static final String URL_BASE = "urlBase"
static final String URL_OBJECT = "url"
static final String USE_ORDER = "useOrder"
static final String WIDTH = "width"
static final String WINDOW = "window"
static final String X = "x"
static final String Y = "y"

Protected Member Functions

Activity getActivity ()

Protected Attributes

AutoContentProvider acp
Color activityBgColor = DEFAULT_BG_COLOR
Gradient activityBgGradient
boolean bActionsCounter = true
boolean bScoreCounter = true
boolean bTimeCounter = true
ActiveBoxContent[] messages = new ActiveBoxContent[NUM_MSG]
JClicProject project
int shuffles = DEFAULT_SHUFFLES
boolean transparentBg
Dimension windowSize = new Dimension(DEFAULT_WIDTH, DEFAULT_HEIGHT)

Package Attributes

boolean useIdAss

Classes

class  Panel

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index