com.ibm.xsp.event
Class ClientEventHandler

java.lang.Object
  extended by com.ibm.xsp.complex.ValueBindingObjectImpl
      extended by com.ibm.xsp.event.ClientEventHandler
All Implemented Interfaces:
ComponentBindingObject, ValueBindingObject, javax.faces.component.StateHolder

public final class ClientEventHandler
extends ValueBindingObjectImpl

The xp:handler tag, which registers its defined event with its parent control, with respect to the script language being used in the event and the platform its running on.

Used in conjunction with XPages Other Controls - Event Handler.

See Also:
XspEventHandler

Constructor Summary
ClientEventHandler()
           
 
Method Summary
 java.lang.String getRenderkit()
          Return renderkit specified by setRenderkit(String).
 java.lang.String getScript()
          Return script specified by setScript(String).
 java.lang.String getType()
          Return type specified by setType(String).
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object value)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setRenderkit(java.lang.String renderkit)
          Specifies the render kit identifier which is to be used in conjunction with this event handler.
 void setScript(java.lang.String script)
          Specifies the script to be executed.
 void setType(java.lang.String type)
          Specifies the scripting language being used, a MIME type.
 
Methods inherited from class com.ibm.xsp.complex.ValueBindingObjectImpl
getComponent, getFacesContext, getValueBinding, isTransient, setComponent, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientEventHandler

public ClientEventHandler()
Method Detail

getRenderkit

public java.lang.String getRenderkit()
Return renderkit specified by setRenderkit(String).


setRenderkit

public void setRenderkit(java.lang.String renderkit)
Specifies the render kit identifier which is to be used in conjunction with this event handler.


getScript

public java.lang.String getScript()
Return script specified by setScript(String).


setScript

public void setScript(java.lang.String script)
Specifies the script to be executed.


getType

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


setType

public void setType(java.lang.String type)
Specifies the scripting language being used, a MIME type.


saveState

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

restoreState

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