Class AlertController

java.lang.Object
org.bidib.wizard.mvc.main.controller.AlertController

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

    • AlertController

      public AlertController(MainView mainView)
  • Method Details

    • start

      public void start()
    • stopWatcher

      public void stopWatcher()
    • showAlert

      public void showAlert(BidibAlert<?> alert, AlertListener.AlertAction action, 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)