public abstract class ActionListenerWrapper extends java.lang.Object implements ActionListener, FacesWrapper<ActionListener>
Provides a simple implementation of ActionListener that can be subclassed by developers wishing to provide
specialized behavior to an existing ActionListener instance. The default implementation of all methods is to
call through to the wrapped ActionListener.
Usage: extend this class and override getWrapped() to return the instance we are wrapping.
TO_FLOW_DOCUMENT_ID_ATTR_NAME| Constructor and Description |
|---|
ActionListenerWrapper() |
| Modifier and Type | Method and Description |
|---|---|
abstract ActionListener |
getWrapped()
A class that implements this interface uses this method to return an instance of the class being wrapped. |
void |
processAction(ActionEvent event)
Invoked when the action described by the specified
ActionEvent occurs. |
public void processAction(ActionEvent event) throws AbortProcessingException
ActionListener
Invoked when the action described by the specified ActionEvent occurs.
processAction in interface ActionListenerevent - The ActionEvent that has occurredAbortProcessingException - Signal the Jakarta Faces implementation that no further processing on the
current event should be performedpublic abstract ActionListener getWrapped()
FacesWrapperA class that implements this interface uses this method to return an instance of the class being wrapped.
getWrapped in interface FacesWrapper<ActionListener>