Package org.wicketstuff.navigator
Class AjaxComponentScrollEventBehavior
- java.lang.Object
-
- org.apache.wicket.behavior.Behavior
-
- org.apache.wicket.behavior.AbstractAjaxBehavior
-
- org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
-
- org.apache.wicket.ajax.AjaxEventBehavior
-
- org.wicketstuff.navigator.AjaxScrollEventBehaviorBase
-
- org.wicketstuff.navigator.AjaxComponentScrollEventBehavior
-
- All Implemented Interfaces:
Serializable
,IComponentAwareEventSink
,IRequestListener
,IComponentAwareHeaderContributor
,IClusterable
public abstract class AjaxComponentScrollEventBehavior extends AjaxScrollEventBehaviorBase
behavior that can be attached to quickview's parent ,on scroll event will be fired if scroll-bar is moved to the bottom,for this to happen,you must specify the parent to have scroll in css by defining overflow-y property. you need to call {@link this#addItemsForNextPage(IQuickView)} ()} when you implement {@link this#onScroll(org.apache.wicket.ajax.AjaxRequestTarget)}- Author:
- Vineet Semwal
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AjaxComponentScrollEventBehavior.ParentScrollListener
-
Field Summary
-
Fields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
INDICATOR
-
-
Constructor Summary
Constructors Constructor Description AjaxComponentScrollEventBehavior()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
updateAjaxAttributes(AjaxRequestAttributes attributes)
-
Methods inherited from class org.wicketstuff.navigator.AjaxScrollEventBehaviorBase
addItemsForNextPage, onEvent, onScroll
-
Methods inherited from class org.apache.wicket.ajax.AjaxEventBehavior
getEvent, onEvent, renderHead, respond
-
Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onBind, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes
-
Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior
afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind
-
Methods inherited from class org.apache.wicket.behavior.Behavior
beforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTag
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.wicket.IRequestListener
rendersPage
-
-
-
-
Method Detail
-
updateAjaxAttributes
protected void updateAjaxAttributes(AjaxRequestAttributes attributes)
- Overrides:
updateAjaxAttributes
in classAjaxEventBehavior
-
-