ActionListener (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.faces.event Interface ActionListener

所有父接口:
EventListener, FacesListener
所有已知实现子孙类:
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().


方法摘要
 void processAction(ActionEvent event)
          Invoked when the action described by the specified ActionEvent occurs.
 

方法详细信息

processAction

void processAction(ActionEvent event)
                   throws AbortProcessingException

Invoked when the action described by the specified ActionEvent occurs.

参数:
event - The ActionEvent that has occurred
抛出异常:
AbortProcessingException - Signal the JavaServer Faces implementation that no further processing on the current event should be performed

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.