Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.portal.api.node.event
Interface PortalNodeEventListener

All Known Implementing Classes:
  PortletB.Listener, WindowConstraintEventListener

    public interface PortalNodeEventListener

A listener for portal events

Version:
  $Revision: 8785 $
Author:
  Julien Viet

Method Summary
`PortalNodeEvent` | `onEvent(PortalNodeEventContext context, PortalNodeEvent event)` Dispatch an event to the listener.

Method Detail

### onEvent

    PortalNodeEvent onEvent(PortalNodeEventContext context,
                            PortalNodeEvent event)

  Dispatch an event to the listener. If the listener does not care about replacing the current event with a new one then it should return the event returned by the `PortalNodeEventContext` provided such as:

  `return context.dispatch()`

  Otherwise it can return a new event to replace the current one. Only events of type `WindowNavigationEvent` or `WindowActionEvent;` will have an effect.

  Parameters:
    `context` - the context in which the event is triggered
    `event` - the fired event
  Returns:
    an event

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD