Package org.jcsp.awt

Class WindowEventHandler

java.lang.Object
org.jcsp.awt.WindowEventHandler
All Implemented Interfaces:
WindowListener, EventListener

class WindowEventHandler extends Object implements WindowListener
  • Field Details

    • event

      protected ChannelOutput event
      The Channel action event notifications are sent down.
  • Constructor Details

    • WindowEventHandler

      public WindowEventHandler(ChannelOutput event)
      constructs a new WindowEventHandler with the specified output Channel.
      Parameters:
      event - The Channel to send the event notification down
  • Method Details

    • windowOpened

      public void windowOpened(WindowEvent e)
      Invoked when the Component the event handler is listening to has the window opened. Notifies the event process that a WindowEvent has occurred by sending the WindowEvent Object. Some notifications will be lost so there are no guarantees that all events generated will be processed.
      Specified by:
      windowOpened in interface WindowListener
      Parameters:
      e - The parameters associated with this event
    • windowClosing

      public void windowClosing(WindowEvent e)
      Invoked when the Component the event handler is listening to has the window start to close. Notifies the event process that a WindowEvent has occurred by sending the WindowEvent Object. Some notifications will be lost so there are no guarantees that all events generated will be processed.
      Specified by:
      windowClosing in interface WindowListener
      Parameters:
      e - The parameters associated with this event
    • windowClosed

      public void windowClosed(WindowEvent e)
      Invoked when the Component the event handler is listening to has the window closed. Notifies the event process that a WindowEvent has occurred by sending the WindowEvent Object. Some notifications will be lost so there are no guarantees that all events generated will be processed.
      Specified by:
      windowClosed in interface WindowListener
      Parameters:
      e - The parameters associated with this event
    • windowIconified

      public void windowIconified(WindowEvent e)
      Invoked when the Component the event handler is listening to has the window iconified. Notifies the event process that a WindowEvent has occurred by sending the WindowEvent Object. Some notifications will be lost so there are no guarantees that all events generated will be processed.
      Specified by:
      windowIconified in interface WindowListener
      Parameters:
      e - The parameters associated with this event
    • windowDeiconified

      public void windowDeiconified(WindowEvent e)
      Invoked when the Component the event handler is listening to has the window deiconified. Notifies the event process that a WindowEvent has occurred by sending the WindowEvent Object. Some notifications will be lost so there are no guarantees that all events generated will be processed.
      Specified by:
      windowDeiconified in interface WindowListener
      Parameters:
      e - The parameters associated with this event
    • windowActivated

      public void windowActivated(WindowEvent e)
      Invoked when the Component the event handler is listening to has the window activated. Notifies the event process that a WindowEvent has occurred by sending the WindowEvent Object. Some notifications will be lost so there are no guarantees that all events generated will be processed.
      Specified by:
      windowActivated in interface WindowListener
      Parameters:
      e - The parameters associated with this event
    • windowDeactivated

      public void windowDeactivated(WindowEvent e)
      Invoked when the Component the event handler is listening to has the window deactivated. Notifies the event process that a WindowEvent has occurred by sending the WindowEvent Object. Some notifications will be lost so there are no guarantees that all events generated will be processed.
      Specified by:
      windowDeactivated in interface WindowListener
      Parameters:
      e - The parameters associated with this event