Name
ValueChangeEvent
Synopsis
An instance of this class
signals that the user
changed the value of a component, e.g., a UIInput
component.
Synopsis
Class name: |
javax.faces.event.ValueChangeEvent |
Extends: |
javax.faces.event.FacesEvent |
Implements: |
java.io.Serializable |
Constructors
-
public ValueChangeEvent(javax.faces.component.UIComponent component,
Object oldValue, Object newValue) Creates an instance for the specified source component with the old and new value.
Methods
-
public Object getNewValue()
Returns the new value.
-
public Object getOldValue()
Returns the old value.
-
public boolean isAppropriateListener(javax.faces.event.FacesListener listener)
Returns
true
if the listener is aValueChangeListener
.-
public void processListener(javax.faces.event.FacesListener listener)
Calls the listener’s
processValueChange( )
method.
Get JavaServer Faces now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.