|
Eclipse Remote Application Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ClientFunction org.eclipse.rap.rwt.scripting.ClientListener
public class ClientListener
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.
Constructor Summary | |
---|---|
ClientListener(java.lang.String scriptCode)
Creates a ClientListener instance with the specified JavaScript code. |
Method Summary | |
---|---|
void |
handleEvent(Event event)
This method will NOT be called on a ClientListener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClientListener(java.lang.String scriptCode)
handleEvent
. This method will be called with a
single argument, event.
- Parameters:
scriptCode
- the JavaScript code of the event handler
Method Detail |
---|
public void handleEvent(Event event)
handleEvent
in interface Listener
event
- the event which occurred
|
Eclipse Remote Application Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) EclipseSource and others 2002, 2013. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0