public interface IWindowListener
extends org.apache.wicket.util.io.IClusterable
AbstractWindow widget and the WindowBehavior| Modifier and Type | Method and Description |
|---|---|
boolean |
isActionEventEnabled()
Indicates whether the action events are enabled.
If true, the onAction(AjaxRequestTarget, String) event will be triggered |
boolean |
isCloseEventEnabled()
Indicates whether the close event is enabled.
|
void |
onAction(org.apache.wicket.ajax.AjaxRequestTarget target,
String action)
Triggered when an action button is clicked.
|
void |
onClose(org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler)
Triggered when then the Window closes, either trough the 'X' icon or the 'escape' key (
isCloseEventEnabled() should return true), or if AbstractWindow.close(IPartialPageRequestHandler) has been called |
boolean isActionEventEnabled()
onAction(AjaxRequestTarget, String) event will be triggeredboolean isCloseEventEnabled()
onClose(IPartialPageRequestHandler) event will be triggeredvoid onAction(org.apache.wicket.ajax.AjaxRequestTarget target,
String action)
target - the AjaxRequestTargetaction - the action that fired the eventvoid onClose(org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler)
isCloseEventEnabled() should return true), or if AbstractWindow.close(IPartialPageRequestHandler) has been calledhandler - the IPartialPageRequestHandlerCopyright © 2021 7thWeb. All rights reserved.