All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class oracle.forms.demos.uploadclient.FileUploaderProgressBar

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Dialog
                                   |
                                   +----oracle.forms.demos.uploadclient.FileUploaderProgressBar

public class FileUploaderProgressBar
extends Dialog

This component provides a Progress indicator for the FileUploader to give some immediate feedback to the end user that something is actually happening.

Version:
1.0
Author:
Steve Button

Constructor Index

 o FileUploaderProgressBar(Frame)
Constructor

Method Index

 o getCenteredLocation(Frame)
 o increment()
Increment the current value of the model by 1.
 o isProgressEnabled()
Indicates if the progressbar is enabled for use.
 o main(String[])
 o setBarBackground(Color)
 o setBarForeground(Color)
Sets the color on the progress bar.
 o setMessage(String)
 o setProgressEnabled(boolean)
Sets the progress enabled state of the dialog.
 o setSteps(int)
 o setValue(int)
 o setVisible(boolean)
Override the setVisible method of dialog to first determine if the progressbar is set to be enabled.
 o sleep(int)

Constructors

 o FileUploaderProgressBar
 public FileUploaderProgressBar(Frame owner)
Constructor

Methods

 o setSteps
 public void setSteps(int val)
 o setMessage
 public void setMessage(String msg)
 o setValue
 public void setValue(int val)
 o setProgressEnabled
 public void setProgressEnabled(boolean val)
Sets the progress enabled state of the dialog.

Parameters:
Whether - to enable the progress dialog.
 o setBarForeground
 public void setBarForeground(Color c)
Sets the color on the progress bar.

Parameters:
The - desired color.
 o setBarBackground
 public void setBarBackground(Color c)
 o isProgressEnabled
 public boolean isProgressEnabled()
Indicates if the progressbar is enabled for use.

Returns:
is the progress bar enabled
 o setVisible
 public void setVisible(boolean val)
Override the setVisible method of dialog to first determine if the progressbar is set to be enabled.

Parameters:
whether - to set the dialog to visible or not.
Overrides:
setVisible in class Component
 o increment
 public void increment()
Increment the current value of the model by 1.

 o sleep
 public void sleep(int msecs)
 o getCenteredLocation
 public Point getCenteredLocation(Frame frame)
 o main
 public static void main(String args[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index