java.lang.Object
io.qt.QtObject
io.qt.multimedia.QMediaTimeRange.Interval
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Enclosing class:
QMediaTimeRange
QMediaTimeRange::Interval class represents a time interval with integer precision
Java wrapper for Qt's class QMediaTimeRange::Interval
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
final boolean
contains
(long time) final long
end()
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.int
hashCode()
final boolean
isNormal()
final QMediaTimeRange.Interval
final long
start()
toString()
final QMediaTimeRange.Interval
translated
(long offset) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
Interval
public Interval() -
Interval
public Interval(long start, long end) -
Interval
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
contains
-
end
-
isNormal
-
normalized
-
start
-
translated
-
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
-
toString
-
clone
-