com.glaivestone.mv
Class MultipleWindowsSessionControlPolicy

java.lang.Object
  |
  +--com.glaivestone.mv.WindowEventAdaptor
        |
        +--com.glaivestone.mv.BasicSessionControlPolicy
              |
              +--com.glaivestone.mv.MultipleWindowsSessionControlPolicy
All Implemented Interfaces:
java.util.EventListener, SessionControlPolicy, WindowEventListener

public class MultipleWindowsSessionControlPolicy
extends BasicSessionControlPolicy

A session control policy for an application session which allows multiple top-level main windows and which is terminated when the last main window is closed.

The session control policy does not dictate any particular relationship between open windows in the session. The windows may be entirely independent or they may cooperate, either as a whole or in subsets of the windows that are open at any given time during the session.

Author:
Deb Lewis

Field Summary
 
Fields inherited from class com.glaivestone.mv.BasicSessionControlPolicy
NOP_SESSION_CONTROL_POLICY
 
Constructor Summary
MultipleWindowsSessionControlPolicy()
          Create a new multi-window session control policy.
 
Method Summary
 void windowClosed(WindowEvent event)
          Notification event that a window has been closed.
 
Methods inherited from class com.glaivestone.mv.WindowEventAdaptor
confirmWindowClose, windowClosing, windowOpened
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.glaivestone.mv.WindowEventListener
confirmWindowClose, windowClosing, windowOpened
 

Constructor Detail

MultipleWindowsSessionControlPolicy

public MultipleWindowsSessionControlPolicy()
Create a new multi-window session control policy.

Method Detail

windowClosed

public void windowClosed(WindowEvent event)
Notification event that a window has been closed.

Specified by:
windowClosed in interface WindowEventListener
Overrides:
windowClosed in class WindowEventAdaptor
See Also:
WindowEventListener.windowClosed(com.glaivestone.mv.WindowEvent)

GFL 1.1 API