Package org.eclipse.rap.rwt.scripting
Class ClientListener
java.lang.Object
ClientFunction
org.eclipse.rap.rwt.scripting.ClientListener
- All Implemented Interfaces:
- Listener
A special SWT event listener that is implemented in JavaScript and will be executed on a RAP
 client. The 
handleEvent() method of this type will never be called.- Since:
- 2.2
- 
Constructor SummaryConstructorsConstructorDescriptionClientListener(String scriptCode) Creates a ClientListener instance with the specified JavaScript code.
- 
Method SummaryModifier and TypeMethodDescriptionvoidhandleEvent(Event event) This method will NOT be called on a ClientListener.
- 
Constructor Details- 
ClientListenerCreates a ClientListener instance with the specified JavaScript code. The JavaScript code must contain a method namedhandleEvent. This method will be called with a single argument,event.- Parameters:
- scriptCode- the JavaScript code of the event handler
 
 
- 
- 
Method Details- 
handleEventThis method will NOT be called on a ClientListener.- Specified by:
- handleEventin interface- Listener
- Parameters:
- event- the event which occurred
 
 
-