Class SpinnerAdapter
- java.lang.Object
-
- com.googlecode.wicket.jquery.ui.form.spinner.SpinnerAdapter
-
- All Implemented Interfaces:
ISpinnerListener,Serializable,org.apache.wicket.util.io.IClusterable
public class SpinnerAdapter extends Object implements ISpinnerListener
Adapter class forISpinnerListener- Author:
- Sebastien Briquet - sebfz1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SpinnerAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisOnSpinEventEnabled()Indicates whether the 'spin' event is enabled.
If true, theISpinnerListener.onSpin(AjaxRequestTarget, String)event will be triggeredbooleanisOnStopEventEnabled()Indicates whether the 'stop' event is enabled.
If true, theISpinnerListener.onStop(AjaxRequestTarget)event will be triggeredvoidonSpin(org.apache.wicket.ajax.AjaxRequestTarget target, String value)Triggered on 'spin' eventvoidonStop(org.apache.wicket.ajax.AjaxRequestTarget target)Triggered on 'stop' event
-
-
-
Method Detail
-
isOnSpinEventEnabled
public boolean isOnSpinEventEnabled()
Description copied from interface:ISpinnerListenerIndicates whether the 'spin' event is enabled.
If true, theISpinnerListener.onSpin(AjaxRequestTarget, String)event will be triggered- Specified by:
isOnSpinEventEnabledin interfaceISpinnerListener- Returns:
- false by default
-
isOnStopEventEnabled
public boolean isOnStopEventEnabled()
Description copied from interface:ISpinnerListenerIndicates whether the 'stop' event is enabled.
If true, theISpinnerListener.onStop(AjaxRequestTarget)event will be triggered- Specified by:
isOnStopEventEnabledin interfaceISpinnerListener- Returns:
- false by default
-
onSpin
public void onSpin(org.apache.wicket.ajax.AjaxRequestTarget target, String value)Description copied from interface:ISpinnerListenerTriggered on 'spin' event- Specified by:
onSpinin interfaceISpinnerListener- Parameters:
target- theAjaxRequestTargetvalue- the value
-
onStop
public void onStop(org.apache.wicket.ajax.AjaxRequestTarget target)
Description copied from interface:ISpinnerListenerTriggered on 'stop' event- Specified by:
onStopin interfaceISpinnerListener- Parameters:
target- theAjaxRequestTarget
-
-