unbbayes.util.longtask
Class LongTaskProgressChangedEvent
java.lang.Object
unbbayes.util.longtask.LongTaskProgressChangedEvent
public class LongTaskProgressChangedEvent
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
msg
public String msg
percentageDone
public int percentageDone
LongTaskProgressChangedEvent
public LongTaskProgressChangedEvent(String msg,
int percentageDone)
LongTaskProgressChangedEvent
public LongTaskProgressChangedEvent(int percentageDone)
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.