SwingWorker¶
-
php\swing\SwingWorker abstract class
Methods
doInBackground()¶abstract
protected
Результат: mixed
get($timeout = -1)¶throws php\concurrent\TimeoutException
throws php\lang\InterruptedException
Параметры:
- $timeout –
intРезультат:
mixed
getProgress()¶
Результат: int
setProgress($val)¶protected
Параметры:
- $val –
int
publish($values)¶protected
Параметры:
- $values –
array
process($values)¶protected
Параметры:
- $values –
array
isDone()¶
Результат: bool
isCanceled()¶
Результат: bool
getState()¶
Результат: stringPENDING, STARTED, DONE
cancel($mayInterruptIfRunning)¶
Параметры:
- $mayInterruptIfRunning –
bool
run()¶
execute()¶