|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.jetspeed.portlet.event.WindowAdapter
The WindowAdapter
is a window listener in which
all callback methods are empty implementations. The window
adapter makes it more convenient for an object to listen
for window events. In particular, by using the window
adapter, it is possible to implement only those callback
methods in which you are interested. Without the window
adapter, you must implement all callback methods, even
if the method is empty.
To use the window adapter, you create a subclass of
WindowAdapter
and override the desired callback
methods. You then create an instance of the window
adapter subclass and use it to register it as a listener
for window events.
WindowEvent
Constructor Summary | |
WindowAdapter()
|
Method Summary | |
void |
windowClosed(WindowEvent event)
Notifies this listener that a portlet window has been closed. |
void |
windowClosing(WindowEvent event)
Notifies this listener that a portlet window is about to be closed. |
void |
windowMaximized(WindowEvent event)
Notifies this listener that a portlet window has been maximized. |
void |
windowMinimized(WindowEvent event)
Notifies this listener that a portlet window has been minimized. |
void |
windowRestored(WindowEvent event)
Notifies this listener that a portlet window has been restored from being minimized or maximized, respectively. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.jetspeed.portlet.event.WindowListener |
windowDetached |
Constructor Detail |
public WindowAdapter()
Method Detail |
public void windowMaximized(WindowEvent event)
WindowListener
windowMaximized
in interface WindowListener
event
- the window eventpublic void windowMinimized(WindowEvent event)
WindowListener
windowMinimized
in interface WindowListener
event
- the window eventpublic void windowClosing(WindowEvent event)
WindowListener
windowClosing
in interface WindowListener
event
- the window eventpublic void windowClosed(WindowEvent event)
WindowListener
windowClosed
in interface WindowListener
event
- the window eventpublic void windowRestored(WindowEvent event)
WindowListener
windowRestored
in interface WindowListener
event
- the window event
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |