org.jboss.portal.core.samples.basic.event
Class WindowConstraintEventListener

java.lang.Object
  extended by org.jboss.portal.core.samples.basic.event.WindowConstraintEventListener
All Implemented Interfaces:
PortalNodeEventListener

public class WindowConstraintEventListener
extends java.lang.Object
implements PortalNodeEventListener

Version:
$Revision: 1.1 $
Author:
Julien Viet

Nested Class Summary
 class WindowConstraintEventListener.WindowManipulator
           
 
Constructor Summary
WindowConstraintEventListener()
           
 
Method Summary
 PortalNodeEvent onEvent(PortalNodeEventContext context, PortalNodeEvent event)
          Dispatch an event to the listener.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowConstraintEventListener

public WindowConstraintEventListener()
Method Detail

onEvent

public PortalNodeEvent onEvent(PortalNodeEventContext context,
                               PortalNodeEvent event)
Description copied from interface: PortalNodeEventListener
Dispatch an event to the listener.

Specified by:
onEvent in interface PortalNodeEventListener
Parameters:
context - the context in which the event is triggered
event - the fired event
Returns:
an possible new events that will replace the current event or null to keep the same event