MethodBindingValueChangeListener is an ValueChangeListenerListener that wraps a MethodBinding. When it
receives a ValueChangeEvent, it executes a method on an
object identified by the MethodBinding.
| Modifier and Type | Field and Description |
|---|---|
| private MethodBinding | methodBinding
Deprecated
as a consequence of
MethodBinding being deprecated.
|
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public | MethodBindingValueChangeListener(MethodBinding methodBinding)
Deprecated
as a consequence of
MethodBinding being deprecated.
Construct a |
| Modifier and Type | Method and Description |
|---|---|
| public MethodBinding | |
| public boolean | isTransient()
Implements javax. If true, the Object implementing this interface must not participate in state saving or restoring. |
| private static Class | |
| public void | processValueChange(ValueChangeEvent
The actionEvent)ValueChangeEvent that has occurredImplements javax. Invoked when the value change described by the specified
|
| public void | restoreState(FacesContext
the Faces context. context, Object the state. state)Implements javax. Perform any processing required to restore the state from the entries in the state Object. |
| public Object | saveState(FacesContext
the Faces context. context)Implements javax. Gets the state of the instance as a
|
| public void | setTransient(boolean
boolean pass newTransientValue)true if this
Object will not
participate in state saving or restoring, otherwise pass
false.Implements javax. Denotes whether or not the Object implementing this interface must or must not participate in state saving or restoring. |
| methodBinding | back to summary |
|---|---|
| private MethodBinding methodBinding
Deprecated as a consequence of | |
| tranzient | back to summary |
|---|---|
| private boolean tranzient | |
| MethodBindingValueChangeListener | back to summary |
|---|---|
| public MethodBindingValueChangeListener() | |
| MethodBindingValueChangeListener | back to summary |
|---|---|
| public MethodBindingValueChangeListener(MethodBinding methodBinding)
Deprecated as a consequence of Construct a | |
| getWrapped | back to summary |
|---|---|
| public MethodBinding getWrapped()
Deprecated as a consequence of | |
| isTransient | back to summary |
|---|---|
| public boolean isTransient() Implements javax. Doc from javax. If true, the Object implementing this interface must not participate in state saving or restoring.
| |
| loadClass | back to summary |
|---|---|
| private static Class | |
| processValueChange | back to summary |
|---|---|
| public void processValueChange(ValueChangeEvent actionEvent) throws AbortProcessingException Implements javax. Doc from javax. Invoked when the value change described by the specified
| |
| restoreState | back to summary |
|---|---|
| public void restoreState(FacesContext context, Object state) Implements javax. Doc from javax. Perform any processing required to restore the state from the entries in the state Object. If the class that implements this interface has references to
instances that also implement StateHolder (such as a
If the
| |
| saveState | back to summary |
|---|---|
| public Object saveState(FacesContext context) Implements javax. Doc from javax. Gets the state of the instance as a
If the class that implements this interface has references to
instances that implement StateHolder (such as a
This method must not alter the state of the implementing object. In other words, after executing this code:
The return from this method must be
| |
| setTransient | back to summary |
|---|---|
| public void setTransient(boolean newTransientValue) Implements javax. Doc from javax. Denotes whether or not the Object implementing this interface must or must not participate in state saving or restoring.
| |