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 class QTextLayout::FormatRange
-
Constructor Summary
ConstructorsConstructorDescriptionSeeQTextLayout::FormatRange::FormatRange() FormatRange(int start, int length, QTextCharFormat format) SeeQTextLayout::FormatRange::FormatRange{int, int, QTextCharFormat} SeeQTextLayout::FormatRange::FormatRange(QTextLayout::FormatRange) -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates and returns a copy of this object.final booleanbooleanfinal QTextCharFormatformat()inthashCode()Returns the objects's hash code computed byqHash(QTextLayout::FormatRange).final intlength()final voidsetFormat(QTextCharFormat format) final voidsetLength(int length) final voidsetStart(int start) final intstart()Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
FormatRange
public FormatRange()See
QTextLayout::FormatRange::FormatRange() -
FormatRange
See
QTextLayout::FormatRange::FormatRange(QTextLayout::FormatRange) - Parameters:
other-
-
FormatRange
See
QTextLayout::FormatRange::FormatRange{int, int, QTextCharFormat} - Parameters:
start-length-format-
-
-
Method Details
-
equals
- Parameters:
rhs-- Returns:
-
setFormat
- Parameters:
format-
-
format
- Returns:
-
setLength
- Parameters:
length-
-
length
- Returns:
-
setStart
- Parameters:
start-
-
start
- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QTextLayout::FormatRange). -
clone
Creates and returns a copy of this object.
See
QTextLayout::FormatRange::FormatRange(QTextLayout::FormatRange)
-