|
|||||||||
| 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.WindowConstraintEventListener
public class WindowConstraintEventListener
| 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 |
|---|
public WindowConstraintEventListener()
| Method Detail |
|---|
public PortalNodeEvent onEvent(PortalNodeEventContext context,
PortalNodeEvent event)
PortalNodeEventListenerDispatch 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 PortalNodeEventListenercontext - 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 | ||||||||