public class WindowAdapter extends Object implements IWindowListener
IWindowListener| Constructor and Description |
|---|
WindowAdapter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isActionEventEnabled()
Indicates whether the action events are enabled.
If true, the IWindowListener.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 (
IWindowListener.isCloseEventEnabled() should return true), or if AbstractWindow.close(IPartialPageRequestHandler) has been called |
public boolean isActionEventEnabled()
IWindowListenerIWindowListener.onAction(AjaxRequestTarget, String) event will be triggeredisActionEventEnabled in interface IWindowListenerpublic boolean isCloseEventEnabled()
IWindowListenerIWindowListener.onClose(IPartialPageRequestHandler) event will be triggeredisCloseEventEnabled in interface IWindowListenerpublic void onAction(org.apache.wicket.ajax.AjaxRequestTarget target,
String action)
IWindowListeneronAction in interface IWindowListenertarget - the AjaxRequestTargetaction - the action that fired the eventpublic void onClose(org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler)
IWindowListenerIWindowListener.isCloseEventEnabled() should return true), or if AbstractWindow.close(IPartialPageRequestHandler) has been calledonClose in interface IWindowListenerhandler - the IPartialPageRequestHandlerCopyright © 2021 7thWeb. All rights reserved.