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's class QAbstractTextDocumentLayout::Selection
-
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()
final QTextCursor
cursor()
The selection's cursorboolean
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()
The format of the selectionint
hashCode()
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() -
Selection
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
setCursor
The selection's cursor
-
cursor
The selection's cursor
-
setFormat
The format of the selection
-
format
The format of the selection
-
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
-