MethodExpressionValueChangeListener is a ValueChangeListener that wraps
a MethodExpression. When it receives a ValueChangeEvent, it executes a method on an object identified
by the MethodExpression.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private MethodExpression | |
| private MethodExpression | |
| private static final Class |
| Access | Constructor and Description |
|---|---|
| public | |
| public | MethodExpressionValueChangeListener(MethodExpression
a methodExpressionOneArg)MethodExpression that points to a method that returns void
and takes a single argument of type ValueChangeEvent.
Construct a |
| public | MethodExpressionValueChangeListener(MethodExpression
a method expression that takes one argument methodExpressionOneArg, MethodExpression a method expression that takes zero arguments methodExpressionZeroArg)
Construct a |
| 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 | processValueChange(ValueChangeEvent
The valueChangeEvent)ValueChangeEvent 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. |
| isTransient | back to summary |
|---|---|
| private boolean isTransient | |
| methodExpressionOneArg | back to summary |
|---|---|
| private MethodExpression methodExpressionOneArg | |
| methodExpressionZeroArg | back to summary |
|---|---|
| private MethodExpression methodExpressionZeroArg | |
| VALUECHANGE_LISTENER_ZEROARG_SIG | back to summary |
|---|---|
| private static final Class<T>[] VALUECHANGE_LISTENER_ZEROARG_SIG | |
| MethodExpressionValueChangeListener | back to summary |
|---|---|
| public MethodExpressionValueChangeListener() | |
| MethodExpressionValueChangeListener | back to summary |
|---|---|
| public MethodExpressionValueChangeListener(MethodExpression methodExpressionOneArg)
Construct a
| |
| MethodExpressionValueChangeListener | back to summary |
|---|---|
| public MethodExpressionValueChangeListener(MethodExpression methodExpressionOneArg, MethodExpression methodExpressionZeroArg)
Construct a
| |
| 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.
| |
| processValueChange | back to summary |
|---|---|
| public void processValueChange(ValueChangeEvent valueChangeEvent) 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.
| |