java.lang.Object
io.qt.internal.QtJambiObject
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
-
Constructor Summary
Constructors Modifier Constructor Description Range()
protected
Range(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QPageRanges.Range
clone()
int
compareTo(QPageRanges.Range other)
boolean
contains(int pageNumber)
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
from()
The lower endpoint of the rangeint
hashCode()
void
setFrom(int from)
The lower endpoint of the rangevoid
setTo(int to)
The upper endpoint of the rangeint
to()
The upper endpoint of the range
-
Constructor Details
-
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 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<QPageRanges.Range>
-
hashCode
-
clone
-