|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.lifl.jedi.gui.display.dataExportation.SimulationFileOutputer
public class SimulationFileOutputer
This is used to export character lines into a file.
JEDI V 2.2 |
Created the 7th may 2009 |
Yoann Kubera |
SMAC Team (Systèmes Multi-Agents et Comportement) |
LIFL (Laboratoire d'Informatique Fondamentale de Lille) |
University of Lille, France |
Constructor Summary | |
---|---|
SimulationFileOutputer(java.lang.String filename)
Constructor of the SimulationFileOutputer. |
Method Summary | |
---|---|
void |
addLine(java.lang.String line)
Adds a line to this SimulationFileOutputer. |
void |
addObserver(java.util.Observer o)
Adds an observer to this GUI |
void |
endFileWriting()
Closes the file where data are written. |
void |
notifyObservers(ISimulationEvent m)
Notifies a message to all observers registered to this GUI. |
void |
removeObserver(java.util.Observer o)
Removes an observer from this GUI |
void |
startFileWriting()
Opens the file where data are written. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimulationFileOutputer(java.lang.String filename)
Method Detail |
---|
public void addLine(java.lang.String line)
line
- the line to add at the end of the output file.public void startFileWriting()
public void endFileWriting()
public void addObserver(java.util.Observer o)
ISimulationGUI
addObserver
in interface ISimulationGUI
o
- The observer to add to the GUIISimulationGUI.addObserver(java.util.Observer)
public void notifyObservers(ISimulationEvent m)
ISimulationGUI
notifyObservers
in interface ISimulationGUI
m
- The notified event.ISimulationGUI.notifyObservers(fr.lifl.jedi.gui.ISimulationEvent)
public void removeObserver(java.util.Observer o)
ISimulationGUI
removeObserver
in interface ISimulationGUI
o
- The observer to add to the GUIISimulationGUI.removeObserver(java.util.Observer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |