java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.qml.QJSValue
- All Implemented Interfaces:
QtObjectInterface,Cloneable
Acts as a container for Qt/JavaScript data types
Java wrapper for Qt class QJSValue
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumJava wrapper for Qt enum QJSValue::ErrorTypestatic enumJava wrapper for Qt enum QJSValue::ObjectConversionBehaviorstatic enumJava wrapper for Qt enum QJSValue::SpecialValueNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor -
Constructor Summary
ConstructorsModifierConstructorDescriptionQJSValue()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(QJSManagedValue value) QJSValue(QJSPrimitiveValue value) QJSValue(QJSValue.SpecialValue value) protectedConstructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QJSValuecall()Overloaded function forcall(java.util.Collection)withargs = java.util.Collections.emptyList().final QJSValuecall(Collection<QJSValue> args) final QJSValueOverloaded function forcallAsConstructor(java.util.Collection)withargs = java.util.Collections.emptyList().final QJSValuecallAsConstructor(Collection<QJSValue> args) final QJSValuecallWithInstance(QJSValue instance) Overloaded function forcallWithInstance(io.qt.qml.QJSValue, java.util.Collection)withargs = java.util.Collections.emptyList().final QJSValuecallWithInstance(QJSValue instance, Collection<QJSValue> args) clone()final booleandeleteProperty(String name) final booleanfinal QJSValue.ErrorTypefinal booleanhasOwnProperty(String name) final booleanhasProperty(String name) final booleanisArray()final booleanfinal booleanfinal booleanisDate()final booleanisError()final booleanisNull()final booleanisNumber()final booleanisObject()final booleanfinal booleanfinal booleanisRegExp()final booleanisString()final booleanfinal booleanisUrl()final QJSValueproperty(int arrayIndex) final QJSValuefinal QJSValuevoidreadFrom(QDataStream arg__1) final voidsetProperty(int arrayIndex, boolean value) final voidsetProperty(int arrayIndex, double value) final voidsetProperty(int arrayIndex, int value) final voidsetProperty(int arrayIndex, QJSValue value) final voidsetProperty(int arrayIndex, QJSValue.SpecialValue value) final voidsetProperty(int arrayIndex, String value) final voidsetProperty(String name, boolean value) final voidsetProperty(String name, double value) final voidsetProperty(String name, int value) final voidsetProperty(String name, QJSValue value) final voidsetProperty(String name, QJSValue.SpecialValue value) final voidsetProperty(String name, String value) final voidsetPrototype(QJSValue prototype) final booleanstrictlyEquals(QJSValue other) final booleanfinal QDateTimefinal doubletoDouble()final inttoInt()final ObjecttoObject()final QJSPrimitiveValuefinal QObjectfinal StringtoString()final ObjecttoVariant(QJSValue.ObjectConversionBehavior behavior) voidwriteTo(QDataStream arg__1) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QJSValue
-
QJSValue
-
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
-
deleteProperty
-
equals
-
errorType
-
hasOwnProperty
-
hasProperty
-
isArray
-
isBoolean
-
isCallable
-
isDate
-
isError
-
isNull
-
isNumber
-
isObject
-
isQMetaObject
-
isQObject
-
isRegExp
-
isString
-
isUndefined
-
isUrl
-
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
-