java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.gui.QTextLength
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Encapsulates the different types of length used in a QTextDocument
Java wrapper for Qt's class QTextLength
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQTextLength
(QTextLength.Type type, double value) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.int
hashCode()
final double
rawValue()
void
readFrom
(QDataStream arg__1) toString()
final QTextLength.Type
type()
final double
value
(double maximumLength) void
writeTo
(QDataStream arg__1) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QTextLength
public QTextLength() -
QTextLength
-
QTextLength
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
writeTo
-
readFrom
-
rawValue
-
type
-
value
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-