Interface ISpinnerListener
-
- All Superinterfaces:
org.apache.wicket.util.io.IClusterable
,Serializable
- All Known Implementing Classes:
AjaxSpinner
,SpinnerAdapter
public interface ISpinnerListener extends org.apache.wicket.util.io.IClusterable
Event listener shared by theSpinner
widget and theSpinnerBehavior
- Author:
- Sebastien Briquet - sebfz1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isOnSpinEventEnabled()
Indicates whether the 'spin' event is enabled.
If true, theonSpin(AjaxRequestTarget, String)
event will be triggeredboolean
isOnStopEventEnabled()
Indicates whether the 'stop' event is enabled.
If true, theonStop(AjaxRequestTarget)
event will be triggeredvoid
onSpin(org.apache.wicket.ajax.AjaxRequestTarget target, String value)
Triggered on 'spin' eventvoid
onStop(org.apache.wicket.ajax.AjaxRequestTarget target)
Triggered on 'stop' event
-
-
-
Method Detail
-
isOnSpinEventEnabled
boolean isOnSpinEventEnabled()
Indicates whether the 'spin' event is enabled.
If true, theonSpin(AjaxRequestTarget, String)
event will be triggered- Returns:
- false by default
-
isOnStopEventEnabled
boolean isOnStopEventEnabled()
Indicates whether the 'stop' event is enabled.
If true, theonStop(AjaxRequestTarget)
event will be triggered- Returns:
- false by default
-
onSpin
void onSpin(org.apache.wicket.ajax.AjaxRequestTarget target, String value)
Triggered on 'spin' event- Parameters:
target
- theAjaxRequestTarget
value
- the value
-
onStop
void onStop(org.apache.wicket.ajax.AjaxRequestTarget target)
Triggered on 'stop' event- Parameters:
target
- theAjaxRequestTarget
-
-