java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QFutureInterfaceBase
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Direct Known Subclasses:
QFutureInterface
,QVoidFutureInterface
public class QFutureInterfaceBase extends QtObject implements Cloneable
Java wrapper for Qt class QFutureInterfaceBase
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QFutureInterfaceBase.State
Java wrapper for Qt enum QFutureInterfaceBase::State -
Constructor Summary
Constructors Modifier Constructor Description QFutureInterfaceBase()
Overloaded constructor forQFutureInterfaceBase(io.qt.core.QFutureInterfaceBase.State)
withinitialState = io.qt.core.QFutureInterfaceBase.State.NoState
.QFutureInterfaceBase(QFutureInterfaceBase other)
QFutureInterfaceBase(QFutureInterfaceBase.State initialState)
protected
QFutureInterfaceBase(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description void
cancel()
QFutureInterfaceBase
clone()
protected boolean
derefT()
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
expectedResultCount()
int
hashCode()
boolean
isCanceled()
boolean
isFinished()
boolean
isPaused()
boolean
isProgressUpdateNeeded()
boolean
isResultReadyAt(int index)
boolean
isRunning()
boolean
isStarted()
boolean
isThrottled()
QMutex
mutex()
QMutex
mutex(int arg__1)
int
progressMaximum()
int
progressMinimum()
String
progressText()
int
progressValue()
boolean
queryState(QFutureInterfaceBase.State state)
protected boolean
refT()
void
reportCanceled()
void
reportException(Throwable e)
void
reportFinished()
void
reportResultsReady(int beginIndex, int endIndex)
void
reportStarted()
int
resultCount()
protected void
setContinuation(Consumer<QFutureInterfaceBase> continuation)
void
setExpectedResultCount(int resultCount)
void
setFilterMode(boolean enable)
void
setPaused(boolean paused)
void
setProgressRange(int minimum, int maximum)
void
setProgressValue(int progressValue)
void
setProgressValueAndText(int progressValue, String progressText)
void
setRunnable(QRunnable runnable)
void
setThreadPool(QThreadPool pool)
void
setThrottled(boolean enable)
void
togglePaused()
void
waitForFinished()
boolean
waitForNextResult()
void
waitForResult(int resultIndex)
void
waitForResume()
-
Constructor Details
-
QFutureInterfaceBase
public QFutureInterfaceBase()Overloaded constructor for
QFutureInterfaceBase(io.qt.core.QFutureInterfaceBase.State)
withinitialState = io.qt.core.QFutureInterfaceBase.State.NoState
. -
QFutureInterfaceBase
-
QFutureInterfaceBase
-
QFutureInterfaceBase
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
cancel
-
derefT
-
expectedResultCount
-
isCanceled
-
isFinished
-
isPaused
-
isProgressUpdateNeeded
-
isResultReadyAt
-
isRunning
-
isStarted
-
isThrottled
-
mutex
-
mutex
-
progressMaximum
-
progressMinimum
-
progressText
-
progressValue
-
queryState
-
refT
-
reportCanceled
-
reportFinished
-
reportResultsReady
-
reportStarted
-
resultCount
-
setExpectedResultCount
-
setFilterMode
-
setPaused
-
setProgressRange
-
setProgressValue
-
setProgressValueAndText
-
setRunnable
-
setThreadPool
-
setThrottled
-
togglePaused
-
waitForFinished
-
waitForNextResult
-
waitForResult
-
waitForResume
-
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. -
hashCode
-
reportException
-
setContinuation
-
clone
-