Class SpinnerAdapter
java.lang.Object
com.googlecode.wicket.jquery.ui.form.spinner.SpinnerAdapter
- All Implemented Interfaces:
ISpinnerListener,Serializable,org.apache.wicket.util.io.IClusterable
Adapter class for
ISpinnerListener- Author:
- Sebastien Briquet - sebfz1
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether the 'spin' event is enabled.
If true, theISpinnerListener.onSpin(AjaxRequestTarget, String)event will be triggeredbooleanIndicates whether the 'stop' event is enabled.
If true, theISpinnerListener.onStop(AjaxRequestTarget)event will be triggeredvoidTriggered on 'spin' eventvoidonStop(org.apache.wicket.ajax.AjaxRequestTarget target) Triggered on 'stop' event
-
Constructor Details
-
SpinnerAdapter
public SpinnerAdapter()
-
-
Method Details
-
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
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
-