com.ibm.xsp.event
Class ValueChangeListenerImpl

java.lang.Object
  extended by com.ibm.xsp.event.ValueChangeListenerImpl
All Implemented Interfaces:
java.util.EventListener, javax.faces.component.StateHolder, javax.faces.event.FacesListener, javax.faces.event.ValueChangeListener

public class ValueChangeListenerImpl
extends java.lang.Object
implements javax.faces.event.ValueChangeListener, javax.faces.component.StateHolder

The xp:valueChangeListener tag, which acts as a factory and wrapper for ValueChangeListeners, creating an instance of the class specified in the type attribute and delegating to it.


Constructor Summary
ValueChangeListenerImpl()
           
 
Method Summary
 java.lang.String getType()
          Return the type specified by setType(String).
 boolean isTransient()
           
 void processValueChange(javax.faces.event.ValueChangeEvent event)
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object value)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setTransient(boolean transientFlag)
           
 void setType(java.lang.String type)
          Defines the type of Java Class to be invoked when the action event is fired.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueChangeListenerImpl

public ValueChangeListenerImpl()
Method Detail

processValueChange

public void processValueChange(javax.faces.event.ValueChangeEvent event)
                        throws javax.faces.event.AbortProcessingException
Specified by:
processValueChange in interface javax.faces.event.ValueChangeListener
Throws:
javax.faces.event.AbortProcessingException

getType

public java.lang.String getType()
Return the type specified by setType(String).


setType

public void setType(java.lang.String type)
Defines the type of Java Class to be invoked when the action event is fired.


isTransient

public boolean isTransient()
Specified by:
isTransient in interface javax.faces.component.StateHolder

setTransient

public void setTransient(boolean transientFlag)
Specified by:
setTransient in interface javax.faces.component.StateHolder

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object value)
Specified by:
restoreState in interface javax.faces.component.StateHolder