public class SwingController extends Controller implements Executor, Runnable
Controller
,
it provides access to Worker's Component
.defaultInstance, INITIAL_DELAY
Constructor and Description |
---|
SwingController(ProgressUIWorker comp) |
Modifier and Type | Method and Description |
---|---|
protected ProgressUIWorkerWithModel |
createWorker() |
void |
execute(Runnable r) |
static SwingController |
getDefault() |
protected Executor |
getEventExecutor() |
protected Timer |
getTimer() |
Component |
getVisualComponent() |
protected void |
resetTimer(int delay,
boolean restart) |
void |
run() |
protected void |
runEvents() |
getModel, getProgressUIWorker, runNow
public SwingController(ProgressUIWorker comp)
protected Executor getEventExecutor()
getEventExecutor
in class Controller
protected void runEvents()
runEvents
in class Controller
protected void resetTimer(int delay, boolean restart)
resetTimer
in class Controller
public static SwingController getDefault()
public Component getVisualComponent()
protected ProgressUIWorkerWithModel createWorker()
createWorker
in class Controller
protected Timer getTimer()