Class SequentialNotificationManager

java.lang.Object
ch.swingfx.twinkle.manager.SequentialNotificationManager

public class SequentialNotificationManager extends Object
I manage the notification windows and show the one after one
  • Field Details

    • DELAY

      private static final int DELAY
      Delay before we show the notification
      See Also:
    • sLock

      private static final Lock sLock
      our lock for synchronization
    • sWindows

      private static final LinkedList<JWindow> sWindows
      list of all windows we want to display. guarded by lock
    • sWindowOpen

      private static boolean sWindowOpen
      true if a window is open. guarded by lock
  • Constructor Details

    • SequentialNotificationManager

      private SequentialNotificationManager()
  • Method Details

    • showNotification

      protected static void showNotification(JWindow window)
      Shows the notification
      Parameters:
      window - window to show
    • nextWindow

      private static void nextWindow()
      shows the next window on the stack