All Packages Class Hierarchy This Package Previous Next Index
Class com.bulletproof.gui.ProgressBar
java.lang.Object
|
+----com.bulletproof.gui.Component
|
+----com.bulletproof.gui.ProgressBar
- public class ProgressBar
- extends Component
Class ProgressBar represents progress bar class.
-
ProgressBar()
- Creates a new ProgressBar.
-
ProgressBar(String)
- Creates a new ProgressBar.
-
clear()
- Get the percentage value of the progress bar.
-
getPercent()
- Get the percentage value of the progress bar.
-
getText()
-
Gets the text of this progress bar.
-
paint(Graphics)
-
Paints the component.
-
setPercent(int)
- Set the percentage value of the progress bar.
-
setText(String)
-
Sets the text for this progress bar to the specified text.
ProgressBar
public ProgressBar()
- Creates a new ProgressBar.
ProgressBar
public ProgressBar(String label)
- Creates a new ProgressBar.
getText
public String getText()
- Gets the text of this progress bar.
- See Also:
- setText
setText
public void setText(String s)
- Sets the text for this progress bar to the specified text.
- Parameters:
- text - the text that makes up the progress bar
- See Also:
- getText
setPercent
public synchronized void setPercent(int percentComplete)
- Set the percentage value of the progress bar.
- Parameters:
- percentComplete - the percentage value of the progress bar.
getPercent
public int getPercent()
- Get the percentage value of the progress bar.
- Returns:
- the percentage value of the progress bar.
clear
public void clear()
- Get the percentage value of the progress bar.
- Returns:
- the percentage value of the progress bar.
paint
public synchronized void paint(Graphics g)
- Paints the component.
- Overrides:
- paint in class Component
All Packages Class Hierarchy This Package Previous Next Index