Groovy Documentation

griffon.util
[Java] Interface UIThreadWorker

java.util.concurrent.Future
  java.lang.Runnable
      griffon.util.UIThreadWorker
All Superinterfaces:
Future, Runnable

public interface UIThreadWorker
extends RunnableFuture, Observable

Authors:
Andres Almiray


Nested Class Summary
enum UIThreadWorker.StateValue

 
Method Summary
void execute()

int getProgress()

UIThreadWorker.StateValue getState()

UIThreadWorker valueOf(String name)

Returns the enum constant of this type with the specified name.

UIThreadWorker[] values()

Returns an array containing the constants of this enum type, in the order they are declared.

 
Methods inherited from interface Observable
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners
 
Methods inherited from interface RunnableFuture
run, get, get, cancel, isCancelled, isDone
 

Method Detail

execute

public void execute()


getProgress

public int getProgress()


getState

public UIThreadWorker.StateValue getState()


valueOf

UIThreadWorker valueOf(String name)
Returns the enum constant of this type with the specified name.


values

UIThreadWorker[] values()
Returns an array containing the constants of this enum type, in the order they are declared.


 

Groovy Documentation