SwingWorker

php\swing\SwingWorker

abstract class

Methods


doInBackground()

abstract

protected

Returns:mixed
get($timeout = -1)

throws php\concurrent\TimeoutException

throws php\lang\InterruptedException

Parameters:
  • $timeoutint
Returns:

mixed

getProgress()
Returns:int
setProgress($val)

protected

Parameters:
  • $valint
publish($values)

protected

Parameters:
  • $valuesarray
process($values)

protected

Parameters:
  • $valuesarray
isDone()
Returns:bool
isCanceled()
Returns:bool
getState()
Returns:string PENDING, STARTED, DONE
cancel($mayInterruptIfRunning)
Parameters:
  • $mayInterruptIfRunningbool
run()
execute()