|
SRJRCFrames v0.1.296 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.schwarzrot.concurrent.ProgressPublisher
public class ProgressPublisher
counterpart of ProgressMonitor. The ProgressMonitor
is the visual
part of the "wait"-message, where as the ProgressPublisher
is the
stub used by the background tasks to update the "wait"-message.
Constructor Summary | |
---|---|
ProgressPublisher()
|
|
ProgressPublisher(RootWindowHandler pmg)
|
Method Summary | |
---|---|
protected void |
checkMonitor()
|
protected void |
checkMonitor(int minValue,
int maxValue)
|
protected void |
closeMonitor()
|
void |
configure(int minValue,
int maxValue)
initialize the range of the "wait"-message slider. |
void |
end()
closes the "wait"-message and releases blocked gui parts |
boolean |
isActive()
returns true if already a "wait"-message is active. |
void |
publishProgress(int progress,
String item)
change the slider of "wait"-message. |
protected void |
setLimits(int minValue,
int maxValue)
|
protected void |
setProgress(int progress,
String item)
|
void |
start()
popup the "wait"-message, that blocks related gui-parts |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProgressPublisher()
public ProgressPublisher(RootWindowHandler pmg)
Method Detail |
---|
public void configure(int minValue, int maxValue)
minValue
- where to startmaxValue
- last steppublic void end()
public final boolean isActive()
public void publishProgress(int progress, String item)
configure
.
progress
- number of completed stepsitem
- message to identify the current steppublic void start()
protected void checkMonitor()
protected void checkMonitor(int minValue, int maxValue)
protected void closeMonitor()
protected void setLimits(int minValue, int maxValue)
protected void setProgress(int progress, String item)
|
SRJRCFrames v0.1.296 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |