java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.script.QScriptContext
- All Implemented Interfaces:
QtObjectInterface
public final class QScriptContext extends QtObject
Represents a Qt Script function invocation
Java wrapper for Qt class QScriptContext
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QScriptContext.Error
Java wrapper for Qt enum QScriptContext::Errorstatic class
QScriptContext.ExecutionState
Java wrapper for Qt enum QScriptContext::ExecutionState -
Constructor Summary
Constructors Modifier Constructor Description protected
QScriptContext(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QScriptValue
activationObject()
QScriptValue
argument(int index)
int
argumentCount()
QScriptValue
argumentsObject()
QStringList
backtrace()
QScriptValue
callee()
QScriptEngine
engine()
boolean
isCalledAsConstructor()
QScriptContext
parentContext()
QScriptValue
popScope()
void
pushScope(QScriptValue object)
QScriptValue
returnValue()
void
setActivationObject(QScriptValue activation)
void
setReturnValue(QScriptValue result)
void
setThisObject(QScriptValue thisObject)
QScriptContext.ExecutionState
state()
QScriptValue
thisObject()
QScriptValue
throwError(QScriptContext.Error error, String text)
QScriptValue
throwError(String text)
QScriptValue
throwValue(QScriptValue value)
String
toString()
-
Constructor Details
-
QScriptContext
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details