public abstract class AbstractAjaxBehavior extends Behavior implements IRequestListener
Constructor and Description |
---|
AbstractAjaxBehavior()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
afterRender(Component hostComponent)
Called when a component that has this behavior coupled was rendered.
|
void |
bind(Component hostComponent)
Bind this handler to the given component.
|
CharSequence |
getCallbackUrl()
Gets the url that references this handler.
|
protected Component |
getComponent()
Gets the component that this handler is bound to.
|
protected void |
onBind()
Called when the component was bound to it's host component.
|
protected void |
onComponentRendered()
Called to indicate that the component that has this handler registered has been rendered.
|
void |
onComponentTag(Component component,
ComponentTag tag)
Called any time a component that has this behavior registered is rendering the component tag.
|
protected void |
onComponentTag(ComponentTag tag)
Called any time a component that has this handler registered is rendering the component tag.
|
protected void |
onUnbind()
Called when the behavior is removed from its component.
|
void |
unbind(Component component)
Notifies the behavior it is removed from the specified component
|
beforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTag, renderHead
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onRequest, rendersPage
public final void bind(Component hostComponent)
public CharSequence getCallbackUrl()
public final void onComponentTag(Component component, ComponentTag tag)
Behavior
onComponentTag
in class Behavior
component
- the component that renders this tag currentlytag
- the tag that is renderedpublic final void afterRender(Component hostComponent)
Behavior
afterRender
in class Behavior
hostComponent
- the component that has this behavior coupledprotected final Component getComponent()
protected void onComponentTag(ComponentTag tag)
tag
- the tag that is renderedprotected void onBind()
protected void onComponentRendered()
public final void unbind(Component component)
Behavior
protected void onUnbind()
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.