Class AbstractSakaiSpinnerAjaxCallListener
- java.lang.Object
-
- org.apache.wicket.ajax.attributes.AjaxCallListener
-
- org.sakaiproject.wicket.component.AbstractSakaiSpinnerAjaxCallListener
-
- All Implemented Interfaces:
Serializable,org.apache.wicket.ajax.attributes.IAjaxCallListener,org.apache.wicket.markup.html.IComponentAwareHeaderContributor,org.apache.wicket.util.io.IClusterable
- Direct Known Subclasses:
SakaiSpinnerAjaxCallListener
public abstract class AbstractSakaiSpinnerAjaxCallListener extends org.apache.wicket.ajax.attributes.AjaxCallListenerAbstract base class for AjaxCallListeners used to apply a spinner overlay to the component while Ajax call in progress- Author:
- plukasew
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringDISABLEDprotected static StringENABLEDprotected Stringidprotected static StringSPINNER_CLASSprotected booleanwillRender
-
Constructor Summary
Constructors Constructor Description AbstractSakaiSpinnerAjaxCallListener(String componentMarkupId, boolean componentWillRender)Call listener to overlay a spinner and disable the a clicked component
-
Method Summary
-
Methods inherited from class org.apache.wicket.ajax.attributes.AjaxCallListener
getAfterHandler, getBeforeHandler, getBeforeSendHandler, getCompleteHandler, getDoneHandler, getFailureHandler, getInitHandler, getPrecondition, getSuccessHandler, onAfter, onBefore, onBeforeSend, onComplete, onDone, onFailure, onInit, onPrecondition, onSuccess, renderHead
-
-
-
-
Field Detail
-
SPINNER_CLASS
protected static final String SPINNER_CLASS
- See Also:
- Constant Field Values
-
DISABLED
protected static final String DISABLED
- See Also:
- Constant Field Values
-
ENABLED
protected static final String ENABLED
- See Also:
- Constant Field Values
-
willRender
protected boolean willRender
-
id
protected String id
-
-
Constructor Detail
-
AbstractSakaiSpinnerAjaxCallListener
public AbstractSakaiSpinnerAjaxCallListener(String componentMarkupId, boolean componentWillRender)
Call listener to overlay a spinner and disable the a clicked component- Parameters:
componentMarkupId- the markup id for the componentcomponentWillRender- whether or not the component will be re-rendered as a result of the ajax update
-
-