vr.system.progress
Class VisualStdOutProgress

java.lang.Object
  extended by rseslib.system.progress.AbstractProgress
      extended by vr.system.progress.VisualStdOutProgress
All Implemented Interfaces:
rseslib.system.progress.Progress

public class VisualStdOutProgress
extends rseslib.system.progress.AbstractProgress

Wyswietla informacje o postepie w nowym oknie.

Author:
Michal Manski

Field Summary
(package private)  int m_nCurrentPoint
          Aktualny krok tego "progressu".
(package private)  long m_nStartTime
          Czas kiedy zaczelo siê liczenie postepu.
(package private)  javax.swing.JProgressBar progressBar
          Pasek postêpu.
(package private)  javax.swing.JTextArea textArea
          "TextArea" do wyswietlania informacji.
 
Fields inherited from class rseslib.system.progress.AbstractProgress
m_Name, m_nEndPoint
 
Constructor Summary
VisualStdOutProgress()
           
 
Method Summary
 void set(java.lang.String name, int noOfSteps)
          Ustawia laczna liczbe krokow do wykonania.
 void step()
          Wykonuje pojedynczy krok.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_nCurrentPoint

int m_nCurrentPoint
Aktualny krok tego "progressu".


m_nStartTime

long m_nStartTime
Czas kiedy zaczelo siê liczenie postepu.


progressBar

javax.swing.JProgressBar progressBar
Pasek postêpu.


textArea

javax.swing.JTextArea textArea
"TextArea" do wyswietlania informacji.

Constructor Detail

VisualStdOutProgress

public VisualStdOutProgress()
Method Detail

set

public void set(java.lang.String name,
                int noOfSteps)
Ustawia laczna liczbe krokow do wykonania.

Specified by:
set in interface rseslib.system.progress.Progress
Overrides:
set in class rseslib.system.progress.AbstractProgress
Parameters:
name - Nazwa tego "progressu".
noOfSteps - Liczba krokow.

step

public void step()
          throws java.lang.InterruptedException
Wykonuje pojedynczy krok.

Throws:
java.lang.InterruptedException