A B C E G H M N P R S Z
A
- actionPerformed(ActionEvent) -
Method in class Project2
- the Handler for the textfield-generated events
updates the time displayed on each of the clocks
- ALASKA -
Static variable in class Clock
-
- ATLANTIC -
Static variable in class Clock
-
B
- BIG_EASTERN -
Static variable in class Clock
-
C
- CENTRAL -
Static variable in class Clock
-
- Clock - class Clock.
-
- Clock(int) -
Constructor for class Clock
- Constructor for objects of class Clock
- Clock(int, int, int, Project2) -
Constructor for class Clock
- Alternate Constructor for objects of Class Clock
E
- EASTERN -
Static variable in class Clock
-
G
- getViewPosition() -
Method in class Clock
- the accessor for the viewPosition variable of the clock
H
- HAWAII -
Static variable in class Clock
-
M
- MOUNTAIN -
Static variable in class Clock
-
- mouseClicked(MouseEvent) -
Method in class Project2
- empty but required method for mouseEvent handling
- mouseEntered(MouseEvent) -
Method in class Project2
- changes the view position of the easternclock when the mouse moves over it * @param e -the mouse event occuring
- mouseExited(MouseEvent) -
Method in class Project2
- changes the view posititon of the eastern clock when the mouse leaves its area * @param e -the mouse event occuring
- mousePressed(MouseEvent) -
Method in class Project2
- empty but required method for mouseEvent hanlding
- mouseReleased(MouseEvent) -
Method in class Project2
- empty but required method for mouseEvent hanlding
- move(int, int, int) -
Method in class Polygon3D
- move - moves the polygon in three-dimensional space
N
- NEWFOUNDLAND -
Static variable in class Clock
-
- NON_3D -
Static variable in class Clock
-
P
- PACIFIC -
Static variable in class Clock
-
- paint(Graphics) -
Method in class Project2
- the paint method draws the graphics that surround the clock
calls paintBackground, passing it the applet's graphics object * and the x and y of the applet window (always 0, 0)
- paint(Graphics) -
Method in class Clock
- paint - draws the clock based on the hour, minute, and the position variables
- paintBackground(Graphics, int, int) -
Method in class Project2
- paintBackground - paints the background of the appplet inside any graphics bounds
given the Graphics object and the relative coordinates for the upperleft
corner in the applet
enables clock components to simulate transparency
- Polygon3D - class Polygon3D.
- Polygon3D
this class keeps track of a polygon of 3D points in terms of three integer coordinates
allowing useful distortions and transformations to be performed on them
It extends the class Polygon so that it can be passed to a Graphics object to be drawn
Only the X and Y coordinates will be taken into account when drawn, so the zoom method
should be called ONCE before drawing the polygon, to scale the points.
- Polygon3D(int[], int[], int[], int) -
Constructor for class Polygon3D
- Polygon3D Constructor
- Project2 - class Project2.
-
- Project2() -
Constructor for class Project2
- Constructor method - initiallizes the applet
creates and defines the boundaries of the GUI objects
and adds itself as an ActionListener to the Textfields
R
- rotateX(double) -
Method in class Polygon3D
- rotateX - rotates the polygon around the X axis
- rotateY(double) -
Method in class Polygon3D
- rotateY - rotates the polygon around the Y axis
- rotateZ(double) -
Method in class Polygon3D
- rotateZ - rotates the polygon around the Z axis
S
- scale(double, double, double) -
Method in class Polygon3D
- scale - scales the polygon based on the point 0, 0, 0
- setTime(int, int) -
Method in class Clock
- setTime - sets the variables of the clock and repaints to display the new time
- setViewPosition(int) -
Method in class Clock
- the mutator method for the viewPosition variable
sets each of the other 3D position variables accordingly
Z
- zoom(double) -
Method in class Polygon3D
- zoom - scales the x and y coordinates toward 0,0 by a factor
proportional to each points z coordinate and a zoom factor, * making a head-on view of the polygon appear to be in perspective
- zpoints -
Variable in class Polygon3D
-
A B C E G H M N P R S Z
Generated by BlueJ