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()
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
-
format
-
setLength
-
length
-
setStart
-
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
-