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's class QPageRanges::Range
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
int
compareTo
(QPageRanges.Range other) final boolean
contains
(int pageNumber) boolean
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 int
from()
The lower endpoint of the rangeint
hashCode()
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() -
Range
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
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
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. -
compareTo
- Specified by:
compareTo
in interfaceComparable<QPageRanges.Range>
-
hashCode
-
clone
-