Class BallFrame

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----BallFrame

public class BallFrame
extends Frame
implements MovableObj

Constructor Index

 o BallFrame(String)

Method Index

 o loadImage(String, MediaTracker, int)
 o moveAbs(int, int)
 o moveRel(int, int)
 o paint(Graphics)
 o showObj(Graphics)
 o showText(Graphics, Dimension)
 o textOut(String)

Constructors

 o BallFrame
 public BallFrame(String name)

Methods

 o loadImage
 public Image loadImage(String imagePath,
                        MediaTracker mt,
                        int imageID)
 o moveAbs
 public void moveAbs(int x,
                     int y)
 o moveRel
 public void moveRel(int dx,
                     int dy)
 o textOut
 public void textOut(String text)
 o paint
 public void paint(Graphics g)
Overrides:
paint in class Container
 o showText
 public void showText(Graphics g,
                      Dimension d)
 o showObj
 public void showObj(Graphics g)