.. java:import:: ch.epfl.leb.alica MainGUI .. java:import:: ch.epfl.leb.alica.interfaces.analyzers AnalyzerStatusPanel .. java:import:: ch.epfl.leb.alica.interfaces.controllers ControllerStatusPanel .. java:import:: ij IJ .. java:import:: java.awt Color .. java:import:: org.micromanager.internal.graph GraphData .. java:import:: org.micromanager.internal.graph GraphPanel MonitorGUI ========== .. java:package:: ch.epfl.leb.alica.workers :noindex: .. java:type:: public class MonitorGUI extends javax.swing.JFrame Display for monitoring the current Coordinator state. This display is controlled by the Coordinator. :author: Marcel Stefko Fields ------ l_fps ^^^^^ .. java:field:: public javax.swing.JLabel l_fps :outertype: MonitorGUI l_laser_power_max ^^^^^^^^^^^^^^^^^ .. java:field:: public javax.swing.JLabel l_laser_power_max :outertype: MonitorGUI l_last_analysis_duration ^^^^^^^^^^^^^^^^^^^^^^^^ .. java:field:: public javax.swing.JLabel l_last_analysis_duration :outertype: MonitorGUI p_realtime_plot_parent ^^^^^^^^^^^^^^^^^^^^^^ .. java:field:: public javax.swing.JPanel p_realtime_plot_parent :outertype: MonitorGUI pb_laser_power ^^^^^^^^^^^^^^ .. java:field:: public javax.swing.JProgressBar pb_laser_power :outertype: MonitorGUI Constructors ------------ MonitorGUI ^^^^^^^^^^ .. java:constructor:: public MonitorGUI(Coordinator coordinator, String analyzer_name, String controller_name, String laser_name, String analyzer_description, double start_setpoint) :outertype: MonitorGUI Creates new form MonitorGUI :param coordinator: Coordinator parent :param analyzer_name: name of the used analyzer :param controller_name: name of the used controller :param laser_name: name of the used laser :param analyzer_description: A short description of the analyzer's units. :param start_setpoint: setpoint value to display at startup Methods ------- setLaserPowerDisplayMax ^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: public void setLaserPowerDisplayMax(double value) :outertype: MonitorGUI Adjust the displayed laser power maximal value and store it for progressbar calculations. :param value: max laser power value setRoiStatus ^^^^^^^^^^^^ .. java:method:: public void setRoiStatus(boolean is_set) :outertype: MonitorGUI Update the GUI display of ROI status :param is_set: true if ROI is set setStopped ^^^^^^^^^^ .. java:method:: public void setStopped() :outertype: MonitorGUI Displays the STOPPED message in GUI. updateAnalyzerDescription ^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: public void updateAnalyzerDescription(String description) :outertype: MonitorGUI Update analyzer description. :param description: A short description of the analyzer's outputs. updateFPS ^^^^^^^^^ .. java:method:: public void updateFPS(int value) :outertype: MonitorGUI Update displayed FPS to new value :param value: new value of FPS updateLaserPowerDisplay ^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: public void updateLaserPowerDisplay(double value) :outertype: MonitorGUI Update displayed laser power to new value :param value: new value of laser power updateLastAnalysisDuration ^^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: public void updateLastAnalysisDuration(int duration_ms) :outertype: MonitorGUI Update last analysis duration to new value :param duration_ms: last analysis duration in ms updatePlot ^^^^^^^^^^ .. java:method:: public void updatePlot(GraphData data) :outertype: MonitorGUI Update the plow with new data :param data: data to be plotted