- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Acts as a container for the Qt Script data types
Java wrapper for Qt's class QScriptValue
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QScriptValue::PropertyFlagstatic final class
QFlags type for enumQScriptValue.PropertyFlag
static enum
Java wrapper for Qt enum QScriptValue::ResolveFlagstatic final class
QFlags type for enumQScriptValue.ResolveFlag
static enum
Java wrapper for Qt enum QScriptValue::SpecialValueNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQScriptValue
(boolean value) QScriptValue
(double value) QScriptValue
(int value) QScriptValue
(QScriptValue other) QScriptValue
(String value) 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) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QScriptValue other) final QScriptValue
call()
Overloaded function forinvalid @link
{@link #call(io.qt.script.QScriptValue, java.util.@Nullable Collection)
final QScriptValue
call
(QScriptValue thisObject) Overloaded function forinvalid @link
{@link #call(io.qt.script.QScriptValue, java.util.@Nullable Collection)
args = new java.util.ArrayList<>()
.final QScriptValue
call
(QScriptValue thisObject, QScriptValue arguments) final QScriptValue
call
(QScriptValue thisObject, Collection<QScriptValue> args) clone()
final QScriptValue
Overloaded function forinvalid @link
{@link #construct(java.util.@Nullable Collection)
args = new java.util.ArrayList<>()
.final QScriptValue
construct
(QScriptValue arguments) final QScriptValue
construct
(Collection<QScriptValue> args) final QScriptValue
data()
final QScriptEngine
engine()
final boolean
equals
(QScriptValue other) final boolean
instanceOf
(QScriptValue other) final boolean
isArray()
final boolean
final boolean
isDate()
final boolean
isError()
final boolean
final boolean
isNull()
final boolean
isNumber()
final boolean
isObject()
final boolean
final boolean
isRegExp()
final boolean
isString()
final boolean
final boolean
isValid()
final boolean
final boolean
lessThan
(QScriptValue other) final long
objectId()
final QScriptValue
property
(int arrayIndex) Overloaded function forproperty(int, io.qt.script.QScriptValue.ResolveFlags)
withmode = new io.qt.script.QScriptValue.ResolveFlags(1)
.final QScriptValue
property
(int arrayIndex, QScriptValue.ResolveFlag ... mode) Overloaded function forproperty(int, io.qt.script.QScriptValue.ResolveFlags)
.final QScriptValue
property
(int arrayIndex, QScriptValue.ResolveFlags mode) final QScriptValue
property
(QScriptString name) Overloaded function forproperty(io.qt.script.QScriptString, io.qt.script.QScriptValue.ResolveFlags)
withmode = new io.qt.script.QScriptValue.ResolveFlags(1)
.final QScriptValue
property
(QScriptString name, QScriptValue.ResolveFlag ... mode) Overloaded function forproperty(io.qt.script.QScriptString, io.qt.script.QScriptValue.ResolveFlags)
.final QScriptValue
property
(QScriptString name, QScriptValue.ResolveFlags mode) final QScriptValue
Overloaded function forproperty(java.lang.String, io.qt.script.QScriptValue.ResolveFlags)
withmode = new io.qt.script.QScriptValue.ResolveFlags(1)
.final QScriptValue
property
(String name, QScriptValue.ResolveFlag ... mode) Overloaded function forproperty(java.lang.String, io.qt.script.QScriptValue.ResolveFlags)
.final QScriptValue
property
(String name, QScriptValue.ResolveFlags mode) propertyFlags
(QScriptString name) Overloaded function forpropertyFlags(io.qt.script.QScriptString, io.qt.script.QScriptValue.ResolveFlags)
withmode = new io.qt.script.QScriptValue.ResolveFlags(1)
.propertyFlags
(QScriptString name, QScriptValue.ResolveFlag ... mode) Overloaded function forpropertyFlags(io.qt.script.QScriptString, io.qt.script.QScriptValue.ResolveFlags)
.propertyFlags
(QScriptString name, QScriptValue.ResolveFlags mode) propertyFlags
(String name) Overloaded function forpropertyFlags(java.lang.String, io.qt.script.QScriptValue.ResolveFlags)
withmode = new io.qt.script.QScriptValue.ResolveFlags(1)
.propertyFlags
(String name, QScriptValue.ResolveFlag ... mode) Overloaded function forpropertyFlags(java.lang.String, io.qt.script.QScriptValue.ResolveFlags)
.propertyFlags
(String name, QScriptValue.ResolveFlags mode) final QScriptValue
final QScriptValue
scope()
final QScriptClass
final void
setData
(QScriptValue data) final void
setProperty
(int arrayIndex, QScriptValue value) Overloaded function forsetProperty(int, io.qt.script.QScriptValue, io.qt.script.QScriptValue.PropertyFlags)
withflags = new io.qt.script.QScriptValue.PropertyFlags(2048)
.final void
setProperty
(int arrayIndex, QScriptValue value, QScriptValue.PropertyFlag ... flags) Overloaded function forsetProperty(int, io.qt.script.QScriptValue, io.qt.script.QScriptValue.PropertyFlags)
.final void
setProperty
(int arrayIndex, QScriptValue value, QScriptValue.PropertyFlags flags) final void
setProperty
(QScriptString name, QScriptValue value) Overloaded function forsetProperty(io.qt.script.QScriptString, io.qt.script.QScriptValue, io.qt.script.QScriptValue.PropertyFlags)
withflags = new io.qt.script.QScriptValue.PropertyFlags(2048)
.final void
setProperty
(QScriptString name, QScriptValue value, QScriptValue.PropertyFlag ... flags) final void
setProperty
(QScriptString name, QScriptValue value, QScriptValue.PropertyFlags flags) final void
setProperty
(String name, QScriptValue value) Overloaded function forsetProperty(java.lang.String, io.qt.script.QScriptValue, io.qt.script.QScriptValue.PropertyFlags)
withflags = new io.qt.script.QScriptValue.PropertyFlags(2048)
.final void
setProperty
(String name, QScriptValue value, QScriptValue.PropertyFlag ... flags) Overloaded function forsetProperty(java.lang.String, io.qt.script.QScriptValue, io.qt.script.QScriptValue.PropertyFlags)
.final void
setProperty
(String name, QScriptValue value, QScriptValue.PropertyFlags flags) final void
setPrototype
(QScriptValue prototype) final void
setScope
(QScriptValue scope) final void
setScriptClass
(QScriptClass scriptClass) final boolean
strictlyEquals
(QScriptValue other) final boolean
final QDateTime
final double
toDouble()
final int
toInt()
final Integer
final QObject
final QRegExp
toRegExp()
final short
toShort()
final String
toString()
final Object
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
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
invalid @link
{@link #call(io.qt.script.QScriptValue, java.util.@Nullable Collection)
args = new java.util.ArrayList<>()
. -
call
Overloaded function for
invalid @link
{@link #call(io.qt.script.QScriptValue, java.util.@Nullable 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
invalid @link
{@link #construct(java.util.@Nullable Collection)
args = 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
-
assign
-
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
-