java.lang.Object
io.qt.QtObject
io.qt.script.QScriptEngineAgent
- All Implemented Interfaces:
QtObjectInterface
Interface to report events pertaining to QScriptEngine execution
Java wrapper for Qt class QScriptEngineAgent
- Since:
- This class was introduced in Qt 4.4.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQScriptEngineAgent::Extension
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
final QScriptEngine
engine()
void
exceptionCatch
(long scriptId, QScriptValue exception) void
exceptionThrow
(long scriptId, QScriptValue exception, boolean hasHandler) final Object
extension
(QScriptEngineAgent.Extension extension) Overloaded function forextension(io.qt.script.QScriptEngineAgent.Extension, java.lang.Object)
withargument = null
.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) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QScriptEngineAgent
- Parameters:
engine
-
-
-
Method Details
-
engine
- Returns:
-
contextPop
-
contextPush
-
exceptionCatch
- Parameters:
scriptId
-exception
-
-
exceptionThrow
@QtUninvokable public void exceptionThrow(long scriptId, QScriptValue exception, boolean hasHandler) - Parameters:
scriptId
-exception
-hasHandler
-
-
extension
- Parameters:
extension
-argument
-- Returns:
-
functionEntry
- Parameters:
scriptId
-
-
functionExit
- Parameters:
scriptId
-returnValue
-
-
positionChange
- Parameters:
scriptId
-lineNumber
-columnNumber
-
-
scriptLoad
- Parameters:
id
-program
-fileName
-baseLineNumber
-
-
scriptUnload
- Parameters:
id
-
-
supportsExtension
- Parameters:
extension
-- Returns:
-
extension
Overloaded function for
extension(io.qt.script.QScriptEngineAgent.Extension, java.lang.Object)
withargument = null
.
-