static class EventTargetWrapper.FunctionEventListener extends java.lang.Object implements EventListener
Modifier and Type | Field and Description |
---|---|
protected org.mozilla.javascript.Function |
function |
protected RhinoInterpreter |
interpreter |
Constructor and Description |
---|
FunctionEventListener(org.mozilla.javascript.Function f,
RhinoInterpreter i) |
Modifier and Type | Method and Description |
---|---|
void |
handleEvent(Event evt)
This method is called whenever an event occurs of the event type for
which the
EventListener interface was registered. |
protected org.mozilla.javascript.Function function
protected RhinoInterpreter interpreter
FunctionEventListener(org.mozilla.javascript.Function f, RhinoInterpreter i)
public void handleEvent(Event evt)
EventListener
EventListener
interface was registered.handleEvent
in interface EventListener
evt
- The Event
contains contextual information
about the event.