SwingWorker¶
-
php\swing\SwingWorker abstract class
Methods
doInBackground()¶abstract
protected
Returns: mixed
get($timeout = -1)¶throws php\concurrent\TimeoutException
throws php\lang\InterruptedException
Parameters:
- $timeout – int
Returns: mixed
getProgress()¶
Returns: int
setProgress($val)¶protected
Parameters:
- $val – int
publish($values)¶protected
Parameters:
- $values – array
process($values)¶protected
Parameters:
- $values – array
isDone()¶
Returns: bool
isCanceled()¶
Returns: bool
getState()¶
Returns: string PENDING, STARTED, DONE
cancel($mayInterruptIfRunning)¶
Parameters:
- $mayInterruptIfRunning – bool
run()¶
execute()¶