|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.ulg.montefiore.run.totem.visualtopo.guiComponents.scenario.ScenarioJTree
public class ScenarioJTree
Represent a scenario by a JTree object. Get the events name and parameters through reflection from jaxb. It permit to choose to display either all possible variables or only the variables that were set in the XML file. The variables that were not set are displayed in grey.
Creation date: 5 janv. 2006
EventTypeNode
Constructor Summary | |
---|---|
ScenarioJTree(Scenario scenario,
java.io.OutputStream output)
Build the internal JTree representation, displaying only the variables that are set. |
|
ScenarioJTree(Scenario scenario,
java.io.OutputStream output,
boolean displayNotSet)
Build the internal JTree representation |
Method Summary | |
---|---|
void |
collapseAll()
|
int |
executeToSelection()
|
void |
expandAll()
|
int |
finishExecution()
|
javax.swing.JTree |
getJTree()
returns a reference to the tree |
boolean |
isExecutionFinished()
|
boolean |
isStopOnError()
|
void |
setStopOnError(boolean stopOnError)
|
void |
step()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScenarioJTree(Scenario scenario, java.io.OutputStream output)
scenario
- the scenario to represent in the tree.output
- OutputStream used to display scenario execution result.public ScenarioJTree(Scenario scenario, java.io.OutputStream output, boolean displayNotSet)
scenario
- the scenario to represent in the tree.output
- OutputStream used to display scenario execution result.displayNotSet
- set to display the variable that were not set in the scenario XML file.Method Detail |
---|
public javax.swing.JTree getJTree()
public boolean isStopOnError()
public void setStopOnError(boolean stopOnError)
public void step()
public int executeToSelection()
public int finishExecution()
public boolean isExecutionFinished()
public void expandAll()
public void collapseAll()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |