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 classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQJSPrimitiveValue
(boolean value) QJSPrimitiveValue
(double value) QJSPrimitiveValue
(int value) protected
Constructor for internal use only.QJSPrimitiveValue
(Object variant) QJSPrimitiveValue
(String string) -
Method Summary
Modifier and TypeMethodDescriptionfinal QJSPrimitiveValue
added
(QJSPrimitiveValue rhs) clone()
int
compareTo
(QJSPrimitiveValue other) final QJSPrimitiveValue
decremented
(int arg__1) final QJSPrimitiveValue
divided
(QJSPrimitiveValue rhs) final boolean
equals
(QJSPrimitiveValue other) boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
final QJSPrimitiveValue
incremented
(int arg__1) final QJSPrimitiveValue
modulo
(QJSPrimitiveValue rhs) final QJSPrimitiveValue
final boolean
strictlyEquals
(QJSPrimitiveValue other) final QJSPrimitiveValue
final boolean
final double
toDouble()
final int
final String
toString()
final Object
final QJSPrimitiveValue.Type
type()
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:QtObject
Used 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:
compareTo
in interfaceComparable<QJSPrimitiveValue>
-
hashCode
-
clone
-