java.lang.Object
io.qt.QtObject
io.qt.script.QScriptContext
- All Implemented Interfaces:
QtObjectInterface
Represents a Qt Script function invocation
Java wrapper for Qt class QScriptContext
- Since:
- This class was introduced in Qt 4.3.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQScriptContext::Error
static enum
Java wrapper for Qt enumQScriptContext::ExecutionState
-
Method Summary
Modifier and TypeMethodDescriptionfinal QScriptValue
final QScriptValue
argument
(int index) final int
final QScriptValue
final QStringList
final QScriptValue
callee()
final QScriptEngine
engine()
final boolean
final QScriptContext
final QScriptValue
popScope()
SeeQScriptContext::
popScope() final void
pushScope
(QScriptValue object) SeeQScriptContext::
pushScope(QScriptValue) final QScriptValue
SeeQScriptContext::
returnValue()const final void
setActivationObject
(QScriptValue activation) final void
setReturnValue
(QScriptValue result) SeeQScriptContext::
setReturnValue(QScriptValue) final void
setThisObject
(QScriptValue thisObject) state()
final QScriptValue
final QScriptValue
throwError
(QScriptContext.Error error, String text) final QScriptValue
throwError
(String text) final QScriptValue
throwValue
(QScriptValue value) final String
toString()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Method Details
-
activationObject
- Returns:
-
argument
- Parameters:
index
-- Returns:
-
argumentCount
- Returns:
-
argumentsObject
- Returns:
-
backtrace
- Returns:
-
callee
- Returns:
-
engine
- Returns:
-
isCalledAsConstructor
- Returns:
-
parentContext
- Returns:
-
popScope
See
QScriptContext::
popScope() - Returns:
-
pushScope
See
QScriptContext::
pushScope(QScriptValue) - Parameters:
object
-
-
returnValue
See
QScriptContext::
returnValue()const - Returns:
-
setActivationObject
- Parameters:
activation
-
-
setReturnValue
See
QScriptContext::
setReturnValue(QScriptValue) - Parameters:
result
-
-
setThisObject
- Parameters:
thisObject
-
-
state
- Returns:
-
thisObject
- Returns:
-
throwError
- Parameters:
error
-text
-- Returns:
-
throwError
- Parameters:
text
-- Returns:
-
throwValue
- Parameters:
value
-- Returns:
-
toString
-