java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.script.QScriptEngineAgent
- All Implemented Interfaces:
QtObjectInterface
public class QScriptEngineAgent extends QtObject
Interface to report events pertaining to QScriptEngine execution
Java wrapper for Qt class QScriptEngineAgent
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QScriptEngineAgent.Extension
Java wrapper for Qt enum QScriptEngineAgent::Extension -
Constructor Summary
Constructors Modifier Constructor Description protected
QScriptEngineAgent(QtObject.QPrivateConstructor p)
Constructor for internal use only.QScriptEngineAgent(QScriptEngine engine)
-
Method Summary
Modifier and Type Method Description void
contextPop()
void
contextPush()
QScriptEngine
engine()
void
exceptionCatch(long scriptId, QScriptValue exception)
void
exceptionThrow(long scriptId, QScriptValue exception, boolean hasHandler)
Object
extension(QScriptEngineAgent.Extension extension)
Overloaded function forextension(io.qt.script.QScriptEngineAgent.Extension, java.lang.Object)
withargument = null
.Object
extension(QScriptEngineAgent.Extension extension, Object argument)
void
functionEntry(long scriptId)
void
functionExit(long scriptId, QScriptValue returnValue)
void
positionChange(long scriptId, int lineNumber, int columnNumber)
void
scriptLoad(long id, String program, String fileName, int baseLineNumber)
void
scriptUnload(long id)
boolean
supportsExtension(QScriptEngineAgent.Extension extension)
-
Constructor Details
-
QScriptEngineAgent
-
QScriptEngineAgent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
engine
-
contextPop
-
contextPush
-
exceptionCatch
-
exceptionThrow
@QtUninvokable public void exceptionThrow(long scriptId, QScriptValue exception, boolean hasHandler) -
extension
Overloaded function for
extension(io.qt.script.QScriptEngineAgent.Extension, java.lang.Object)
withargument = null
. -
extension
-
functionEntry
-
functionExit
-
positionChange
-
scriptLoad
@QtUninvokable public void scriptLoad(long id, String program, String fileName, int baseLineNumber) -
scriptUnload
-
supportsExtension
-