- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Acts as a container for Qt/JavaScript data types
Java wrapper for Qt class QJSValue
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQJSValue::ErrorType
static enum
Java wrapper for Qt enumQJSValue::SpecialValue
-
Constructor Summary
ConstructorDescriptionQJSValue()
Overloaded constructor forQJSValue(io.qt.qml.QJSValue.SpecialValue)
withvalue = io.qt.qml.QJSValue.SpecialValue.UndefinedValue
.QJSValue
(boolean value) QJSValue
(double value) QJSValue
(int value) QJSValue
(QJSValue.SpecialValue value) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(boolean other) Overloaded function forassign(io.qt.qml.QJSValue)
.final void
assign
(double other) Overloaded function forassign(io.qt.qml.QJSValue)
.final void
assign
(int other) Overloaded function forassign(io.qt.qml.QJSValue)
.final void
final void
assign
(QJSValue.SpecialValue other) Overloaded function forassign(io.qt.qml.QJSValue)
.final void
Overloaded function forassign(io.qt.qml.QJSValue)
.final QJSValue
call()
Overloaded function forcall(java.util.Collection)
withargs = java.util.Collections.emptyList()
.final QJSValue
call
(Collection<? extends QJSValue> args) final QJSValue
Overloaded function forcallAsConstructor(java.util.Collection)
withargs = java.util.Collections.emptyList()
.final QJSValue
callAsConstructor
(Collection<? extends QJSValue> args) final QJSValue
callWithInstance
(boolean instance) Overloaded function forcallWithInstance(boolean, java.util.Collection)
withargs = java.util.Collections.emptyList()
.final QJSValue
callWithInstance
(boolean instance, Collection<? extends QJSValue> args) Overloaded function forcallWithInstance(io.qt.qml.QJSValue, java.util.Collection)
.final QJSValue
callWithInstance
(double instance) Overloaded function forcallWithInstance(double, java.util.Collection)
withargs = java.util.Collections.emptyList()
.final QJSValue
callWithInstance
(double instance, Collection<? extends QJSValue> args) Overloaded function forcallWithInstance(io.qt.qml.QJSValue, java.util.Collection)
.final QJSValue
callWithInstance
(int instance) Overloaded function forcallWithInstance(int, java.util.Collection)
withargs = java.util.Collections.emptyList()
.final QJSValue
callWithInstance
(int instance, Collection<? extends QJSValue> args) Overloaded function forcallWithInstance(io.qt.qml.QJSValue, java.util.Collection)
.final QJSValue
callWithInstance
(QJSValue instance) Overloaded function forcallWithInstance(io.qt.qml.QJSValue, java.util.Collection)
withargs = java.util.Collections.emptyList()
.final QJSValue
callWithInstance
(QJSValue instance, Collection<? extends QJSValue> args) final QJSValue
callWithInstance
(QJSValue.SpecialValue instance) Overloaded function forcallWithInstance(io.qt.qml.QJSValue.SpecialValue, java.util.Collection)
withargs = java.util.Collections.emptyList()
.final QJSValue
callWithInstance
(QJSValue.SpecialValue instance, Collection<? extends QJSValue> args) Overloaded function forcallWithInstance(io.qt.qml.QJSValue, java.util.Collection)
.final QJSValue
callWithInstance
(String instance) Overloaded function forcallWithInstance(java.lang.String, java.util.Collection)
withargs = java.util.Collections.emptyList()
.final QJSValue
callWithInstance
(String instance, Collection<? extends QJSValue> args) Overloaded function forcallWithInstance(io.qt.qml.QJSValue, java.util.Collection)
.clone()
Creates and returns a copy of this object.final boolean
deleteProperty
(String name) final QJSEngine
engine()
final boolean
equals
(boolean other) Overloaded function forequals(io.qt.qml.QJSValue)
.final boolean
equals
(double other) Overloaded function forequals(io.qt.qml.QJSValue)
.final boolean
equals
(int other) Overloaded function forequals(io.qt.qml.QJSValue)
.final boolean
final boolean
equals
(QJSValue.SpecialValue other) Overloaded function forequals(io.qt.qml.QJSValue)
.final boolean
Overloaded function forequals(io.qt.qml.QJSValue)
.final QJSValue.ErrorType
final boolean
hasOwnProperty
(String name) final boolean
hasProperty
(String name) final boolean
isArray()
final boolean
final boolean
final boolean
isDate()
final boolean
isError()
final boolean
isNull()
final boolean
isNumber()
final boolean
isObject()
final boolean
final boolean
final boolean
isRegExp()
final boolean
isString()
final boolean
final QJSValue
property
(int arrayIndex) final QJSValue
final QJSValue
final void
setProperty
(int arrayIndex, boolean value) Overloaded function forsetProperty(int, io.qt.qml.QJSValue)
.final void
setProperty
(int arrayIndex, double value) Overloaded function forsetProperty(int, io.qt.qml.QJSValue)
.final void
setProperty
(int arrayIndex, int value) Overloaded function forsetProperty(int, io.qt.qml.QJSValue)
.final void
setProperty
(int arrayIndex, QJSValue value) final void
setProperty
(int arrayIndex, QJSValue.SpecialValue value) Overloaded function forsetProperty(int, io.qt.qml.QJSValue)
.final void
setProperty
(int arrayIndex, String value) Overloaded function forsetProperty(int, io.qt.qml.QJSValue)
.final void
setProperty
(String name, boolean value) Overloaded function forsetProperty(java.lang.String, io.qt.qml.QJSValue)
.final void
setProperty
(String name, double value) Overloaded function forsetProperty(java.lang.String, io.qt.qml.QJSValue)
.final void
setProperty
(String name, int value) Overloaded function forsetProperty(java.lang.String, io.qt.qml.QJSValue)
.final void
setProperty
(String name, QJSValue value) final void
setProperty
(String name, QJSValue.SpecialValue value) Overloaded function forsetProperty(java.lang.String, io.qt.qml.QJSValue)
.final void
setProperty
(String name, String value) Overloaded function forsetProperty(java.lang.String, io.qt.qml.QJSValue)
.final void
setPrototype
(boolean prototype) Overloaded function forsetPrototype(io.qt.qml.QJSValue)
.final void
setPrototype
(double prototype) Overloaded function forsetPrototype(io.qt.qml.QJSValue)
.final void
setPrototype
(int prototype) Overloaded function forsetPrototype(io.qt.qml.QJSValue)
.final void
setPrototype
(QJSValue prototype) final void
setPrototype
(QJSValue.SpecialValue prototype) Overloaded function forsetPrototype(io.qt.qml.QJSValue)
.final void
setPrototype
(String prototype) Overloaded function forsetPrototype(io.qt.qml.QJSValue)
.final boolean
strictlyEquals
(boolean other) Overloaded function forstrictlyEquals(io.qt.qml.QJSValue)
.final boolean
strictlyEquals
(double other) Overloaded function forstrictlyEquals(io.qt.qml.QJSValue)
.final boolean
strictlyEquals
(int other) Overloaded function forstrictlyEquals(io.qt.qml.QJSValue)
.final boolean
strictlyEquals
(QJSValue other) final boolean
Overloaded function forstrictlyEquals(io.qt.qml.QJSValue)
.final boolean
strictlyEquals
(String other) Overloaded function forstrictlyEquals(io.qt.qml.QJSValue)
.final boolean
final QDateTime
final double
toDouble()
final int
toInt()
final Object
toObject()
final QMetaObject
final QObject
final String
toString()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QJSValue
-
QJSValue
-
QJSValue
-
QJSValue
public QJSValue(boolean value) -
QJSValue
public QJSValue(double value) -
QJSValue
public QJSValue(int value) -
QJSValue
public QJSValue()Overloaded constructor for
QJSValue(io.qt.qml.QJSValue.SpecialValue)
withvalue = io.qt.qml.QJSValue.SpecialValue.UndefinedValue
.
-
-
Method Details
-
call
-
callAsConstructor
-
callWithInstance
@QtUninvokable public final QJSValue callWithInstance(QJSValue instance, Collection<? extends QJSValue> args) -
deleteProperty
-
engine
-
equals
-
errorType
-
hasOwnProperty
-
hasProperty
-
isArray
-
isBoolean
-
isCallable
-
isDate
-
isError
-
isNull
-
isNumber
-
isObject
-
isQMetaObject
-
isQObject
-
isRegExp
-
isString
-
isUndefined
-
assign
-
property
-
property
-
prototype
-
setProperty
-
setProperty
-
setPrototype
-
strictlyEquals
-
toBoolean
-
toDateTime
-
toInt
-
toDouble
-
toQMetaObject
-
toQObject
-
toString
-
toObject
-
clone
Creates and returns a copy of this object.
-
call
Overloaded function for
call(java.util.Collection)
withargs = java.util.Collections.emptyList()
. -
callAsConstructor
Overloaded function for
callAsConstructor(java.util.Collection)
withargs = java.util.Collections.emptyList()
. -
callWithInstance
Overloaded function for
callWithInstance(io.qt.qml.QJSValue, java.util.Collection)
withargs = java.util.Collections.emptyList()
. -
callWithInstance
Overloaded function for
callWithInstance(io.qt.qml.QJSValue.SpecialValue, java.util.Collection)
withargs = java.util.Collections.emptyList()
. -
callWithInstance
@QtUninvokable public final QJSValue callWithInstance(QJSValue.SpecialValue instance, Collection<? extends QJSValue> args) Overloaded function for
callWithInstance(io.qt.qml.QJSValue, java.util.Collection)
. -
callWithInstance
Overloaded function for
callWithInstance(boolean, java.util.Collection)
withargs = java.util.Collections.emptyList()
. -
callWithInstance
@QtUninvokable public final QJSValue callWithInstance(boolean instance, Collection<? extends QJSValue> args) Overloaded function for
callWithInstance(io.qt.qml.QJSValue, java.util.Collection)
. -
callWithInstance
Overloaded function for
callWithInstance(int, java.util.Collection)
withargs = java.util.Collections.emptyList()
. -
callWithInstance
@QtUninvokable public final QJSValue callWithInstance(int instance, Collection<? extends QJSValue> args) Overloaded function for
callWithInstance(io.qt.qml.QJSValue, java.util.Collection)
. -
callWithInstance
Overloaded function for
callWithInstance(double, java.util.Collection)
withargs = java.util.Collections.emptyList()
. -
callWithInstance
@QtUninvokable public final QJSValue callWithInstance(double instance, Collection<? extends QJSValue> args) Overloaded function for
callWithInstance(io.qt.qml.QJSValue, java.util.Collection)
. -
callWithInstance
Overloaded function for
callWithInstance(java.lang.String, java.util.Collection)
withargs = java.util.Collections.emptyList()
. -
callWithInstance
@QtUninvokable public final QJSValue callWithInstance(String instance, Collection<? extends QJSValue> args) Overloaded function for
callWithInstance(io.qt.qml.QJSValue, java.util.Collection)
. -
equals
Overloaded function for
equals(io.qt.qml.QJSValue)
. -
equals
Overloaded function for
equals(io.qt.qml.QJSValue)
. -
equals
Overloaded function for
equals(io.qt.qml.QJSValue)
. -
equals
Overloaded function for
equals(io.qt.qml.QJSValue)
. -
equals
Overloaded function for
equals(io.qt.qml.QJSValue)
. -
assign
Overloaded function for
assign(io.qt.qml.QJSValue)
. -
assign
Overloaded function for
assign(io.qt.qml.QJSValue)
. -
assign
Overloaded function for
assign(io.qt.qml.QJSValue)
. -
assign
Overloaded function for
assign(io.qt.qml.QJSValue)
. -
assign
Overloaded function for
assign(io.qt.qml.QJSValue)
. -
setProperty
Overloaded function for
setProperty(java.lang.String, io.qt.qml.QJSValue)
. -
setProperty
Overloaded function for
setProperty(java.lang.String, io.qt.qml.QJSValue)
. -
setProperty
Overloaded function for
setProperty(java.lang.String, io.qt.qml.QJSValue)
. -
setProperty
Overloaded function for
setProperty(java.lang.String, io.qt.qml.QJSValue)
. -
setProperty
Overloaded function for
setProperty(java.lang.String, io.qt.qml.QJSValue)
. -
setProperty
Overloaded function for
setProperty(int, io.qt.qml.QJSValue)
. -
setProperty
Overloaded function for
setProperty(int, io.qt.qml.QJSValue)
. -
setProperty
Overloaded function for
setProperty(int, io.qt.qml.QJSValue)
. -
setProperty
Overloaded function for
setProperty(int, io.qt.qml.QJSValue)
. -
setProperty
Overloaded function for
setProperty(int, io.qt.qml.QJSValue)
. -
setPrototype
Overloaded function for
setPrototype(io.qt.qml.QJSValue)
. -
setPrototype
Overloaded function for
setPrototype(io.qt.qml.QJSValue)
. -
setPrototype
Overloaded function for
setPrototype(io.qt.qml.QJSValue)
. -
setPrototype
Overloaded function for
setPrototype(io.qt.qml.QJSValue)
. -
setPrototype
Overloaded function for
setPrototype(io.qt.qml.QJSValue)
. -
strictlyEquals
Overloaded function for
strictlyEquals(io.qt.qml.QJSValue)
. -
strictlyEquals
Overloaded function for
strictlyEquals(io.qt.qml.QJSValue)
. -
strictlyEquals
Overloaded function for
strictlyEquals(io.qt.qml.QJSValue)
. -
strictlyEquals
Overloaded function for
strictlyEquals(io.qt.qml.QJSValue)
. -
strictlyEquals
Overloaded function for
strictlyEquals(io.qt.qml.QJSValue)
.
-