Class AbstractDialogFactory.DialogCloser

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.awt.event.AWTEventListener, java.awt.event.ComponentListener, java.util.EventListener
    Enclosing class:
    AbstractDialogFactory

    protected class AbstractDialogFactory.DialogCloser
    extends java.awt.event.ComponentAdapter
    implements java.awt.event.ActionListener, java.awt.event.AWTEventListener
    • Constructor Summary

      Constructors 
      Constructor Description
      DialogCloser​(javax.swing.JLabel label, long timeout)
      Creates a new DialogCloser.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void actionPerformed​(java.awt.event.ActionEvent e)  
      void componentHidden​(java.awt.event.ComponentEvent e)  
      void componentShown​(java.awt.event.ComponentEvent e)  
      void eventDispatched​(java.awt.AWTEvent event)  
      • Methods inherited from class java.awt.event.ComponentAdapter

        componentMoved, componentResized
      • Methods inherited from class java.lang.Object

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

      • DialogCloser

        public DialogCloser​(javax.swing.JLabel label,
                            long timeout)
        Creates a new DialogCloser.
        Parameters:
        label - the label used to show the remaining time
        timeout - the closing timeout in milliseconds
    • Method Detail

      • componentShown

        public void componentShown​(java.awt.event.ComponentEvent e)
        Specified by:
        componentShown in interface java.awt.event.ComponentListener
        Overrides:
        componentShown in class java.awt.event.ComponentAdapter
      • actionPerformed

        public void actionPerformed​(java.awt.event.ActionEvent e)
        Specified by:
        actionPerformed in interface java.awt.event.ActionListener
      • componentHidden

        public void componentHidden​(java.awt.event.ComponentEvent e)
        Specified by:
        componentHidden in interface java.awt.event.ComponentListener
        Overrides:
        componentHidden in class java.awt.event.ComponentAdapter
      • eventDispatched

        public void eventDispatched​(java.awt.AWTEvent event)
        Specified by:
        eventDispatched in interface java.awt.event.AWTEventListener