A ValueChangeEvent is a notification
that the local value of the source component has been change as a result of
user interface activity. It is not fired unless validation of the new value
was completed successfully.
| Modifier and Type | Field and Description |
|---|---|
| private Object | newValue
The current local value of the source |
| private Object | oldValue
The previous local value of the source |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | ValueChangeEvent(UIComponent
Source component, Object UIComponent for this eventThe previous local value of this oldValue, Object UIComponentThe new local value of thie newValue)UIComponentConstruct a new event object from the specified source component, old value, and new value. |
| public | ValueChangeEvent(FacesContext
the Faces context. facesContext, UIComponent Source component, Object UIComponent for this eventThe previous local value of this oldValue, Object UIComponentThe new local value of thie newValue)UIComponentConstruct a new event object from the Faces context, specified source component, old value and new value. |
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: the current local valueReturn the current local value of the source |
| public Object | Returns: the previous local valueReturn the previous local value of the source |
| public boolean | isAppropriateListener(FacesListener
FacesListener to evaluateImplements abstract javax. Return |
| public void | processListener(FacesListener
FacesListener to send this FacesEvent toImplements abstract javax. Broadcast this |
| newValue | back to summary |
|---|---|
| private Object newValue The current local value of the source | |
| oldValue | back to summary |
|---|---|
| private Object oldValue The previous local value of the source | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ValueChangeEvent | back to summary |
|---|---|
| public ValueChangeEvent(UIComponent component, Object oldValue, Object newValue) Construct a new event object from the specified source component, old value, and new value. The default
| |
| ValueChangeEvent | back to summary |
|---|---|
| public ValueChangeEvent(FacesContext facesContext, UIComponent component, Object oldValue, Object newValue) Construct a new event object from the Faces context, specified source component, old value and new value. The default
| |
| getNewValue | back to summary |
|---|---|
| public Object getNewValue() Return the current local value of the source
| |
| getOldValue | back to summary |
|---|---|
| public Object getOldValue() Return the previous local value of the source
| |
| isAppropriateListener | back to summary |
|---|---|
| public boolean isAppropriateListener(FacesListener listener) Implements abstract javax. Doc from javax. Return
| |
| processListener | back to summary |
|---|---|
| public void processListener(FacesListener listener) Implements abstract javax. Doc from javax. Broadcast this
| |