org.xnap.gui.component
Class TextProgressMonitor

java.lang.Object
  extended by org.xnap.gui.component.ProgressMonitorAdapter
      extended by org.xnap.gui.component.TextProgressMonitor
All Implemented Interfaces:
ProgressMonitor

public class TextProgressMonitor
extends ProgressMonitorAdapter

Provides a text based progress monitor.


Constructor Summary
TextProgressMonitor(javax.swing.JLabel label)
           
 
Method Summary
 void done()
          Does nothing.
 boolean isCancelled()
          Returns false.
 void setCancelEnabled(boolean enabled)
          Does nothing.
 void setMaximum(int max)
          Does nothing.
 void setMinimum(int min)
          Does nothing.
 void setPercent(double percent)
          Does nothing.
 void setText(java.lang.String text)
          Does nothing.
 void setValue(int value)
          Does nothing.
 
Methods inherited from class org.xnap.gui.component.ProgressMonitorAdapter
setThread
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextProgressMonitor

public TextProgressMonitor(javax.swing.JLabel label)
Method Detail

done

public void done()
Does nothing.

Specified by:
done in interface ProgressMonitor
Overrides:
done in class ProgressMonitorAdapter

isCancelled

public boolean isCancelled()
Returns false.

Specified by:
isCancelled in interface ProgressMonitor
Overrides:
isCancelled in class ProgressMonitorAdapter

setCancelEnabled

public void setCancelEnabled(boolean enabled)
Does nothing.

Specified by:
setCancelEnabled in interface ProgressMonitor
Overrides:
setCancelEnabled in class ProgressMonitorAdapter

setMaximum

public void setMaximum(int max)
Description copied from class: ProgressMonitorAdapter
Does nothing.

Specified by:
setMaximum in interface ProgressMonitor
Overrides:
setMaximum in class ProgressMonitorAdapter

setMinimum

public void setMinimum(int min)
Description copied from class: ProgressMonitorAdapter
Does nothing.

Specified by:
setMinimum in interface ProgressMonitor
Overrides:
setMinimum in class ProgressMonitorAdapter

setPercent

public void setPercent(double percent)
Description copied from class: ProgressMonitorAdapter
Does nothing.

Specified by:
setPercent in interface ProgressMonitor
Overrides:
setPercent in class ProgressMonitorAdapter

setValue

public void setValue(int value)
Description copied from class: ProgressMonitorAdapter
Does nothing.

Specified by:
setValue in interface ProgressMonitor
Overrides:
setValue in class ProgressMonitorAdapter
Parameters:
value - min <= value <= max

setText

public void setText(java.lang.String text)
Description copied from class: ProgressMonitorAdapter
Does nothing.

Specified by:
setText in interface ProgressMonitor
Overrides:
setText in class ProgressMonitorAdapter


Copyright © 2001-2005 XNap Team. All Rights Reserved.