Top Description Fields Constructors Methods
javax.faces.view.facelets

public Class BehaviorHandler

extends FaceletsAttachedObjectHandler
implements BehaviorHolderAttachedObjectHandler
Class Inheritance
All Implemented Interfaces
javax.faces.view.BehaviorHolderAttachedObjectHandler, javax.faces.view.AttachedObjectHandler
Imports
javax.faces.view.BehaviorHolderAttachedObjectHandler

The FaceletHandler that corresponds to attached objects that represent an instance of javax.faces.component.behavior.ClientBehavior that must be added to the parent component, which must implement javax.faces.component.behavior.ClientBehaviorHolder, with a call to javax.faces.component.behavior.ClientBehaviorHolder#addClientBehavior. The current specification defines one Facelet element for this sort of attached object, <f:ajax>.

Field Summary

Modifier and TypeField and Description
private String
private final TagAttribute
private TagHandlerDelegate

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
public TagAttribute
public String
getEventName()

Implements javax.faces.view.BehaviorHolderAttachedObjectHandler.getEventName.

Return the client event name to which this behavior applies.

protected TagHandlerDelegate
Inherited from javax.faces.view.facelets.FaceletsAttachedObjectHandler:
applyAttachedObjectgetAttachedObjectHandlerHelpergetFor

Field Detail

behaviorIdback to summary
private String behaviorId
eventback to summary
private final TagAttribute event
helperback to summary
private TagHandlerDelegate helper

Constructor Detail

BehaviorHandlerback to summary
public BehaviorHandler(BehaviorConfig config)

Method Detail

getBehaviorIdback to summary
public String getBehaviorId()
getEventback to summary
public TagAttribute getEvent()
getEventNameback to summary
public String getEventName()

Implements javax.faces.view.BehaviorHolderAttachedObjectHandler.getEventName.

Doc from javax.faces.view.BehaviorHolderAttachedObjectHandler.getEventName.

Return the client event name to which this behavior applies.

Returns:String

the client event name for this behavior

getTagHandlerDelegateback to summary
protected TagHandlerDelegate getTagHandlerDelegate()

Implements abstract javax.faces.view.facelets.DelegatingMetaTagHandler.getTagHandlerDelegate.

Doc from javax.faces.view.facelets.DelegatingMetaTagHandler.getTagHandlerDelegate.

Get the tag handler delegate.

Code that extends from DelegatingMetaTagHandler (directly or indirectly, as through extending ComponentHandler) must take care to decorate, not replace, the TagHandlerDelegate instance returned by this method. Failure to do so may produce unexpected results.

Returns:TagHandlerDelegate

the tag handler delegate.

Annotations
@Override