Class ServerPanel

    • Constructor Detail

      • ServerPanel

        public ServerPanel​(MonitorModel model)
        Creates a new server panel for a monitored server
        Parameters:
        model - information about the monitored server
      • ServerPanel

        @Deprecated
        public ServerPanel()
        Deprecated.
        Only for use in unit testing
    • Method Detail

      • updateGui

        public void updateGui​(MonitorModel stat)
        Method will update the ServerPanel's health, load, and timestamp. For efficiency, it uses the static method to lookup the images.
        Specified by:
        updateGui in interface MonitorGuiListener