public class BehaviorHandler extends FaceletsAttachedObjectHandler implements BehaviorHolderAttachedObjectHandler
The FaceletHandler that
corresponds to attached objects that represent an instance of ClientBehavior that must be added to
the parent component, which must implement ClientBehaviorHolder, with a call to
ClientBehaviorHolder.addClientBehavior(java.lang.String, javax.faces.component.behavior.ClientBehavior).
The current specification defines one Facelet element for this sort
of attached object, <f:ajax>.
delegateFactorynextHandler, tag, tagId| Constructor and Description |
|---|
BehaviorHandler(BehaviorConfig config) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBehaviorId() |
TagAttribute |
getEvent() |
String |
getEventName()
Return the client event name to which this behavior applies. |
protected TagHandlerDelegate |
getTagHandlerDelegate() |
applyAttachedObject, getAttachedObjectHandlerHelper, getForapply, applyNextHandler, createMetaRuleset, getBinding, getTag, getTagAttribute, getTagId, isDisabled, setAttributesgetAttribute, getRequiredAttribute, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyAttachedObject, getForpublic BehaviorHandler(BehaviorConfig config)
public TagAttribute getEvent()
public String getEventName()
BehaviorHolderAttachedObjectHandlerReturn the client event name to which this behavior applies.
getEventName in interface BehaviorHolderAttachedObjectHandlerprotected TagHandlerDelegate getTagHandlerDelegate()
getTagHandlerDelegate in class DelegatingMetaTagHandlerpublic String getBehaviorId()
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.