public class ProgressPanel
extends java.lang.Object
Panel component class for a progress monitor implementation.
Constructor and Description |
---|
ProgressPanel(java.lang.Object message,
java.lang.String note) |
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
getGUI()
Gets the progress panel component, creating if necessary.
|
java.lang.String |
getNote()
Gets the additional note that is displayed along with the
progress message.
|
javax.swing.JProgressBar |
getProgressBar()
Gets the progress bar to be displayed for the panel.
|
java.awt.Component |
getSouthContent()
Returns the content of the dialog to appear south.
|
void |
setMessage(java.lang.String message)
Specifies the text for the main process step (displayed above the
progress bar).
|
void |
setNote(java.lang.String note)
Specifies the additional note that is displayed along with the
progress message.
|
void |
setProgressBar(javax.swing.JProgressBar progressBar)
Sets the progress bar to be displayed for the panel.
|
void |
setSouthContent(java.awt.Component content)
Specifies the content of the dialog to appear south.
|
public ProgressPanel(java.lang.Object message, java.lang.String note)
public java.awt.Component getGUI()
public void setNote(java.lang.String note)
note
- a String specifying the note to displaygetNote()
public java.lang.String getNote()
setNote(java.lang.String)
public void setMessage(java.lang.String message)
message
- the message to display.public void setSouthContent(java.awt.Component content)
content
- the south content component.getSouthContent()
public java.awt.Component getSouthContent()
setSouthContent(java.awt.Component)
public void setProgressBar(javax.swing.JProgressBar progressBar)
progressBar
- the progress bar.getProgressBar()
public javax.swing.JProgressBar getProgressBar()
the
- progress bar.setProgressBar(javax.swing.JProgressBar)