unbbayes.util.longtask
Class LongTaskProgressChangedEvent

java.lang.Object
  extended by unbbayes.util.longtask.LongTaskProgressChangedEvent

public class LongTaskProgressChangedEvent
extends Object


Field Summary
 String msg
           
 int percentageDone
           
 
Constructor Summary
LongTaskProgressChangedEvent(int percentageDone)
           
LongTaskProgressChangedEvent(String msg, int percentageDone)
           
 
Method Summary
 String getMsg()
           
 int getPercentageDone()
          Returns the percentage of the task completed.
 void setMsg(String msg)
           
 void setPercentageDone(int percentageDone)
          Sets the percentage of the task completed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

msg

public String msg

percentageDone

public int percentageDone
Constructor Detail

LongTaskProgressChangedEvent

public LongTaskProgressChangedEvent(String msg,
                                    int percentageDone)

LongTaskProgressChangedEvent

public LongTaskProgressChangedEvent(int percentageDone)
Method Detail

getMsg

public String getMsg()

setMsg

public void setMsg(String msg)

getPercentageDone

public int getPercentageDone()
Returns the percentage of the task completed.

Returns:
the percentage of the task completed. An integer from 0 to 10000.

setPercentageDone

public void setPercentageDone(int percentageDone)
Sets the percentage of the task completed.

Parameters:
percentageDone - the percentage of the task completed. It has to be an integer from 0 to 10000.


Copyright © 2001-2010 University of Brasilia - UnB. All Rights Reserved.