API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing. ProgressMonitor View Source
Author(s)
James Gosling
Lynn Monsanto (accessibility)
Since
Version
1.37 04/12/06
Serial
Hierarchy
 Object
      ProgressMonitor
Implements
 Accessible
Subclasses
Description
public class ProgressMonitor
  A class to monitor the progress of some operation.
Constructors
public ProgressMonitor (Component parentComponent, Object message, String note, int min, int max)
  Constructs a graphic object that shows progress, typically by filling in a rectangular bar as the process nears completion.
private ProgressMonitor (Component parentComponent, Object message, String note, int min, int max, ProgressMonitor group)
Methods
Hide/Show inherited methods
public void close ()
  Indicate that the operation is complete.
public AccessibleContext getAccessibleContext () [Specified in Accessible]
  Gets the AccessibleContext for the ProgressMonitor
public int getMaximum ()
  Returns the maximum value -- the higher end of the progress value.
public int getMillisToDecideToPopup ()
  Returns the amount of time this object waits before deciding whether or not to popup a progress monitor.
public int getMillisToPopup ()
  Returns the amount of time it will take for the popup to appear.
public int getMinimum ()
  Returns the minimum value -- the lower end of the progress value.
public String getNote ()
  Specifies the additional note that is displayed along with the progress message.
public boolean isCanceled ()
Returns true if the user hits the Cancel button in the progress dialog.
public void setMaximum (int m)
  Specifies the maximum value.
public void setMillisToDecideToPopup (int millisToDecideToPopup)
  Specifies the amount of time to wait before deciding whether or not to popup a progress monitor.
public void setMillisToPopup (int millisToPopup)
  Specifies the amount of time it will take for the popup to appear.
public void setMinimum (int m)
  Specifies the minimum value.
public void setNote (String note)
  Specifies the additional note that is displayed along with the progress message.
public void setProgress (int nv)
  Indicate the progress of the operation being monitored.
Fields
Hide/Show inherited fields
protected AccessibleContext accessibleContext
  The AccessibleContext for the ProgressMonitor
Nested Classes
  ProgressMonitor.AccessibleProgressMonitor
AccessibleProgressMonitor implements accessibility support for the ProgressMonitor class.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar