Overview

For this homework you will define inner classes that will control an animation. . The animation consists of a pair of "Eyes" which look around in a circular pattern. The video EyesDemo.avi illustrates the functionality associated with the application.

Notice that there are no public/release/secret tests associated with this project. You do not need to provide any student tests but you are encouraged to develop them as you implement this programming assignment.

Objectives

This project is designed to help you develop your skills at defining inner/nested classes. 

Grading

Clarifications

Any clarifications or corrections associated with this project will be available at: Clarifications

Code Distribution

The project's code distribution is available by checking out the project named InnerClasses. The code distribution provides you with the following:

Specifications

For this homework you will implement a method called setListeners (part of the EyesController class) and any supporting classes that will allow us to control an animation. The animation consists of a pair of "Eyes" which look around in a circular pattern. The following video (EyesDemo.avi) illustrates the functionality associated with the application. Complete documentation for this project can be found at javadoc documentation

Keep in mind that the provided code already implements a listener for mouse movements (the eyes will follow the mouse pointer). Your task is to expand the functionality of the application as follows:

From the Eyes class the only method you will need to use is the setPointerPosition. This class may not be modified.

Requirements

Honor Section Requirements

No additional requirements.

Suggestions on How To Start the Project

Web Accessibility