Constructor and Description |
---|
ClientListener(java.lang.String scriptCode)
Creates a ClientListener instance with the specified JavaScript code.
|
Modifier and Type | Method and Description |
---|---|
void |
handleEvent(Event event)
This method will NOT be called on a ClientListener.
|
public ClientListener(java.lang.String scriptCode)
handleEvent
. This method will be called with a
single argument, event.
scriptCode
- the JavaScript code of the event handlerpublic void handleEvent(Event event)
handleEvent
in interface Listener
event
- the event which occurred
Copyright (c) EclipseSource and others 2002, 2020.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0