Class ProgressBarApplet
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----java.applet.Applet
|
+----ProgressBarApplet
- public class ProgressBarApplet
- extends Applet
- implements ScrollReadable
This is a demo applet showing how to use the two lighweight components ProgressBar and
Scroller.
-
ProgressBarApplet()
-
-
init()
-
-
ScrollRead(float, float)
- Display the vertical percentage of the scrollbar on the label.
ProgressBarApplet
public ProgressBarApplet()
init
public void init()
- Overrides:
- init in class Applet
ScrollRead
public void ScrollRead(float horPercentage,
float vertPercentage)
- Display the vertical percentage of the scrollbar on the label. The percentage is
passed to this method from the Scroller object whenever the scrollbars are
used. The horizontal and vertical percentages are a float between 0 and 1.