mk.fsgrep.util
Class GuiProgressBar

java.lang.Object
  extended by mk.fsgrep.util.GuiProgressBar
All Implemented Interfaces:
ProgressBar

public class GuiProgressBar
extends java.lang.Object
implements ProgressBar

Draws a text-based progress bar (percentage completion).

Author:
Murali Krishnan

Constructor Summary
GuiProgressBar(javax.swing.JProgressBar pBar)
           
 
Method Summary
 void finish()
           
protected  javax.swing.JProgressBar getBar()
           
 void initialize(int total)
           
 void update()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuiProgressBar

public GuiProgressBar(javax.swing.JProgressBar pBar)
Method Detail

getBar

protected javax.swing.JProgressBar getBar()

update

public void update()
Specified by:
update in interface ProgressBar

finish

public void finish()
Specified by:
finish in interface ProgressBar

initialize

public void initialize(int total)
Specified by:
initialize in interface ProgressBar


Copyright © 2009. All Rights Reserved.