Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.birt.data.engine.api.script
Interface IJavascriptContext

All Known Subinterfaces:
  IDataSetInstanceHandle, IDataSourceInstanceHandle

    public interface IJavascriptContext

Represents a Data Engine runtime object (e.g., data source or data set) which emits events that can be handled by Javascript code. This interface provides the necessary context to execute Javascript event handler code

Method Summary
`org.mozilla.javascript.Scriptable` | `getScriptScope()` Returns a Scriptable object that should be used as the scope in which to execute Javascript code associated with the runtime object.

Method Detail

### getScriptScope

    org.mozilla.javascript.Scriptable getScriptScope()
                                                     throws org.eclipse.birt.data.engine.core.DataException

  Returns a Scriptable object that should be used as the scope in which to execute Javascript code associated with the runtime object.

  Throws:
    `org.eclipse.birt.data.engine.core.DataException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008 Actuate Corp. All rights reserved.