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.

Variable Index

 o ANGLE
Event indicating the angle has changed.
 o DONE

Constructor Index

 o AngleControl(int, int)

Method Index

 o handleEvent(Event)
 o mouseDown(Event, int, int)
 o mouseDrag(Event, int, int)
 o mouseUp(Event, int, int)
 o paint(Graphics)
 o paintOver()
 o preferredSize()
 o removeNotify()

Variables

 o ANGLE
  public static int ANGLE
Event indicating the angle has changed.
 o DONE
  public static int DONE

Constructors

 o AngleControl
  public AngleControl(int width,
                      int height)

Methods

 o paint
  public synchronized void paint(Graphics graphics)
Overrides:
paint in class Canvas
 o preferredSize
  public Dimension preferredSize()
Overrides:
preferredSize in class Component
 o paintOver
  public synchronized void paintOver()
 o mouseDown
  public boolean mouseDown(Event e,
                           int x,
                           int y)
Overrides:
mouseDown in class Component
 o mouseDrag
  public boolean mouseDrag(Event e,
                           int x,
                           int y)
Overrides:
mouseDrag in class Component
 o mouseUp
  public boolean mouseUp(Event e,
                         int x,
                         int y)
Overrides:
mouseUp in class Component
 o handleEvent
  public boolean handleEvent(Event e)
Overrides:
handleEvent in class Component
 o removeNotify
  public synchronized void removeNotify()
Overrides:
removeNotify in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index