java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.qml.QJSValue
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QJSValue extends QtObject implements Cloneable
Acts as a container for Qt/JavaScript data types
Java wrapper for Qt class QJSValue
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QJSValue.ErrorType
Java wrapper for Qt enum QJSValue::ErrorTypestatic class
QJSValue.ObjectConversionBehavior
Java wrapper for Qt enum QJSValue::ObjectConversionBehaviorstatic class
QJSValue.SpecialValue
Java wrapper for Qt enum QJSValue::SpecialValue -
Constructor Summary
Constructors Modifier Constructor Description QJSValue()
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 other)
QJSValue(QJSValue.SpecialValue value)
protected
QJSValue(QtObject.QPrivateConstructor p)
Constructor for internal use only.QJSValue(String value)
-
Method Summary
-
Constructor Details
-
QJSValue
public QJSValue()Overloaded constructor for
QJSValue(io.qt.qml.QJSValue.SpecialValue)
withvalue = io.qt.qml.QJSValue.SpecialValue.UndefinedValue
. -
QJSValue
-
QJSValue
public QJSValue(boolean value) -
QJSValue
-
QJSValue
-
QJSValue
public QJSValue(double value) -
QJSValue
public QJSValue(int value) -
QJSValue
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
call
Overloaded function for
call(java.util.Collection)
withargs = java.util.Collections.emptyList()
. -
call
-
callAsConstructor
Overloaded function for
callAsConstructor(java.util.Collection)
withargs = java.util.Collections.emptyList()
. -
callAsConstructor
-
callWithInstance
Overloaded function for
callWithInstance(io.qt.qml.QJSValue, java.util.Collection)
withargs = java.util.Collections.emptyList()
. -
callWithInstance
@QtUninvokable public final QJSValue callWithInstance(QJSValue instance, Collection<QJSValue> args) -
deleteProperty
-
equals
-
errorType
-
hasOwnProperty
-
hasProperty
-
isArray
-
isBoolean
-
isCallable
-
isDate
-
isError
-
isNull
-
isNumber
-
isObject
-
isQMetaObject
-
isQObject
-
isRegExp
-
isString
-
isUndefined
-
writeTo
-
readFrom
-
property
-
property
-
prototype
-
setProperty
-
setProperty
-
setPrototype
-
strictlyEquals
-
toBoolean
-
toDateTime
-
toInt
-
toDouble
-
toPrimitive
-
toQObject
-
toString
-
toObject
-
toVariant
-
setProperty
-
setProperty
-
setProperty
-
setProperty
-
setProperty
-
setProperty
-
setProperty
-
setProperty
-
setProperty
-
setProperty
-
clone
-