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
ConstructorDescriptionSeeQTextLayout::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 boolean
Seeoperator==(QTextLayout::FormatRange,
QTextLayout::FormatRange) boolean
Seeoperator==(QTextLayout::FormatRange,
QTextLayout::FormatRange) final QTextCharFormat
format()
int
hashCode()
Returns the objects's hash code computed byqHash(QTextLayout::FormatRange)
.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()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
See
operator==(QTextLayout::FormatRange,
QTextLayout::FormatRange) - Parameters:
rhs
-- Returns:
-
setFormat
- Parameters:
format
-
-
format
- Returns:
-
setLength
- Parameters:
length
-
-
length
- Returns:
-
setStart
- Parameters:
start
-
-
start
- Returns:
-
equals
See
operator==(QTextLayout::FormatRange,
QTextLayout::FormatRange) -
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)
-