java.lang.Object
io.qt.QtObject
io.qt.gui.QAbstractTextDocumentLayout.Selection
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Enclosing class:
QAbstractTextDocumentLayout
QAbstractTextDocumentLayout::Selection class is a convenience class defining the parameters of a selection
Java wrapper for Qt class QAbstractTextDocumentLayout::Selection
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final QTextCursor
cursor()
The selection's cursorfinal boolean
Seeoperator==(QAbstractTextDocumentLayout::Selection,
QAbstractTextDocumentLayout::Selection) boolean
Seeoperator==(QAbstractTextDocumentLayout::Selection,
QAbstractTextDocumentLayout::Selection) final QTextCharFormat
format()
The format of the selectionint
hashCode()
Returns the objects's hash code computed byqHash(QAbstractTextDocumentLayout::Selection)
.final void
setCursor
(QTextCursor cursor) The selection's cursorfinal void
setFormat
(QTextCharFormat format) The format of the selectionMethods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
Selection
public Selection()See
QAbstractTextDocumentLayout::Selection::
Selection()
-
-
Method Details
-
equals
See
operator==(QAbstractTextDocumentLayout::Selection,
QAbstractTextDocumentLayout::Selection) -
setCursor
The selection's cursor
-
cursor
The selection's cursor
-
setFormat
The format of the selection
-
format
The format of the selection
-
equals
See
operator==(QAbstractTextDocumentLayout::Selection,
QAbstractTextDocumentLayout::Selection) -
hashCode
Returns the objects's hash code computed byqHash(QAbstractTextDocumentLayout::Selection)
. -
clone
Creates and returns a copy of this object.
-