Class A5

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----A5

public class A5
extends Applet
implements ActionListener, MouseListener
Assignment 5 for 415.101FC 2000


Constructor Index

 o A5()

Method Index

 o actionPerformed(ActionEvent)
Changes mode when button is pressed
 o init()
 o mouseClicked(MouseEvent)
 o mouseEntered(MouseEvent)
 o mouseExited(MouseEvent)
 o mousePressed(MouseEvent)
Handle mouse inputs
 o mouseReleased(MouseEvent)
Unused methods but needed to compile
 o paint(Graphics)
Handles graphical outputs

Constructors

 o A5
 public A5()

Methods

 o init
 public void init()
Overrides:
init in class Applet
 o actionPerformed
 public void actionPerformed(ActionEvent e)
Changes mode when button is pressed

 o mousePressed
 public void mousePressed(MouseEvent e)
Handle mouse inputs

 o paint
 public void paint(Graphics g)
Handles graphical outputs

Overrides:
paint in class Container
 o mouseReleased
 public void mouseReleased(MouseEvent e)
Unused methods but needed to compile

 o mouseEntered
 public void mouseEntered(MouseEvent e)
 o mouseClicked
 public void mouseClicked(MouseEvent e)
 o mouseExited
 public void mouseExited(MouseEvent e)
1