public final class KendoBehaviorFactory extends Object
JQueryBehaviors, which may be used in widgets.| Modifier and Type | Method and Description |
|---|---|
static String |
getHideStatement(String selector)
Gets the jQuery 'hide' statement for the component specified by the given selector
|
static String |
getShowStatement(String selector)
Gets the jQuery 'show' statement for the component specified by the given selector
|
static void |
hide(org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler,
org.apache.wicket.Component component)
Hides the kendo-ui widget using its reference
|
static void |
hide(org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler,
String selector)
Hides the kendo-ui widget using its selector
|
static com.googlecode.wicket.jquery.core.JQueryBehavior |
newHideBehavior(org.apache.wicket.Component component)
Gets a new
JQueryBehavior that hides the kendo-ui widget |
static com.googlecode.wicket.jquery.core.JQueryBehavior |
newHideBehavior(String selector)
Gets a new
JQueryBehavior that hides the kendo-ui widget |
static com.googlecode.wicket.jquery.core.JQueryBehavior |
newShowBehavior(org.apache.wicket.Component component)
Gets a new
JQueryBehavior that shows the kendo-ui widget |
static com.googlecode.wicket.jquery.core.JQueryBehavior |
newShowBehavior(String selector)
Gets a new
JQueryBehavior that shows the kendo-ui widget |
static void |
show(org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler,
org.apache.wicket.Component component)
Shows the kendo-ui widget using its reference
|
static void |
show(org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler,
String selector)
Shows the kendo-ui widget using its selector
|
public static void show(org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler,
org.apache.wicket.Component component)
handler - the IPartialPageRequestHandlercomponent - the Component referencepublic static void show(org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler,
String selector)
handler - the IPartialPageRequestHandlerselector - the html selector (ie: '#myId')public static void hide(org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler,
org.apache.wicket.Component component)
handler - the IPartialPageRequestHandlercomponent - the Component referencepublic static void hide(org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler,
String selector)
handler - the IPartialPageRequestHandlerselector - the html selector (ie: '#myId')public static com.googlecode.wicket.jquery.core.JQueryBehavior newShowBehavior(org.apache.wicket.Component component)
JQueryBehavior that shows the kendo-ui widgetcomponent - the ComponentJQueryBehaviorpublic static com.googlecode.wicket.jquery.core.JQueryBehavior newShowBehavior(String selector)
JQueryBehavior that shows the kendo-ui widgetselector - the html selector (ie: '#myId')JQueryBehaviorpublic static com.googlecode.wicket.jquery.core.JQueryBehavior newHideBehavior(org.apache.wicket.Component component)
JQueryBehavior that hides the kendo-ui widgetcomponent - the ComponentJQueryBehaviorpublic static com.googlecode.wicket.jquery.core.JQueryBehavior newHideBehavior(String selector)
JQueryBehavior that hides the kendo-ui widgetselector - the html selector (ie: '#myId')JQueryBehaviorpublic static String getShowStatement(String selector)
selector - the html selector (ie: '#myId')Copyright © 2021 7thWeb. All rights reserved.