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
-
A5()
-
-
actionPerformed(ActionEvent)
-
Changes mode when button is pressed
-
init()
-
-
mouseClicked(MouseEvent)
-
-
mouseEntered(MouseEvent)
-
-
mouseExited(MouseEvent)
-
-
mousePressed(MouseEvent)
-
Handle mouse inputs
-
mouseReleased(MouseEvent)
- Unused methods but needed to compile
-
paint(Graphics)
- Handles graphical outputs
A5
public A5()
init
public void init()
- Overrides:
- init in class Applet
actionPerformed
public void actionPerformed(ActionEvent e)
- Changes mode when button is pressed
mousePressed
public void mousePressed(MouseEvent e)
- Handle mouse inputs
paint
public void paint(Graphics g)
- Handles graphical outputs
- Overrides:
- paint in class Container
mouseReleased
public void mouseReleased(MouseEvent e)
- Unused methods but needed to compile
mouseEntered
public void mouseEntered(MouseEvent e)
mouseClicked
public void mouseClicked(MouseEvent e)
mouseExited
public void mouseExited(MouseEvent e)