|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.proteios.core.SimpleProgressReporter
org.proteios.core.SimpleAbsoluteProgressReporter
public class SimpleAbsoluteProgressReporter
This is a simple implementation of the AbsoluteProgressReporter interface,
which simply remembers that last values.
| Constructor Summary | |
|---|---|
SimpleAbsoluteProgressReporter(ProgressReporter progress,
long total)
Create a new absolute progress reporter. |
|
| Method Summary | |
|---|---|
void |
displayAbsolute(long completed,
String message)
Display a progress message. |
long |
getCompleted()
Get completed number of ticks of the task. |
long |
getTotal()
Get the end point of the task. |
| Methods inherited from class org.proteios.core.SimpleProgressReporter |
|---|
append, display, getMessage, getPercent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.proteios.core.ProgressReporter |
|---|
append, display |
| Constructor Detail |
|---|
public SimpleAbsoluteProgressReporter(ProgressReporter progress,
long total)
progress - ProgressReporter An optional progress which is also notified about the progress.total - long The end point of the task.| Method Detail |
|---|
public void displayAbsolute(long completed,
String message)
displayAbsolute in interface AbsoluteProgressReportercompleted - long The completed number of ticks of the task.message - String A message, or null.public long getTotal()
public long getCompleted()
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||