java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QTextLength
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QTextLength extends QtObject implements Cloneable
Encapsulates the different types of length used in a QTextDocument
Java wrapper for Qt class QTextLength
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QTextLength.Type
Java wrapper for Qt enum QTextLength::Type -
Constructor Summary
Constructors Modifier Constructor Description QTextLength()
QTextLength(QTextLength.Type type, double value)
protected
QTextLength(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QTextLength
clone()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
double
rawValue()
void
readFrom(QDataStream arg__1)
String
toString()
QTextLength.Type
type()
double
value(double maximumLength)
void
writeTo(QDataStream arg__1)
-
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 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. -
hashCode
-
toString
-
clone
-