|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.core.samples.basic.event.PortletB.Listener
public static class PortletB.Listener
Constructor Summary | |
---|---|
PortletB.Listener()
|
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 |
---|
public PortletB.Listener()
Method Detail |
---|
public PortalNodeEvent onEvent(PortalNodeEventContext context, PortalNodeEvent event)
PortalNodeEventListener
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.
onEvent
in interface PortalNodeEventListener
context
- the context in which the event is triggeredevent
- the fired event
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |