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
-
FileUploaderProgressBar(Frame)
- Constructor
-
getCenteredLocation(Frame)
-
-
increment()
- Increment the current value of the model by 1.
-
isProgressEnabled()
- Indicates if the progressbar is enabled for use.
-
main(String[])
-
-
setBarBackground(Color)
-
-
setBarForeground(Color)
- Sets the color on the progress bar.
-
setMessage(String)
-
-
setProgressEnabled(boolean)
- Sets the progress enabled state of the dialog.
-
setSteps(int)
-
-
setValue(int)
-
-
setVisible(boolean)
- Override the setVisible method of dialog to first determine if the
progressbar is set to be enabled.
-
sleep(int)
-
FileUploaderProgressBar
public FileUploaderProgressBar(Frame owner)
- Constructor
setSteps
public void setSteps(int val)
setMessage
public void setMessage(String msg)
setValue
public void setValue(int val)
setProgressEnabled
public void setProgressEnabled(boolean val)
- Sets the progress enabled state of the dialog.
- Parameters:
- Whether - to enable the progress dialog.
setBarForeground
public void setBarForeground(Color c)
- Sets the color on the progress bar.
- Parameters:
- The - desired color.
setBarBackground
public void setBarBackground(Color c)
isProgressEnabled
public boolean isProgressEnabled()
- Indicates if the progressbar is enabled for use.
- Returns:
- is the progress bar enabled
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
increment
public void increment()
- Increment the current value of the model by 1.
sleep
public void sleep(int msecs)
getCenteredLocation
public Point getCenteredLocation(Frame frame)
main
public static void main(String args[])
All Packages Class Hierarchy This Package Previous Next Index