Java javax.swing ProgressMonitor fields, constructors, methods, implement or subclass

Example usage for Java javax.swing ProgressMonitor fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.swing ProgressMonitor.

The text is from its open source code.

Subclass

javax.swing.ProgressMonitor has subclasses.
Click this link to see all its subclasses.

Constructor

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.

Method

voidclose()
Indicate that the operation is complete.
intgetMaximum()
Returns the maximum value -- the higher end of the progress value.
intgetMillisToDecideToPopup()
Returns the amount of time this object waits before deciding whether or not to popup a progress monitor.
intgetMillisToPopup()
Returns the amount of time it will take for the popup to appear.
intgetMinimum()
Returns the minimum value -- the lower end of the progress value.
booleanisCanceled()
Returns true if the user hits the Cancel button or closes the progress dialog.
voidsetMaximum(int m)
Specifies the maximum value.
voidsetMillisToDecideToPopup(int millisToDecideToPopup)
Specifies the amount of time to wait before deciding whether or not to popup a progress monitor.
voidsetMillisToPopup(int millisToPopup)
Specifies the amount of time it will take for the popup to appear.
voidsetMinimum(int m)
Specifies the minimum value.
voidsetNote(String note)
Specifies the additional note that is displayed along with the progress message.
voidsetProgress(int nv)
Indicate the progress of the operation being monitored.