Class JavaFXLogger


  • public class JavaFXLogger
    extends xal.extension.tracewinimporter.ImportLogger
    Class extending ImportLogger to display the import log in a dialog window
    Author:
    Juan F. Esteban Müller
    • Constructor Detail

      • JavaFXLogger

        public JavaFXLogger()
    • 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:
        log in class xal.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:
        close in class xal.extension.tracewinimporter.ImportLogger