|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmauda.SimpleExercise
mauda.Exercise
mauda.evaluation.PlayerExercise
public class PlayerExercise
Extends Exercise by player-specific methods.
| Field Summary | |
|---|---|
OperationPlayerThread |
operationPlayerThread
Comment for operationPlayerThread. |
| Fields inherited from class mauda.Exercise |
|---|
BOTHOPERATION, compPanel, controlPanel, interactive, jedasPanel, NOPOPUP, OPERATION, opsToAnimate, quickAnim, scheduler, SUBOPERATION |
| Fields inherited from class mauda.SimpleExercise |
|---|
availableOperations, availableSubOperations, operationExecuter |
| Constructor Summary | |
|---|---|
PlayerExercise(java.lang.String type)
Creates a new PlayerExercise |
|
| Method Summary | |
|---|---|
void |
animate()
Starts the jedas-animation. |
void |
commit(SimpleOperation so)
Adds an operation to the animation-queue |
void |
commit(java.util.Vector v)
Adds several operations/exercise-update-events to the animation-operations that the JedasPanel should execute |
void |
exerciseUpdate(ExerciseUpdateEvent e)
Invoked when an Event occures |
CommentView |
getCommentView()
Returns the used CommentView |
JedasPlayer |
getJedasPlayer()
Returns the current JedasPlayer-Instance |
TimeStampRecorder |
getTimeStampRecorder()
Returns the used TimeStampRecorder |
TreeOperationView |
getTreeOperationView()
Returns the used TreeOperationView |
boolean |
isPlaying()
Returns the state of the player. |
boolean |
loadEvaluated(java.util.HashMap ht)
Loads an exercise that was completely evaluated by a tutor. |
void |
performAction(java.lang.Object obj)
Performs an operation or event |
void |
stopPlaying()
This methods stops the jedas-animation immediatly after the operation that is currently executed. |
| Methods inherited from class mauda.Exercise |
|---|
actionsAllowed, addFullLoadedMessage, back, commit, commit, commitInteractive, forward, getInteractiveMode, getUndoRedo, isModified, isReadyToSave, jumpToBeginning, jumpToEnd, load, redo, reset, save, setActionsAllowed, setDifficulty, setInteractiveMode, setMode, setModified, setQuickAnim, switchTo, undo |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public OperationPlayerThread operationPlayerThread
operationPlayerThread. Thread that performs actions
(SimpleOperation or ExerciseUpdateEvent).
| Constructor Detail |
|---|
public PlayerExercise(java.lang.String type)
type - The plugin-type, e.g. FibHeap| Method Detail |
|---|
public TreeOperationView getTreeOperationView()
public CommentView getCommentView()
public TimeStampRecorder getTimeStampRecorder()
public boolean loadEvaluated(java.util.HashMap ht)
ht - The Hash-Map-Representation of the exercise.
public JedasPlayer getJedasPlayer()
public void commit(SimpleOperation so)
Exercise
commit in class Exerciseso - SimpleOperationpublic void commit(java.util.Vector v)
Exercise
commit in class Exercisev - Vector of operations and/or ExerciseUpdateEventspublic void stopPlaying()
Exercise
stopPlaying in class Exercisepublic boolean isPlaying()
public void animate()
Exercise
animate in class Exercisepublic void performAction(java.lang.Object obj)
obj - SimpleOperation or ExerciseUpdateEventpublic void exerciseUpdate(ExerciseUpdateEvent e)
ExerciseUpdateListener
exerciseUpdate in interface ExerciseUpdateListenere - The event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||