Interface ToastListener


public interface ToastListener
Listens for display/close events on a Toast window.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    clink(Toast toast, MouseEvent event)
    Called when the Toast window is clicked.
    void
    finishedToast(Toast toast, Popup popup)
    Called when the Toast window is closed.
    void
    startedToast(Toast toast, Popup window)
    Called when the Toast window is displayed.
  • Method Details

    • startedToast

      void startedToast(Toast toast, Popup window)
      Called when the Toast window is displayed.
      Parameters:
      toast - the toast object
      popup - the toast popup
    • finishedToast

      void finishedToast(Toast toast, Popup popup)
      Called when the Toast window is closed.
      Parameters:
      toast -
      popup -
    • clink

      void clink(Toast toast, MouseEvent event)
      Called when the Toast window is clicked.
      Parameters:
      toast -
      window -
      mouseEvent -