Package org.jcsp.awt
Class WindowEventHandler
- java.lang.Object
-
- org.jcsp.awt.WindowEventHandler
-
- All Implemented Interfaces:
java.awt.event.WindowListener,java.util.EventListener
class WindowEventHandler extends java.lang.Object implements java.awt.event.WindowListener
-
-
Field Summary
Fields Modifier and Type Field Description protected ChannelOutputeventThe Channel action event notifications are sent down.
-
Constructor Summary
Constructors Constructor Description WindowEventHandler(ChannelOutput event)constructs a new WindowEventHandler with the specified output Channel.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwindowActivated(java.awt.event.WindowEvent e)Invoked when the Component the event handler is listening to has the window activated.voidwindowClosed(java.awt.event.WindowEvent e)Invoked when the Component the event handler is listening to has the window closed.voidwindowClosing(java.awt.event.WindowEvent e)Invoked when the Component the event handler is listening to has the window start to close.voidwindowDeactivated(java.awt.event.WindowEvent e)Invoked when the Component the event handler is listening to has the window deactivated.voidwindowDeiconified(java.awt.event.WindowEvent e)Invoked when the Component the event handler is listening to has the window deiconified.voidwindowIconified(java.awt.event.WindowEvent e)Invoked when the Component the event handler is listening to has the window iconified.voidwindowOpened(java.awt.event.WindowEvent e)Invoked when the Component the event handler is listening to has the window opened.
-
-
-
Field Detail
-
event
protected ChannelOutput event
The Channel action event notifications are sent down.
-
-
Constructor Detail
-
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 Detail
-
windowOpened
public void windowOpened(java.awt.event.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:
windowOpenedin interfacejava.awt.event.WindowListener- Parameters:
e- The parameters associated with this event
-
windowClosing
public void windowClosing(java.awt.event.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:
windowClosingin interfacejava.awt.event.WindowListener- Parameters:
e- The parameters associated with this event
-
windowClosed
public void windowClosed(java.awt.event.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:
windowClosedin interfacejava.awt.event.WindowListener- Parameters:
e- The parameters associated with this event
-
windowIconified
public void windowIconified(java.awt.event.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:
windowIconifiedin interfacejava.awt.event.WindowListener- Parameters:
e- The parameters associated with this event
-
windowDeiconified
public void windowDeiconified(java.awt.event.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:
windowDeiconifiedin interfacejava.awt.event.WindowListener- Parameters:
e- The parameters associated with this event
-
windowActivated
public void windowActivated(java.awt.event.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:
windowActivatedin interfacejava.awt.event.WindowListener- Parameters:
e- The parameters associated with this event
-
windowDeactivated
public void windowDeactivated(java.awt.event.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:
windowDeactivatedin interfacejava.awt.event.WindowListener- Parameters:
e- The parameters associated with this event
-
-