public final class JQuery extends Object implements org.apache.wicket.util.io.IClusterable
| Modifier and Type | Class and Description |
|---|---|
static class |
JQuery.AbstractFunction
A simple implementation of
JQuery.IFunction that allows you to chain
function parameters in a javascript safe way. |
static class |
JQuery.ConfigurableFunction
a configurable function with one parameter (an
AbstractConfig) and without body |
static class |
JQuery.EachJqueryFunction
java abstraction of jquery each function
|
static interface |
JQuery.IFunction
simple interface to represent a jquery function.
|
static class |
JQuery.JavaScriptInlineFunction
simple class to represent a javascript function.
|
static class |
JQuery.SimpleFunction
a simple function without params and body
|
| Modifier and Type | Method and Description |
|---|---|
static JQuery |
$(org.apache.wicket.Component component)
helper method to allow a jquery like code style
|
static JQuery |
$(org.apache.wicket.Component component,
String... additionalSelector)
helper method to allow a jquery like code style
|
static JQuery |
$(String selector)
helper method to allow a jquery like code style
|
org.apache.wicket.markup.head.OnDomReadyHeaderItem |
asDomReadyScript() |
JQuery |
chain(JQuery.IFunction function)
adds a chained function to this jquery instance
|
JQuery |
chain(String functionName)
adds a chained function to this jquery instance
|
JQuery |
chain(String functionName,
AbstractConfig config)
adds a chained function to this jquery instance
|
String |
get() |
public static JQuery $(String selector)
selector - The jquery selectorpublic static JQuery $(org.apache.wicket.Component component)
component - The markup id of given component is used as jquery selectorpublic static JQuery $(org.apache.wicket.Component component, String... additionalSelector)
component - The markup id of given component is used as jquery selectoradditionalSelector - an additional initial selectorpublic JQuery chain(JQuery.IFunction function)
function - the function to addpublic JQuery chain(String functionName)
functionName - the function to addpublic String get()
public final org.apache.wicket.markup.head.OnDomReadyHeaderItem asDomReadyScript()
OnDomReadyHeaderItem instancepublic JQuery chain(String functionName, AbstractConfig config)
functionName - the function to addconfig - the function configurationCopyright © 2013 agilecoders.de. All Rights Reserved.