java.lang.Object
io.qt.QtObject
io.qt.gui.QPageRanges.Range
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Comparable<QPageRanges.Range>
- Enclosing class:
QPageRanges
public static class QPageRanges.Range
extends QtObject
implements Comparable<QPageRanges.Range>, Cloneable
QPageRanges::Range struct holds the from and to endpoints of a range
Java wrapper for Qt class QPageRanges::Range
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.int
compareTo
(QPageRanges.Range other) final boolean
contains
(int pageNumber) boolean
Seeoperator==(QPageRanges::Range,
QPageRanges::Range) final int
from()
The lower endpoint of the rangefinal int
getFrom()
Kotlin property getter.final int
getTo()
Kotlin property getter.int
hashCode()
Returns the objects's hash code computed byqHash(QPageRanges::Range)
.final void
setFrom
(int from) The lower endpoint of the rangefinal void
setTo
(int to) The upper endpoint of the rangefinal int
to()
The upper endpoint of the rangeMethods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
Range
public Range()See
QPageRanges::Range::
Range()
-
-
Method Details
-
contains
-
setFrom
The lower endpoint of the range
-
from
The lower endpoint of the range
-
setTo
The upper endpoint of the range
-
to
The upper endpoint of the range
-
equals
See
operator==(QPageRanges::Range,
QPageRanges::Range) -
compareTo
- Specified by:
compareTo
in interfaceComparable<QPageRanges.Range>
-
hashCode
Returns the objects's hash code computed byqHash(QPageRanges::Range)
. -
clone
Creates and returns a copy of this object.
-
getFrom
Kotlin property getter. In Java use
from()
instead. -
getTo
Kotlin property getter. In Java use
to()
instead.
-