Extension SDK 10.1.2

oracle.javatools.dialogs.progress
Class ProgressPanel

java.lang.Object
  extended byoracle.javatools.dialogs.progress.ProgressPanel

public class ProgressPanel
extends java.lang.Object

Panel component class for a progress monitor implementation.


Constructor Summary
ProgressPanel(java.lang.Object message, java.lang.String note)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgressPanel

public ProgressPanel(java.lang.Object message,
                     java.lang.String note)
Method Detail

getGUI

public java.awt.Component getGUI()
Gets the progress panel component, creating if necessary.

Returns:
the panel component.

setNote

public void setNote(java.lang.String note)
Specifies the additional note that is displayed along with the progress message. Used, for example, to show which file the is currently being copied during a multiple-file copy.

Parameters:
note - a String specifying the note to display
See Also:
getNote()

getNote

public java.lang.String getNote()
Gets the additional note that is displayed along with the progress message.

Returns:
a String specifying the note to display
See Also:
setNote(java.lang.String)

setMessage

public void setMessage(java.lang.String message)
Specifies the text for the main process step (displayed above the progress bar).

Parameters:
message - the message to display.

setSouthContent

public void setSouthContent(java.awt.Component content)
Specifies the content of the dialog to appear south.

Parameters:
content - the south content component.
See Also:
getSouthContent()

getSouthContent

public java.awt.Component getSouthContent()
Returns the content of the dialog to appear south.

Returns:
the south content component.
See Also:
setSouthContent(java.awt.Component)

setProgressBar

public void setProgressBar(javax.swing.JProgressBar progressBar)
Sets the progress bar to be displayed for the panel.

Parameters:
progressBar - the progress bar.
See Also:
getProgressBar()

getProgressBar

public javax.swing.JProgressBar getProgressBar()
Gets the progress bar to be displayed for the panel.

See Also:
setProgressBar(javax.swing.JProgressBar)

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.