Class AlertController


  • public class AlertController
    extends Object
    The AlertController shows alerts on the main frame.
    • Constructor Detail

      • AlertController

        public AlertController​(MainView mainView)
    • Method Detail

      • start

        public void start()
      • stopWatcher

        public void stopWatcher()
      • showAlert

        public void showAlert​(com.jidesoft.alert.Alert alert,
                              Component owner)
        Show the provided alert.
        Parameters:
        alert - the alert
        owner - the owner component
      • addAlertListener

        public void addAlertListener​(AlertListener alertListener)
      • removeAlertListener

        public void removeAlertListener​(AlertListener alertListener)