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

- Packages that use ClientBehavior
  Package | Description
  --- | ---
  javax.faces.component | Fundamental APIs for user interface components.
  javax.faces.component.behavior | APIs for attaching additional behavior to user interface components.
  javax.faces.render | Classes and interfaces defining the rendering model.

- - ### Uses of ClientBehavior in javax.faces.component

    Methods in javax.faces.component that return types with arguments of type ClientBehavior
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,List<ClientBehavior>>` | UIComponentBase.`getClientBehaviors()` This is a default implementation of `ClientBehaviorHolder.getClientBehaviors()`.

    Methods in javax.faces.component with parameters of type ClientBehavior
    Modifier and Type | Method and Description
    --- | ---
    `void` | UIComponentBase.`addClientBehavior(String eventName, ClientBehavior behavior)` This is a default implementation of `ClientBehaviorHolder.addClientBehavior(java.lang.String, javax.faces.component.behavior.ClientBehavior)`.

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

    Classes in javax.faces.component.behavior that implement ClientBehavior
    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` | `ClientBehaviorBase` ClientBehaviorBase is a convenience base class that implements the default concrete behavior of all methods defined by `ClientBehavior`.

    Methods in javax.faces.component.behavior that return types with arguments of type ClientBehavior
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,List<ClientBehavior>>` | ClientBehaviorHolder.`getClientBehaviors()` Returns a non-null, unmodifiable `Map` that contains the the `ClientBehavior`s that have been attached to the component implementing this interface.

    Methods in javax.faces.component.behavior with parameters of type ClientBehavior
    Modifier and Type | Method and Description
    --- | ---
    `void` | ClientBehaviorHolder.`addClientBehavior(String eventName, ClientBehavior behavior)` Attaches a `ClientBehavior` to the component implementing this interface for the specified event.

  - ### Uses of ClientBehavior in javax.faces.render

    Methods in javax.faces.render with parameters of type ClientBehavior
    Modifier and Type | Method and Description
    --- | ---
    `void` | ClientBehaviorRenderer.`decode(FacesContext context, UIComponent component, ClientBehavior behavior)` Decode any new state of this `ClientBehavior` from the request contained in the specified `FacesContext`.
    `String` | ClientBehaviorRenderer.`getScript(ClientBehaviorContext behaviorContext, ClientBehavior behavior)` Return the script that implements this ClientBehavior's client-side logic.

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