|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
javax.faces.event Interface ActionListener
- All Superinterfaces:
- EventListener, FacesListener
- All Known Implementing Classes:
- MethodExpressionActionListener
public interface ActionListener
- extends FacesListener
Implements:
FacesListener
Implemented by:
MethodExpressionActionListener
接收 ActionEvent 的侦听器接口。对接收此类事件感兴趣的类实现该接口,然后通过调用 addActionListener() 向感兴趣的源 UIComponent 注册它自身。
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 |
|---|
public void
processAction(ActionEvent event) throws AbortProcessingException
当发生指定的 ActionEvent 所描述的操作时调用此方法。
| event |
发生的 ActionEvent |
| Throws | AbortProcessingException: 通知 JavaServer Face 实现不应该继续处理当前事件 |
processAction
void processAction(ActionEvent event) throws AbortProcessingException
Invoked when the action described by the specified
ActionEventoccurs.- Parameters:
event- TheActionEventthat has occurred- Throws:
AbortProcessingException- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!