|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProgressReporter
Interface for classes which report progress.
Method Summary | |
---|---|
void |
close()
Close the progress display. |
int |
getCurrentBarValue()
Get the current bar value. |
int |
getMaximumBarValue()
Get the maximum bar value. |
boolean |
isCancelled()
See if progress display cancelled. |
void |
makeVisible(boolean visible)
Make the dialog visible or invisble. |
void |
setIndeterminate(boolean isIndeterminate)
Set tbe progress bar determinate/indeterminate state. |
void |
setLabelColor(java.awt.Color color)
Set the progress label text color. |
void |
setMaximumBarValue(int maxBar)
Set maximum bar value. |
void |
setStartupTime(long startupTime)
Set the startup time. |
void |
setTitle(java.lang.String title)
Set the title. |
void |
updateProgress(int barValue)
Update progress display. |
void |
updateProgress(int barValue,
java.lang.String newLabel)
Update progress display. |
void |
updateProgress(java.lang.String newLabel)
Update progress display. |
Method Detail |
---|
boolean isCancelled()
void setStartupTime(long startupTime)
startupTime
- The startup time in milliseconds. void updateProgress(int barValue, java.lang.String newLabel)
barValue
- New value for progress bar.
If negative, the current value remains unchanged.newLabel
- New label text. If null, the current
label text is unchanged. void updateProgress(int barValue)
barValue
- New value for progress bar. void updateProgress(java.lang.String newLabel)
newLabel
- New label text. If null, the current
label text is unchanged. void setTitle(java.lang.String title)
title
- The title. void setLabelColor(java.awt.Color color)
color
- Text color for progress label. void setMaximumBarValue(int maxBar)
maxBar
- The new maximum bar value. int getCurrentBarValue()
int getMaximumBarValue()
void setIndeterminate(boolean isIndeterminate)
isIndeterminate
- true if indeterminate, false otherwise. void makeVisible(boolean visible)
visible
- true to show dialog, false to hide. void close()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |