java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QTextBlock
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Comparable<QTextBlock>
,Iterable<QTextFragment>
public class QTextBlock extends QtObject implements Comparable<QTextBlock>, Cloneable, Iterable<QTextFragment>
Container for text fragments in a QTextDocument
Java wrapper for Qt class QTextBlock
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QTextBlock.iterator
QTextBlock::iterator class provides an iterator for reading the contents of a QTextBlock -
Constructor Summary
Constructors Modifier Constructor Description QTextBlock()
QTextBlock(QTextBlock o)
protected
QTextBlock(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
-
Constructor Details
-
QTextBlock
public QTextBlock() -
QTextBlock
-
QTextBlock
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
begin
-
blockFormat
-
blockFormatIndex
-
blockNumber
-
charFormat
-
charFormatIndex
-
clearLayout
-
contains
-
document
-
end
-
firstLineNumber
-
fragmentIndex
-
isValid
-
isVisible
-
layout
-
length
-
lineCount
-
next
-
position
-
previous
-
revision
-
setLineCount
-
setRevision
-
setUserData
-
setUserState
-
setVisible
-
text
-
textDirection
-
textFormats
-
textList
-
userData
-
userState
-
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. -
compareTo
- Specified by:
compareTo
in interfaceComparable<QTextBlock>
-
hashCode
-
iterator
- Specified by:
iterator
in interfaceIterable<QTextFragment>
-
clone
-