Overview  Package   Class  Tree  Serialized  Deprecated  Index  Help 

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

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

Parameters:
event - the window event
Throws:
org.apache.jetspeed.portlet.PortletException - if the listener has trouble fulfilling the request

windowMaximized

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

Parameters:
event - the window event
Throws:
org.apache.jetspeed.portlet.PortletException - if the listener has trouble fulfilling the request

windowMinimized

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

Parameters:
event - the window event
Throws:
org.apache.jetspeed.portlet.PortletException - if the listener has trouble fulfilling the request

windowClosing

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

Parameters:
event - the window event
Throws:
org.apache.jetspeed.portlet.PortletException - if the listener has trouble fulfilling the request

windowClosed

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

Parameters:
event - the window event
Throws:
org.apache.jetspeed.portlet.PortletException - if the listener has trouble fulfilling the request

windowRestored

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

Parameters:
event - the window event
Throws:
org.apache.jetspeed.portlet.PortletException - if the listener has trouble fulfilling the request

Overview  Package   Class  Tree  Serialized  Deprecated  Index  Help 

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.