Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jempeg.empeg.emplode.dialog
Class ProgressBarUpgradeListener  view ProgressBarUpgradeListener download ProgressBarUpgradeListener.java

java.lang.Object
  extended byorg.jempeg.empeg.emplode.dialog.ProgressBarUpgradeListener
All Implemented Interfaces:
org.jempeg.empeg.protocol.UpgradeListenerIfc

public class ProgressBarUpgradeListener
extends java.lang.Object
implements org.jempeg.empeg.protocol.UpgradeListenerIfc

An implementation of UpgradeListener that updates a progress bar with status.

Version:
$Revision: 1.1 $

Field Summary
private  javax.swing.JProgressBar myProgressBar
           
 
Constructor Summary
ProgressBarUpgradeListener(javax.swing.JProgressBar _progressBar)
           
 
Method Summary
 void showError(int _section, int _error)
           
 void showStatus(int _section, int _operation, int _current, int _maximum)
           
 void textLoaded(java.lang.String _info, java.lang.String _what, java.lang.String _release, java.lang.String _version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myProgressBar

private javax.swing.JProgressBar myProgressBar
Constructor Detail

ProgressBarUpgradeListener

public ProgressBarUpgradeListener(javax.swing.JProgressBar _progressBar)
Method Detail

textLoaded

public void textLoaded(java.lang.String _info,
                       java.lang.String _what,
                       java.lang.String _release,
                       java.lang.String _version)
Specified by:
textLoaded in interface org.jempeg.empeg.protocol.UpgradeListenerIfc

showStatus

public void showStatus(int _section,
                       int _operation,
                       int _current,
                       int _maximum)
Specified by:
showStatus in interface org.jempeg.empeg.protocol.UpgradeListenerIfc

showError

public void showError(int _section,
                      int _error)
Specified by:
showError in interface org.jempeg.empeg.protocol.UpgradeListenerIfc