- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Acts as a container for the Qt Script data types
Java wrapper for Qt class QScriptValue
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQScriptValue::PropertyFlag
static final class
QFlags
type for enumQScriptValue.PropertyFlag
static enum
Java wrapper for Qt enumQScriptValue::ResolveFlag
static final class
QFlags
type for enumQScriptValue.ResolveFlag
static enum
Java wrapper for Qt enumQScriptValue::SpecialValue
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorDescriptionQScriptValue
(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) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QScriptValue other) final QScriptValue
call()
Overloaded function forcall(io.qt.script.QScriptValue, java.util.Collection)
final QScriptValue
call
(QScriptValue thisObject) Overloaded function forcall(io.qt.script.QScriptValue, java.util.Collection)
withargs = new java.util.ArrayList<>()
.final QScriptValue
call
(QScriptValue thisObject, QScriptValue arguments) final QScriptValue
call
(QScriptValue thisObject, Collection<QScriptValue> args) clone()
Creates and returns a copy of this object.final QScriptValue
Overloaded function forconstruct(java.util.Collection)
withargs = 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()
SeeQScriptValue::
objectId()const 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()
SeeQScriptValue::
scope()const 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) SeeQScriptValue::
setScope(QScriptValue) 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)
-
-
Method Details
-
call
@QtUninvokable public final QScriptValue call(QScriptValue thisObject, Collection<QScriptValue> args) -
call
-
construct
-
construct
-
data
-
engine
-
equals
-
instanceOf
-
isArray
-
isBoolean
-
isDate
-
isError
-
isFunction
-
isNull
-
isNumber
-
isObject
-
isQObject
-
isRegExp
-
isString
-
isUndefined
-
isValid
-
isVariant
-
lessThan
-
objectId
See
QScriptValue::
objectId()const -
assign
-
property
@QtUninvokable public final QScriptValue property(QScriptString name, QScriptValue.ResolveFlags mode) -
property
-
property
-
propertyFlags
@QtUninvokable public final QScriptValue.PropertyFlags propertyFlags(QScriptString name, QScriptValue.ResolveFlags mode) -
propertyFlags
@QtUninvokable public final QScriptValue.PropertyFlags propertyFlags(String name, QScriptValue.ResolveFlags mode) -
prototype
-
scope
See
QScriptValue::
scope()const -
scriptClass
-
setData
-
setProperty
@QtUninvokable public final void setProperty(QScriptString name, QScriptValue value, QScriptValue.PropertyFlags flags) -
setProperty
@QtUninvokable public final void setProperty(String name, QScriptValue value, QScriptValue.PropertyFlags flags) -
setProperty
@QtUninvokable public final void setProperty(int arrayIndex, QScriptValue value, QScriptValue.PropertyFlags flags) -
setPrototype
-
setScope
See
QScriptValue::
setScope(QScriptValue) -
setScriptClass
-
strictlyEquals
-
toBoolean
-
toDateTime
-
toInt
-
toDouble
-
toQObject
-
toRegExp
-
toString
-
toShort
-
toVariant
-
toInteger
-
clone
Creates and returns a copy of this object.
-
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<>()
-
construct
Overloaded function for
construct(java.util.Collection)
withargs = new java.util.ArrayList<>()
. -
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.ResolveFlag ... mode) Overloaded function for
property(io.qt.script.QScriptString, 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
Overloaded function for
property(java.lang.String, 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
@QtUninvokable public final QScriptValue property(int arrayIndex, QScriptValue.ResolveFlag ... mode) Overloaded function for
property(int, 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.ResolveFlag ... mode) Overloaded function for
propertyFlags(io.qt.script.QScriptString, 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.ResolveFlag ... mode) Overloaded function for
propertyFlags(java.lang.String, io.qt.script.QScriptValue.ResolveFlags)
. -
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.PropertyFlag ... flags) -
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.PropertyFlag ... flags) Overloaded function for
setProperty(java.lang.String, 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.PropertyFlag ... flags) Overloaded function for
setProperty(int, io.qt.script.QScriptValue, io.qt.script.QScriptValue.PropertyFlags)
.
-