Package xal.app.configurator
Class JavaFXLogger
- java.lang.Object
-
- xal.extension.tracewinimporter.ImportLogger
-
- xal.app.configurator.JavaFXLogger
-
public class JavaFXLogger extends xal.extension.tracewinimporter.ImportLoggerClass extending ImportLogger to display the import log in a dialog window- Author:
- Juan F. Esteban Müller
-
-
Constructor Summary
Constructors Constructor Description JavaFXLogger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()After the import, close() must be called to enable the OK button to be able to close the dialogjavafx.scene.control.AlertgetAlert()voidlog(String string)This method appends a new String to the current output.
-
-
-
Method Detail
-
getAlert
public javafx.scene.control.Alert getAlert()
-
log
public void log(String string)
This method appends a new String to the current output. It can be run from another thread, as the update is done from the JavaFX thread- Overrides:
login classxal.extension.tracewinimporter.ImportLogger- Parameters:
string-
-
close
public void close()
After the import, close() must be called to enable the OK button to be able to close the dialog- Overrides:
closein classxal.extension.tracewinimporter.ImportLogger
-
-