org.apache.jetspeed.portlet.event
Interface WindowListener


Deprecated. since 5.0, use PortletWindow.getWindowState() instead.

public interface WindowListener

Window events are not supported anymore in 5.1. For compatibility reasons, the interface is not removed, but no window events are sent to portlets.

The WindowListener interface is an addition to the Portlet interface. If an object wishes to receive events from a portlet window, this interface has to be implemented additionally to the Portlet interface.

For convenience the WindowListener provides different methods for each type of window events.

Since:
4.1
See Also:
WindowEvent
Note:
This interface is designed to be implemented by clients.

Method Summary
 void windowClosed(WindowEvent event)
          Deprecated. Notifies this listener that a portlet window has been closed.
 void windowClosing(WindowEvent event)
          Deprecated. Notifies this listener that a portlet window is about to be closed.
 void windowDetached(WindowEvent event)
          Deprecated. Notifies this listener that a portlet window has been detached.
 void windowMaximized(WindowEvent event)
          Deprecated. Notifies this listener that a portlet window has been maximized.
 void windowMinimized(WindowEvent event)
          Deprecated. Notifies this listener that a portlet window has been minimized.
 void windowRestored(WindowEvent event)
          Deprecated. Notifies this listener that a portlet window has been restored from being minimized or maximized, respectively.
 

Method Detail

windowDetached

void windowDetached(WindowEvent event)
                    throws PortletException
Deprecated. 
Notifies this listener that a portlet window has been detached.

Parameters:
event - the window event
Throws:
PortletException - if the listener has trouble fulfilling the request

windowMaximized

void windowMaximized(WindowEvent event)
                     throws PortletException
Deprecated. 
Notifies this listener that a portlet window has been maximized.

Parameters:
event - the window event
Throws:
PortletException - if the listener has trouble fulfilling the request

windowMinimized

void windowMinimized(WindowEvent event)
                     throws PortletException
Deprecated. 
Notifies this listener that a portlet window has been minimized.

Parameters:
event - the window event
Throws:
PortletException - if the listener has trouble fulfilling the request

windowClosing

void windowClosing(WindowEvent event)
                   throws PortletException
Deprecated. 
Notifies this listener that a portlet window is about to be closed.

Parameters:
event - the window event
Throws:
PortletException - if the listener has trouble fulfilling the request

windowClosed

void windowClosed(WindowEvent event)
                  throws PortletException
Deprecated. 
Notifies this listener that a portlet window has been closed.

Parameters:
event - the window event
Throws:
PortletException - if the listener has trouble fulfilling the request

windowRestored

void windowRestored(WindowEvent event)
                    throws PortletException
Deprecated. 
Notifies this listener that a portlet window has been restored from being minimized or maximized, respectively.

Parameters:
event - the window event
Throws:
PortletException - if the listener has trouble fulfilling the request