public abstract class AbstractAjaxBehavior extends Behavior implements IBehaviorListener
INTERFACE| 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, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onConfigure, onEvent, onException, onRemove, renderHeadclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonRequestpublic final void bind(Component hostComponent)
public CharSequence getCallbackUrl()
public final void onComponentTag(Component component, ComponentTag tag)
BehavioronComponentTag in class Behaviorcomponent - the component that renders this tag currentlytag - the tag that is renderedpublic final void afterRender(Component hostComponent)
BehaviorafterRender in class BehaviorhostComponent - 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)
Behaviorprotected void onUnbind()
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.