All Packages Class Hierarchy This Package Previous Next Index
Class ij.gui.ProgressBar
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Canvas
|
+----ij.gui.ProgressBar
- public class ProgressBar
- extends Canvas
The bar is not displayed if the time between the first and
second calls to 'show' is less than 50 milliseconds. It
is erased when show is passed a percent value >= 1.0.
-
ProgressBar(int, int)
-
-
erase(Graphics)
-
-
paint(Graphics)
- Paints the canvas in the default background color.
-
preferredSize()
-
-
show(double)
-
-
update(Graphics)
-
Updates the component.
ProgressBar
public ProgressBar(int canvasWidth,
int canvasHeight)
show
public void show(double percent)
erase
public void erase(Graphics g)
update
public void update(Graphics g)
- Updates the component.
- Overrides:
- update in class Component
paint
public void paint(Graphics g)
- Paints the canvas in the default background color.
- Overrides:
- paint in class Canvas
preferredSize
public Dimension preferredSize()
- Overrides:
- preferredSize in class Component
All Packages Class Hierarchy This Package Previous Next Index