public class JQueryEffectBehavior extends JQueryUIBehavior implements com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware
Modifier and Type | Class and Description |
---|---|
protected static class |
JQueryEffectBehavior.CallbackEvent
Provides the event object that will be broadcasted by the
JQueryAjaxBehavior callback |
Constructor and Description |
---|
JQueryEffectBehavior(String selector,
String effect,
IEffectListener listener)
Constructor, with no option and a default speed of
SPEED |
JQueryEffectBehavior(String selector,
String effect,
int speed,
IEffectListener listener)
Constructor, with no option
|
JQueryEffectBehavior(String selector,
String effect,
com.googlecode.wicket.jquery.core.Options options,
IEffectListener listener)
Constructor, with a default speed of
SPEED |
JQueryEffectBehavior(String selector,
String effect,
com.googlecode.wicket.jquery.core.Options options,
int speed,
IEffectListener listener)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected String |
$() |
String |
$(String effect)
Gets the jQuery statement.
|
String |
$(String effect,
String options)
Gets the jQuery statement.
|
void |
bind(org.apache.wicket.Component component) |
protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior |
newCallbackBehavior()
Gets the ajax behavior that will be triggered when the user has selected items
|
void |
onAjax(org.apache.wicket.ajax.AjaxRequestTarget target,
com.googlecode.wicket.jquery.core.JQueryEvent event) |
static String |
toString(String selector,
Effect effect)
Helper method that returns the
JQueryEffectBehavior string representation |
static String |
toString(String selector,
String effect)
Helper method that returns the
JQueryEffectBehavior string representation |
destroy, onConfigure, onDestroy, widget, widget, widget, widget
$, $, beforeRender, detach, getMethod, getOption, getOptions, getSelector, off, on, on, register, remove, renderHead, setOption, setOption, setOption, setOptions, setSelector
add, getJQueryLibrarySettings, renderOnDomReadyScript, renderPriorityHeaderItem, toString
public static final String METHOD
public JQueryEffectBehavior(String selector, String effect, IEffectListener listener)
SPEED
selector
- the html selector (ie: '#myId')effect
- the effect to be playedlistener
- the IEffectListener
public JQueryEffectBehavior(String selector, String effect, com.googlecode.wicket.jquery.core.Options options, IEffectListener listener)
SPEED
selector
- the html selector (ie: '#myId')effect
- the effect to be playedoptions
- the options to be appliedlistener
- the IEffectListener
public JQueryEffectBehavior(String selector, String effect, int speed, IEffectListener listener)
selector
- the html selector (ie: '#myId')effect
- the effect to be playedspeed
- the speed of the effectlistener
- the IEffectListener
public JQueryEffectBehavior(String selector, String effect, com.googlecode.wicket.jquery.core.Options options, int speed, IEffectListener listener)
selector
- the html selector (ie: '#myId')effect
- the effect to be playedoptions
- the options to be appliedspeed
- the speed of the effectlistener
- the IEffectListener
public static String toString(String selector, Effect effect)
JQueryEffectBehavior
string representationselector
- the html selector (ie: '#myId')effect
- the effect to be playedpublic static String toString(String selector, String effect)
JQueryEffectBehavior
string representationselector
- the html selector (ie: '#myId')effect
- the effect to be playedpublic void bind(org.apache.wicket.Component component)
bind
in class org.apache.wicket.behavior.Behavior
public void onAjax(org.apache.wicket.ajax.AjaxRequestTarget target, com.googlecode.wicket.jquery.core.JQueryEvent event)
onAjax
in interface com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware
protected String $()
$
in class com.googlecode.wicket.jquery.core.JQueryBehavior
public String $(String effect)
$
in class com.googlecode.wicket.jquery.core.JQueryBehavior
effect
- the effect to be playedpublic String $(String effect, String options)
effect
- the effect to be playedoptions
- the options to be appliedprotected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior newCallbackBehavior()
JQueryAjaxBehavior
Copyright © 2016 7thWeb. All rights reserved.