- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QScriptValue extends QtObject implements Cloneable
Acts as a container for the Qt Script data types
Java wrapper for Qt class QScriptValue
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QScriptValue.PropertyFlag
Java wrapper for Qt enum QScriptValue::PropertyFlagstatic class
QScriptValue.PropertyFlags
QFlags type for enumQScriptValue.PropertyFlag
static class
QScriptValue.ResolveFlag
Java wrapper for Qt enum QScriptValue::ResolveFlagstatic class
QScriptValue.ResolveFlags
QFlags type for enumQScriptValue.ResolveFlag
static class
QScriptValue.SpecialValue
Java wrapper for Qt enum QScriptValue::SpecialValue -
Constructor Summary
Constructors Modifier Constructor Description QScriptValue()
QScriptValue(boolean value)
QScriptValue(double value)
QScriptValue(int value)
protected
QScriptValue(QtObject.QPrivateConstructor p)
Constructor for internal use only.QScriptValue(QScriptEngine engine, boolean val)
QScriptValue(QScriptEngine engine, double val)
QScriptValue(QScriptEngine engine, int val)
QScriptValue(QScriptEngine engine, QScriptValue.SpecialValue val)
QScriptValue(QScriptEngine engine, String val)
QScriptValue(QScriptValue other)
QScriptValue(QScriptValue.SpecialValue value)
QScriptValue(String value)
-
Method Summary
-
Constructor Details
-
QScriptValue
public QScriptValue() -
QScriptValue
-
QScriptValue
-
QScriptValue
-
QScriptValue
-
QScriptValue
-
QScriptValue
-
QScriptValue
public QScriptValue(boolean value) -
QScriptValue
-
QScriptValue
-
QScriptValue
public QScriptValue(double value) -
QScriptValue
public QScriptValue(int value) -
QScriptValue
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
call
Overloaded function for
call(io.qt.script.QScriptValue, java.util.Collection)
withargs = new java.util.ArrayList<>()
. -
call
Overloaded function for
call(io.qt.script.QScriptValue, java.util.Collection)
with:
thisObject = new io.qt.script.QScriptValue()
args = new java.util.ArrayList<>()
-
call
@QtUninvokable public final QScriptValue call(QScriptValue thisObject, Collection<QScriptValue> args) -
call
-
construct
Overloaded function for
construct(java.util.Collection)
withargs = new java.util.ArrayList<>()
. -
construct
-
construct
-
data
-
engine
-
equals
-
instanceOf
-
isArray
-
isBoolean
-
isDate
-
isError
-
isFunction
-
isNull
-
isNumber
-
isObject
-
isQObject
-
isRegExp
-
isString
-
isUndefined
-
isValid
-
isVariant
-
lessThan
-
objectId
-
property
@QtUninvokable public final QScriptValue property(QScriptString name, QScriptValue.ResolveFlag... mode)Overloaded function for
property(io.qt.script.QScriptString, io.qt.script.QScriptValue.ResolveFlags)
. -
property
Overloaded function for
property(io.qt.script.QScriptString, io.qt.script.QScriptValue.ResolveFlags)
withmode = new io.qt.script.QScriptValue.ResolveFlags(1)
. -
property
@QtUninvokable public final QScriptValue property(QScriptString name, QScriptValue.ResolveFlags mode) -
property
Overloaded function for
property(java.lang.String, io.qt.script.QScriptValue.ResolveFlags)
. -
property
Overloaded function for
property(java.lang.String, io.qt.script.QScriptValue.ResolveFlags)
withmode = new io.qt.script.QScriptValue.ResolveFlags(1)
. -
property
-
property
@QtUninvokable public final QScriptValue property(int arrayIndex, QScriptValue.ResolveFlag... mode)Overloaded function for
property(int, io.qt.script.QScriptValue.ResolveFlags)
. -
property
Overloaded function for
property(int, io.qt.script.QScriptValue.ResolveFlags)
withmode = new io.qt.script.QScriptValue.ResolveFlags(1)
. -
property
-
propertyFlags
@QtUninvokable public final QScriptValue.PropertyFlags propertyFlags(QScriptString name, QScriptValue.ResolveFlag... mode)Overloaded function for
propertyFlags(io.qt.script.QScriptString, io.qt.script.QScriptValue.ResolveFlags)
. -
propertyFlags
Overloaded function for
propertyFlags(io.qt.script.QScriptString, io.qt.script.QScriptValue.ResolveFlags)
withmode = new io.qt.script.QScriptValue.ResolveFlags(1)
. -
propertyFlags
@QtUninvokable public final QScriptValue.PropertyFlags propertyFlags(QScriptString name, QScriptValue.ResolveFlags mode) -
propertyFlags
@QtUninvokable public final QScriptValue.PropertyFlags propertyFlags(String name, QScriptValue.ResolveFlag... mode)Overloaded function for
propertyFlags(java.lang.String, io.qt.script.QScriptValue.ResolveFlags)
. -
propertyFlags
Overloaded function for
propertyFlags(java.lang.String, io.qt.script.QScriptValue.ResolveFlags)
withmode = new io.qt.script.QScriptValue.ResolveFlags(1)
. -
propertyFlags
@QtUninvokable public final QScriptValue.PropertyFlags propertyFlags(String name, QScriptValue.ResolveFlags mode) -
prototype
-
scope
-
scriptClass
-
setData
-
setProperty
@QtUninvokable public final void setProperty(QScriptString name, QScriptValue value, QScriptValue.PropertyFlag... flags) -
setProperty
Overloaded function for
setProperty(io.qt.script.QScriptString, io.qt.script.QScriptValue, io.qt.script.QScriptValue.PropertyFlags)
withflags = new io.qt.script.QScriptValue.PropertyFlags(2048)
. -
setProperty
@QtUninvokable public final void setProperty(QScriptString name, QScriptValue value, QScriptValue.PropertyFlags flags) -
setProperty
@QtUninvokable public final void setProperty(String name, QScriptValue value, QScriptValue.PropertyFlag... flags)Overloaded function for
setProperty(java.lang.String, io.qt.script.QScriptValue, io.qt.script.QScriptValue.PropertyFlags)
. -
setProperty
Overloaded function for
setProperty(java.lang.String, io.qt.script.QScriptValue, io.qt.script.QScriptValue.PropertyFlags)
withflags = new io.qt.script.QScriptValue.PropertyFlags(2048)
. -
setProperty
@QtUninvokable public final void setProperty(String name, QScriptValue value, QScriptValue.PropertyFlags flags) -
setProperty
@QtUninvokable public final void setProperty(int arrayIndex, QScriptValue value, QScriptValue.PropertyFlag... flags)Overloaded function for
setProperty(int, io.qt.script.QScriptValue, io.qt.script.QScriptValue.PropertyFlags)
. -
setProperty
Overloaded function for
setProperty(int, io.qt.script.QScriptValue, io.qt.script.QScriptValue.PropertyFlags)
withflags = new io.qt.script.QScriptValue.PropertyFlags(2048)
. -
setProperty
@QtUninvokable public final void setProperty(int arrayIndex, QScriptValue value, QScriptValue.PropertyFlags flags) -
setPrototype
-
setScope
-
setScriptClass
-
strictlyEquals
-
toBoolean
-
toDateTime
-
toInt
-
toDouble
-
toQObject
-
toRegExp
-
toString
-
toShort
-
toVariant
-
toInteger
-
clone
-