com.sun.electric.tool.user.dialogs
Class Progress

java.lang.Object
  extended by com.sun.electric.tool.user.dialogs.Progress

public class Progress
extends java.lang.Object

This class displays a progress dialog.


Constructor Summary
Progress(java.lang.String title)
          The constructor displays the progress dialog.
 
Method Summary
 void close()
          Method to terminate the progress dialog.
 java.lang.String getNote()
          Method to return the text message in the progress dialog.
 int getProgress()
          Method to return the progress amount.
 void setNote(java.lang.String note)
          Method to set a text message in the progress dialog.
 void setProgress(int progress)
          Method to set the progress amount.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Progress

public Progress(java.lang.String title)
The constructor displays the progress dialog.

Parameters:
title - the title of the dialog.
Method Detail

close

public void close()
Method to terminate the progress dialog.


setProgress

public void setProgress(int progress)
Method to set the progress amount.

Parameters:
progress - the amount of progress (from 0 to 100);

getProgress

public int getProgress()
Method to return the progress amount.

Returns:
the amount of progress (from 0 to 100);

setNote

public void setNote(java.lang.String note)
Method to set a text message in the progress dialog.

Parameters:
note - the message to display.

getNote

public java.lang.String getNote()
Method to return the text message in the progress dialog.

Returns:
the message currently being displayed.