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()
Deprecated.Use isSuspending() or isSuspended() instead.boolean
isProgressUpdateNeeded()
boolean
isResultReadyAt(int index)
boolean
isRunning()
protected boolean
isRunningOrPending()
boolean
isStarted()
boolean
isSuspended()
boolean
isSuspending()
boolean
isThrottled()
boolean
isValid()
protected boolean
launchAsync()
int
loadState()
QMutex
mutex()
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()
void
reportSuspended()
protected void
reset()
int
resultCount()
protected void
runContinuation()
protected void
setContinuation(Consumer<QFutureInterfaceBase> continuation)
void
setExpectedResultCount(int resultCount)
void
setFilterMode(boolean enable)
protected void
setLaunchAsync(boolean value)
void
setPaused(boolean paused)
Deprecated.Use setSuspended() instead.void
setProgressRange(int minimum, int maximum)
void
setProgressValue(int progressValue)
void
setProgressValueAndText(int progressValue, String progressText)
void
setRunnable(QRunnable runnable)
void
setSuspended(boolean suspend)
void
setThreadPool(QThreadPool pool)
void
setThrottled(boolean enable)
void
suspendIfRequested()
void
swap(QFutureInterfaceBase other)
QThreadPool
threadPool()
void
togglePaused()
Deprecated.Use toggleSuspended() instead.void
toggleSuspended()
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
Deprecated.Use isSuspending() or isSuspended() instead. -
isProgressUpdateNeeded
-
isResultReadyAt
-
isRunning
-
isRunningOrPending
-
isStarted
-
isSuspended
-
isSuspending
-
isThrottled
-
isValid
-
launchAsync
-
loadState
-
mutex
-
progressMaximum
-
progressMinimum
-
progressText
-
progressValue
-
queryState
-
refT
-
reportCanceled
-
reportFinished
-
reportResultsReady
-
reportStarted
-
reportSuspended
-
reset
-
resultCount
-
runContinuation
-
setExpectedResultCount
-
setFilterMode
-
setLaunchAsync
-
setPaused
Deprecated.Use setSuspended() instead. -
setProgressRange
-
setProgressValue
-
setProgressValueAndText
-
setRunnable
-
setSuspended
-
setThreadPool
-
setThrottled
-
suspendIfRequested
-
swap
-
threadPool
-
togglePaused
Deprecated.Use toggleSuspended() instead. -
toggleSuspended
-
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
-