java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.qml.QJSPrimitiveValue
- All Implemented Interfaces:
QtObjectInterface,Cloneable,Comparable<QJSPrimitiveValue>
Operates on primitive types in JavaScript semantics
Java wrapper for Qt class QJSPrimitiveValue
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor -
Constructor Summary
ConstructorsModifierConstructorDescriptionQJSPrimitiveValue(boolean value) QJSPrimitiveValue(double value) QJSPrimitiveValue(int value) protectedConstructor for internal use only.QJSPrimitiveValue(Object variant) QJSPrimitiveValue(String string) -
Method Summary
Modifier and TypeMethodDescriptionfinal QJSPrimitiveValueadded(QJSPrimitiveValue rhs) clone()intcompareTo(QJSPrimitiveValue other) final QJSPrimitiveValuedecremented(int arg__1) final QJSPrimitiveValuedivided(QJSPrimitiveValue rhs) final booleanequals(QJSPrimitiveValue other) booleanUsed to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.inthashCode()final QJSPrimitiveValueincremented(int arg__1) final QJSPrimitiveValuemodulo(QJSPrimitiveValue rhs) final QJSPrimitiveValuefinal booleanstrictlyEquals(QJSPrimitiveValue other) final QJSPrimitiveValuefinal booleanfinal doubletoDouble()final intfinal StringtoString()final Objectfinal QJSPrimitiveValue.Typetype()Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QJSPrimitiveValue
public QJSPrimitiveValue() -
QJSPrimitiveValue
-
QJSPrimitiveValue
public QJSPrimitiveValue(boolean value) -
QJSPrimitiveValue
-
QJSPrimitiveValue
public QJSPrimitiveValue(double value) -
QJSPrimitiveValue
public QJSPrimitiveValue(int value) -
QJSPrimitiveValue
Constructor for internal use only.- Parameters:
p- expected to benull.
-
-
Method Details
-
equals
-
modulo
-
multiplied
-
added
-
incremented
-
substracted
-
decremented
-
divided
-
strictlyEquals
-
toBoolean
-
toDouble
-
toInteger
-
toString
-
toVariant
-
type
-
equals
Description copied from class:io.qt.QtObjectUsed to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
compareTo
- Specified by:
compareToin interfaceComparable<QJSPrimitiveValue>
-
hashCode
-
clone
-