Class EDU.auburn.VGJ.gui.AngleControl
All Packages Class Hierarchy This Package Previous Next Index
Class EDU.auburn.VGJ.gui.AngleControl
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Canvas
|
+----EDU.auburn.VGJ.gui.AngleControl
- public class AngleControl
- extends Canvas
A class that allows control of a 3D viewpoint angle in polar coordinates
(phi, theta).
Here is the source.
-
ANGLE
- Event indicating the angle has changed.
-
DONE
-
-
AngleControl(int, int)
-
-
handleEvent(Event)
-
-
mouseDown(Event, int, int)
-
-
mouseDrag(Event, int, int)
-
-
mouseUp(Event, int, int)
-
-
paint(Graphics)
-
-
paintOver()
-
-
preferredSize()
-
-
removeNotify()
-
ANGLE
public static int ANGLE
- Event indicating the angle has changed.
DONE
public static int DONE
AngleControl
public AngleControl(int width,
int height)
paint
public synchronized void paint(Graphics graphics)
- Overrides:
- paint in class Canvas
preferredSize
public Dimension preferredSize()
- Overrides:
- preferredSize in class Component
paintOver
public synchronized void paintOver()
mouseDown
public boolean mouseDown(Event e,
int x,
int y)
- Overrides:
- mouseDown in class Component
mouseDrag
public boolean mouseDrag(Event e,
int x,
int y)
- Overrides:
- mouseDrag in class Component
mouseUp
public boolean mouseUp(Event e,
int x,
int y)
- Overrides:
- mouseUp in class Component
handleEvent
public boolean handleEvent(Event e)
- Overrides:
- handleEvent in class Component
removeNotify
public synchronized void removeNotify()
- Overrides:
- removeNotify in class Component
All Packages Class Hierarchy This Package Previous Next Index