MethodExpressionActionListener is an ActionListener that wraps a
MethodExpression. When it receives a ActionEvent, it executes a method on an object identified by the
MethodExpression.
| Modifier and Type | Field and Description |
|---|---|
| private static final Class | |
| private boolean | |
| private static final Logger | |
| private MethodExpression | |
| private MethodExpression |
| Access | Constructor and Description |
|---|---|
| public | |
| public | MethodExpressionActionListener(MethodExpression
a methodExpressionOneArg)MethodExpression that points to a method that returns void
and takes a single argument of type ActionEvent.
Construct a |
| public | MethodExpressionActionListener(MethodExpression methodExpressionOneArg, MethodExpression methodExpressionZeroArg)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isTransient()
Implements jakarta. If true, the Object implementing this interface must not participate in state saving or restoring. |
| public void | processAction(ActionEvent
The actionEvent)ActionEvent that has occurredImplements jakarta.
Call through to the |
| public void | restoreState(FacesContext
the Faces context. context, Object the state. state)Implements jakarta.
Both |
| public Object | saveState(FacesContext
the Faces context. context)Implements jakarta.
Both |
| public void | setTransient(boolean
boolean pass newTransientValue)true if this Object will
not participate in state saving or restoring, otherwise pass false.Implements jakarta. Denotes whether or not the Object implementing this interface must or must not participate in state saving or restoring. |
| ACTION_LISTENER_ZEROARG_SIG | back to summary |
|---|---|
| private static final Class<T>[] ACTION_LISTENER_ZEROARG_SIG | |
| isTransient | back to summary |
|---|---|
| private boolean isTransient | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| methodExpressionOneArg | back to summary |
|---|---|
| private MethodExpression methodExpressionOneArg | |
| methodExpressionZeroArg | back to summary |
|---|---|
| private MethodExpression methodExpressionZeroArg | |
| MethodExpressionActionListener | back to summary |
|---|---|
| public MethodExpressionActionListener() | |
| MethodExpressionActionListener | back to summary |
|---|---|
| public MethodExpressionActionListener(MethodExpression methodExpressionOneArg)
Construct a
| |
| MethodExpressionActionListener | back to summary |
|---|---|
| public MethodExpressionActionListener(MethodExpression methodExpressionOneArg, MethodExpression methodExpressionZeroArg) | |
| isTransient | back to summary |
|---|---|
| public boolean isTransient() Implements jakarta. Doc from jakarta. If true, the Object implementing this interface must not participate in state saving or restoring.
| |
| processAction | back to summary |
|---|---|
| public void processAction(ActionEvent actionEvent) throws AbortProcessingException Implements jakarta.
Call through to the
| |
| restoreState | back to summary |
|---|---|
| public void restoreState(FacesContext context, Object state) Implements jakarta.
Both
| |
| saveState | back to summary |
|---|---|
| public Object saveState(FacesContext context) Implements jakarta.
Both
| |
| setTransient | back to summary |
|---|---|
| public void setTransient(boolean newTransientValue) Implements jakarta. Doc from jakarta. Denotes whether or not the Object implementing this interface must or must not participate in state saving or restoring.
| |