站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v5.0 API Specifications

ActionListener (Java EE 5 SDK) - Java Platform, Enterprise Edition v5.0 API Specifications

Java EE 5 SDK

javax.faces.event
Interface ActionListener

All Superinterfaces:
EventListener, FacesListener
All Known Implementing Classes:
MethodExpressionActionListener

public interface ActionListener
extends FacesListener

A listener interface for receiving ActionEvents. A class that is interested in receiving such events implements this interface, and then registers itself with the source UIComponent of interest, by calling addActionListener().


Method Summary
 void processAction(ActionEvent event)
          Invoked when the action described by the specified ActionEvent occurs.
 

Method Detail

processAction

void processAction(ActionEvent event)
                   throws AbortProcessingException

Invoked when the action described by the specified ActionEvent occurs.

Parameters:
event - The ActionEvent that has occurred
Throws:
AbortProcessingException - Signal the JavaServer Faces implementation that no further processing on the current event should be performed

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.