|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.rice.cs.drjava.model.repl.InteractionsScriptModel
public class InteractionsScriptModel
Manages the execution of a Interactions History as a script of individual commands. Useful for presentations.
Constructor Summary | |
---|---|
InteractionsScriptModel(InteractionsModel model,
List<String> interactions)
Constructs a new interactions script using the given model and interactions. |
Method Summary | |
---|---|
void |
executeInteraction()
Executes the current interaction. |
boolean |
hasNextInteraction()
|
boolean |
hasPrevInteraction()
|
void |
nextInteraction()
Enters the next interaction into the interactions pane. |
void |
prevInteraction()
Enters the previous interaction into the interactions pane. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InteractionsScriptModel(InteractionsModel model, List<String> interactions)
model
- the interactions modelinteractions
- the interactions that make up the script.Method Detail |
---|
public void nextInteraction()
public void prevInteraction()
public void executeInteraction()
public boolean hasNextInteraction()
public boolean hasPrevInteraction()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |