Package jakarta.faces.component.behavior
package jakarta.faces.component.behavior
-
ClassDescriptionAn instance of this class is added as a
ClientBehavior
to a component using theClientBehaviorHolder.addClientBehavior(java.lang.String, jakarta.faces.component.behavior.ClientBehavior)
contract that components implement.The Behavior interface is the root API of the component behavior model.BehaviorBase is a convenience base class that provides a default implementation of theBehavior
contract.ClientBehavior is the base contract forBehavior
s that attach script content to client-side events exposed byClientBehaviorHolder
components.ClientBehaviorBase is a convenience base class that implements the default concrete behavior of all methods defined byClientBehavior
.ClientBehaviorContext provides context information that may be useful toClientBehavior.getScript(jakarta.faces.component.behavior.ClientBehaviorContext)
implementations.Parameter instances represent name/value pairs that "submitting" ClientBehavior implementations should include when posting back into the Faces lifecycle.An enum that specifies hints that describes the behavior of ClientBehavior implementations.The ClientBehaviorHolder interface may be implemented by any concreteUIComponent
that wishes to support client behaviors as defined byClientBehavior
.The presence of this annotation on a class automatically registers the class with the runtime as aBehavior
.