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
-
Constructor Summary
ConstructorDescriptionRange()
SeeQPageRanges::Range::
Range() Range
(int from, int to) SeeQPageRanges::Range::
Range{int, int} Range
(QPageRanges.Range other) SeeQPageRanges::Range::
Range(QPageRanges::Range) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.int
compareTo
(QPageRanges.Range other) final boolean
contains
(int pageNumber) final boolean
equals
(QPageRanges.Range rhs) Seeoperator==(QPageRanges::Range,
QPageRanges::Range) boolean
Seeoperator==(QPageRanges::Range,
QPageRanges::Range) final int
from()
The lower endpoint of the rangeint
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() -
Range
See
QPageRanges::Range::
Range(QPageRanges::Range) -
Range
public Range(int from, int to) See
QPageRanges::Range::
Range{int, int}
-
-
Method Details
-
contains
-
equals
See
operator==(QPageRanges::Range,
QPageRanges::Range) -
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.
See
QPageRanges::Range::
Range(QPageRanges::Range)
-