public abstract class ActionListenerWrapper extends 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 ActionListener
event
- The ActionEvent
that has occurredAbortProcessingException
- Signal the Jakarta Server Faces
implementation that no further processing on the current event
should be performedpublic abstract ActionListener getWrapped()
FacesWrapper
A class that implements this interface uses this method to return an instance of the class being wrapped.
getWrapped
in interface FacesWrapper<ActionListener>
Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.