fi.helsinki.dacopan.ui
Class ProgressIndicator.NoopIndicator

java.lang.Object
  extended by fi.helsinki.dacopan.ui.ProgressIndicator.NoopIndicator
All Implemented Interfaces:
ProgressIndicator
Enclosing interface:
ProgressIndicator

public static final class ProgressIndicator.NoopIndicator
extends java.lang.Object
implements ProgressIndicator

A no-op dummy indicator.


Nested Class Summary
 
Nested classes/interfaces inherited from interface fi.helsinki.dacopan.ui.ProgressIndicator
ProgressIndicator.NoopIndicator
 
Constructor Summary
ProgressIndicator.NoopIndicator()
           
 
Method Summary
 void close()
          Closes the indicator.
 void setMessage(java.lang.String message)
          Sets the message displayed in the indicator.
 void setProgress(float progress)
          Sets current progress.
 void setStep(float step)
          Sets the step that subsequent calls to ProgressIndicator.step() will use.
 void step()
          Steps forward for the amount specified with ProgressIndicator.setStep(float).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgressIndicator.NoopIndicator

public ProgressIndicator.NoopIndicator()
Method Detail

close

public void close()
Description copied from interface: ProgressIndicator
Closes the indicator. This is automatically done when progress reaches 100.

Specified by:
close in interface ProgressIndicator

setMessage

public void setMessage(java.lang.String message)
Description copied from interface: ProgressIndicator
Sets the message displayed in the indicator.

Specified by:
setMessage in interface ProgressIndicator

setProgress

public void setProgress(float progress)
Description copied from interface: ProgressIndicator
Sets current progress. Valid values are 0..100.

Specified by:
setProgress in interface ProgressIndicator

setStep

public void setStep(float step)
Description copied from interface: ProgressIndicator
Sets the step that subsequent calls to ProgressIndicator.step() will use.

Specified by:
setStep in interface ProgressIndicator

step

public void step()
Description copied from interface: ProgressIndicator
Steps forward for the amount specified with ProgressIndicator.setStep(float).

Specified by:
step in interface ProgressIndicator


© Dacopan2 team, 2005-