NCSA Portfolio

Class ButtonRotationControls


public class ButtonRotationControls
extends java.awt.Panel
implements RotationControls, java.awt.event.MouseListener

See Also:
Serialized Form

Fields inherited from class java.awt.Component
Constructor Summary
ButtonRotationControls(float x, float y, float z)
Method Summary
 float getXAngle()
          Get the angle of Rotation around the X Axis
 float getYAngle()
          Get the angle or Rotation around the Y Axis
 float getZAngle()
          Get the angle or Rotation around the Z Axis
 void mouseClicked(java.awt.event.MouseEvent e)
 void mouseEntered(java.awt.event.MouseEvent e)
 void mouseExited(java.awt.event.MouseEvent e)
 void mousePressed(java.awt.event.MouseEvent e)
 void mouseReleased(java.awt.event.MouseEvent e)
 void reset()
          Reset angles to original angle.
 void setDevice( device)
 void setStepRate(float stepRate)
 void update()
Methods inherited from class java.awt.Panel
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, remove, remove, removeAll, removeContainerListener, removeNotify, setCursor, setFont, setLayout, update, validate
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, disable, dispatchEvent, enable, enable, enableInputMethods, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public ButtonRotationControls(float x,
                              float y,
                              float z)
Method Detail


public float getZAngle()
Description copied from interface: RotationControls
Get the angle or Rotation around the Z Axis
Specified by:
getZAngle in interface RotationControls


public float getYAngle()
Description copied from interface: RotationControls
Get the angle or Rotation around the Y Axis
Specified by:
getYAngle in interface RotationControls


public float getXAngle()
Description copied from interface: RotationControls
Get the angle of Rotation around the X Axis
Specified by:
getXAngle in interface RotationControls


public void setDevice( device)


public void setStepRate(float stepRate)


public void update()


public void reset()
Description copied from interface: RotationControls
Reset angles to original angle.
Specified by:
reset in interface RotationControls


public void mouseClicked(java.awt.event.MouseEvent e)
Specified by:
mouseClicked in interface java.awt.event.MouseListener


public void mouseEntered(java.awt.event.MouseEvent e)
Specified by:
mouseEntered in interface java.awt.event.MouseListener


public void mouseExited(java.awt.event.MouseEvent e)
Specified by:
mouseExited in interface java.awt.event.MouseListener


public void mousePressed(java.awt.event.MouseEvent e)
Specified by:
mousePressed in interface java.awt.event.MouseListener


public void mouseReleased(java.awt.event.MouseEvent e)
Specified by:
mouseReleased in interface java.awt.event.MouseListener

NCSA Portfolio

NCSA Portfolio, Copyright 1997-1999, National Center for Supercomputing Applications, University of Illinois Urbana-Champaign, All Rights Reserved