br.usp.iterador.task
Class LongTaskManager

java.lang.Object
  extended by br.usp.iterador.task.LongTaskManager

public class LongTaskManager
extends java.lang.Object

Window for long tasks.

Author:
Guilherme Silveira

Constructor Summary
LongTaskManager(WindowManager windows, LongTask task, SimpleIteratorFrame iteratorFrame)
           
 
Method Summary
 PulgaFrame createFrame()
           
 void dispose()
          Closes the window and stops the frame
 boolean isTaskAlive()
           
 void start()
          Starts the task
 void updatePercentage()
          Updates the current percentage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LongTaskManager

public LongTaskManager(WindowManager windows,
                       LongTask task,
                       SimpleIteratorFrame iteratorFrame)
Method Detail

createFrame

public PulgaFrame createFrame()

dispose

public void dispose()
Closes the window and stops the frame

See Also:
Window.dispose()

start

public void start()
Starts the task


updatePercentage

public void updatePercentage()
Updates the current percentage

Parameters:
percentageComplete -

isTaskAlive

public boolean isTaskAlive()


Copyright 2004-2004-2006 IME - USP. All Rights Reserved.