Class ModalSheetCounter

  • All Implemented Interfaces:
    java.awt.event.WindowFocusListener, java.awt.event.WindowListener, java.awt.event.WindowStateListener, java.util.EventListener

    public class ModalSheetCounter
    extends java.awt.event.WindowAdapter
    Window listener that counts how many we have opened modal dialogs
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isModalSheetVisible()  
      void windowDeactivated​(java.awt.event.WindowEvent e)  
      void windowOpened​(java.awt.event.WindowEvent e)  
      • Methods inherited from class java.awt.event.WindowAdapter

        windowActivated, windowClosed, windowClosing, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowStateChanged
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ModalSheetCounter

        public ModalSheetCounter()
    • Method Detail

      • windowOpened

        public void windowOpened​(java.awt.event.WindowEvent e)
        Specified by:
        windowOpened in interface java.awt.event.WindowListener
        Overrides:
        windowOpened in class java.awt.event.WindowAdapter
      • windowDeactivated

        public void windowDeactivated​(java.awt.event.WindowEvent e)
        Specified by:
        windowDeactivated in interface java.awt.event.WindowListener
        Overrides:
        windowDeactivated in class java.awt.event.WindowAdapter
      • isModalSheetVisible

        public boolean isModalSheetVisible()