public class WindowBehavior extends KendoUIBehavior implements com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware
| Modifier and Type | Class and Description |
|---|---|
protected static class |
WindowBehavior.ActionEvent
Provides an event object that will be broadcasted by the
WindowBehavior.OnActionAjaxBehavior callback |
protected static class |
WindowBehavior.CloseEvent
Provides an event object that will be broadcasted by the
WindowBehavior.OnCloseAjaxBehavior callback |
protected static class |
WindowBehavior.OnActionAjaxBehavior
Provides a
JQueryAjaxBehavior that aims to be wired to the 'a.k-window-action click' event |
protected static class |
WindowBehavior.OnCloseAjaxBehavior
Provides a
JQueryAjaxBehavior that aims to be wired to the 'close' event |
| Constructor and Description |
|---|
WindowBehavior(String selector,
IWindowListener listener)
Constructor
|
WindowBehavior(String selector,
com.googlecode.wicket.jquery.core.Options options,
IWindowListener listener)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
bind(org.apache.wicket.Component component) |
void |
close(org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler)
Closes the window in ajax.
|
protected boolean |
isCentered()
Indicates whether the window is centered
|
protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior |
newOnActionAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
Gets a new
JQueryAjaxBehavior that will be wired to the 'a.k-window-action click' event, triggered when the user clicks on an action icon |
protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior |
newOnCloseAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
Gets a new
JQueryAjaxBehavior that will be wired to the 'close' event, triggered when the user clicks on the X-icon |
void |
onAjax(org.apache.wicket.ajax.AjaxRequestTarget target,
com.googlecode.wicket.jquery.core.JQueryEvent event) |
void |
onConfigure(org.apache.wicket.Component component) |
void |
open(org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler)
Opens the window in ajax.
|
add, destroy, onDestroy, renderHead, widget, widget, widget, widget$, $, $, $, beforeRender, detach, getMethod, getOption, getOptions, getSelector, off, on, on, register, remove, setOption, setOption, setOption, setOptions, setSelectoradd, getJQueryLibrarySettings, renderOnDomReadyScript, renderPriorityHeaderItem, toStringpublic static final String METHOD
public WindowBehavior(String selector, IWindowListener listener)
selector - the html selector (ie: "#myId")listener - the IWindowListenerpublic WindowBehavior(String selector, com.googlecode.wicket.jquery.core.Options options, IWindowListener listener)
selector - the html selector (ie: "#myId")options - the Optionslistener - the IWindowListenerpublic void bind(org.apache.wicket.Component component)
bind in class org.apache.wicket.behavior.Behaviorpublic void open(org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler)
handler - the IPartialPageRequestHandlerpublic void close(org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler)
handler - the IPartialPageRequestHandlerprotected boolean isCentered()
public void onConfigure(org.apache.wicket.Component component)
onConfigure in class KendoUIBehaviorpublic void onAjax(org.apache.wicket.ajax.AjaxRequestTarget target,
com.googlecode.wicket.jquery.core.JQueryEvent event)
onAjax in interface com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAwareprotected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior newOnActionAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
JQueryAjaxBehavior that will be wired to the 'a.k-window-action click' event, triggered when the user clicks on an action iconsource - the IJQueryAjaxAwareOnActionAjaxBehavior by defaultprotected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior newOnCloseAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
JQueryAjaxBehavior that will be wired to the 'close' event, triggered when the user clicks on the X-iconsource - the IJQueryAjaxAwareOnCloseAjaxBehavior by defaultCopyright © 2021 7thWeb. All rights reserved.