java.lang.Object
io.qt.QtObject
io.qt.gui.QTextLayout.FormatRange
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Enclosing class:
QTextLayout
QTextLayout::FormatRange structure is used to apply extra formatting information for a specified area in the text layout's content
Java wrapper for Qt's class QTextLayout::FormatRange
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
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.final QTextCharFormat
format()
final QTextCharFormat
Kotlin property getter.final int
Kotlin property getter.final int
getStart()
Kotlin property getter.int
hashCode()
final int
length()
final void
setFormat
(QTextCharFormat format) final void
setLength
(int length) final void
setStart
(int start) final int
start()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
FormatRange
public FormatRange() -
FormatRange
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
setFormat
-
getFormat
Kotlin property getter. In Java use
format()
instead. -
format
-
setLength
-
getLength
Kotlin property getter. In Java use
length()
instead. -
length
-
setStart
-
getStart
Kotlin property getter. In Java use
start()
instead. -
start
-
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
-
clone
-