## Uses of Interface
javax.faces.component.behavior.Behavior

- Packages that use Behavior
  Package | Description
  --- | ---
  javax.faces.application | APIs that are used to link an application's business logic objects to JavaServer Faces, as well as convenient pluggable mechanisms to manage the execution of an application that is based on JavaServer Faces.
  javax.faces.component.behavior | APIs for attaching additional behavior to user interface components.
  javax.faces.event | Interfaces describing events and event listeners, and concrete event implementation classes.

- - ### Uses of Behavior in javax.faces.application

    Methods in javax.faces.application that return Behavior
    Modifier and Type | Method and Description
    --- | ---
    `Behavior` | ApplicationWrapper.`createBehavior(String behaviorId)` The default behavior of this method is to call `Application.createBehavior(String)` on the wrapped `Application` object.
    `Behavior` | Application.`createBehavior(String behaviorId)` Instantiate and return a new `Behavior` instance of the class specified by a previous call to `addBehavior()` for the specified behavior id.

  - ### Uses of Behavior in javax.faces.component.behavior

    Subinterfaces of Behavior in javax.faces.component.behavior
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `ClientBehavior` ClientBehavior is the base contract for `Behavior`s that attach script content to client-side events exposed by `ClientBehaviorHolder` components.

    Classes in javax.faces.component.behavior that implement Behavior
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AjaxBehavior` An instance of this class is added as a `ClientBehavior` to a component using the `ClientBehaviorHolder.addClientBehavior(java.lang.String, javax.faces.component.behavior.ClientBehavior)` contract that components implement.
    `class` | `BehaviorBase` BehaviorBase is a convenience base class that provides a default implementation of the `Behavior` contract.
    `class` | `ClientBehaviorBase` ClientBehaviorBase is a convenience base class that implements the default concrete behavior of all methods defined by `ClientBehavior`.

  - ### Uses of Behavior in javax.faces.event

    Methods in javax.faces.event that return Behavior
    Modifier and Type | Method and Description
    --- | ---
    `Behavior` | BehaviorEvent.`getBehavior()` Return the source `Behavior` that sent this event.

    Constructors in javax.faces.event with parameters of type Behavior
    Constructor and Description
    `AjaxBehaviorEvent(UIComponent component, Behavior behavior)` Construct a new event object from the specified source component and Ajax behavior.
    `BehaviorEvent(UIComponent component, Behavior behavior)` Construct a new event object from the specified source component and `behavior`.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.