## Uses of Interface
javax.faces.event.ActionListener

- Packages that use ActionListener
  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 | Fundamental APIs for user interface components.
  javax.faces.event | Interfaces describing events and event listeners, and concrete event implementation classes.

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

    Methods in javax.faces.application that return ActionListener
    Modifier and Type | Method and Description
    --- | ---
    `ActionListener` | ApplicationWrapper.`getActionListener()` The default behavior of this method is to call `Application.getActionListener()` on the wrapped `Application` object.
    `abstract ActionListener` | Application.`getActionListener()` Return the default `ActionListener` to be registered for all `ActionSource` components in this application.

    Methods in javax.faces.application with parameters of type ActionListener
    Modifier and Type | Method and Description
    --- | ---
    `void` | ApplicationWrapper.`setActionListener(ActionListener listener)` The default behavior of this method is to call `Application.setActionListener(javax.faces.event.ActionListener)` on the wrapped `Application` object.
    `abstract void` | Application.`setActionListener(ActionListener listener)` Set the default `ActionListener` to be registered for all `ActionSource` components.

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

    Methods in javax.faces.component that return ActionListener
    Modifier and Type | Method and Description
    --- | ---
    `ActionListener[]` | UIViewAction.`getActionListeners()` Return the set of registered `ActionListener`s for this `ActionSource` instance.
    `ActionListener[]` | UICommand.`getActionListeners()`
    `ActionListener[]` | ActionSource.`getActionListeners()` Return the set of registered `ActionListener`s for this `ActionSource` instance.

    Methods in javax.faces.component with parameters of type ActionListener
    Modifier and Type | Method and Description
    --- | ---
    `void` | UIViewAction.`addActionListener(ActionListener listener)` Add a new `ActionListener` to the set of listeners interested in being notified when `ActionEvent`s occur.
    `void` | UICommand.`addActionListener(ActionListener listener)`
    `void` | ActionSource.`addActionListener(ActionListener listener)` Add a new `ActionListener` to the set of listeners interested in being notified when `ActionEvent`s occur.
    `void` | UIViewAction.`removeActionListener(ActionListener listener)` Remove an existing `ActionListener` (if any) from the set of listeners interested in being notified when `ActionEvent`s occur.
    `void` | UICommand.`removeActionListener(ActionListener listener)`
    `void` | ActionSource.`removeActionListener(ActionListener listener)` Remove an existing `ActionListener` (if any) from the set of listeners interested in being notified when `ActionEvent`s occur.

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

    Classes in javax.faces.event that implement ActionListener
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ActionListenerWrapper` Provides a simple implementation of `ActionListener` that can be subclassed by developers wishing to provide specialized behavior to an existing `ActionListener` instance.
    `class` | `MethodExpressionActionListener` MethodExpressionActionListener is an `ActionListener` that wraps a `MethodExpression`.

    Methods in javax.faces.event that return ActionListener
    Modifier and Type | Method and Description
    --- | ---
    `abstract ActionListener` | ActionListenerWrapper.`getWrapped()`

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