java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Panel
java.applet.Applet
emc.animation.emcAnimation
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.lang.Runnable, java.io.Serializable
- public class emcAnimation
- extends java.applet.Applet
- implements java.lang.Runnable
| Nested classes inherited from class java.applet.Applet |
java.applet.Applet.AccessibleApplet |
| Nested classes inherited from class java.awt.Panel |
java.awt.Panel.AccessibleAWTPanel |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Fields inherited from class java.applet.Applet |
|
| Fields inherited from class java.awt.Panel |
|
| Fields inherited from class java.awt.Container |
|
| Methods inherited from class java.applet.Applet |
destroy, getAccessibleContext, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusDownCycle, update, validate, validateTree |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle |
emcStatus
EMC_STAT emcStatus
emcStatusConnection
rcs.nml.NMLConnection emcStatusConnection
ShapeList
java.util.Vector ShapeList
SortedTopShapeList
java.util.Vector SortedTopShapeList
SortedFrontShapeList
java.util.Vector SortedFrontShapeList
SortedSideShapeList
java.util.Vector SortedSideShapeList
debug_on
public static boolean debug_on
XAxisBox
emcAnimationBox XAxisBox
StockBox
emcAnimationBox StockBox
SpindleBox
emcAnimationBox SpindleBox
Spindle
emcAnimationCyl Spindle
updatePositionThread
java.lang.Thread updatePositionThread
scale_x
double scale_x
scale_y
double scale_y
scale_z
double scale_z
SHOW_ALL
static final int SHOW_ALL
- See Also:
- Constant Field Values
SHOW_TOP
static final int SHOW_TOP
- See Also:
- Constant Field Values
SHOW_FRONT
static final int SHOW_FRONT
- See Also:
- Constant Field Values
SHOW_SIDE
static final int SHOW_SIDE
- See Also:
- Constant Field Values
side_to_show
int side_to_show
first_time
public boolean first_time
emcAnimation
public emcAnimation()
InitializeShapeList
public void InitializeShapeList()
init
public void init()
- Description copied from class:
java.applet.Applet
- This method is called when the applet is first loaded, before start().
The default implementation does nothing; override to do any one-time
initialization.
start
public void start()
- Description copied from class:
java.applet.Applet
- This method is called when the applet should start running. This is
normally each time a web page containing it is loaded. The default
implemention does nothing; override for your applet to be useful.
stop
public void stop()
- Description copied from class:
java.applet.Applet
- This method is called when the applet should stop running. This is
normally when the next web page is loaded. The default implementation
does nothing; override for your applet to stop using resources when
it is no longer visible, but may be restarted soon.
run
public void run()
- Description copied from interface:
java.lang.Runnable
- This method will be called by whoever wishes to run your class
implementing Runnable. Note that there are no restrictions on what
you are allowed to do in the run method, except that you cannot
throw a checked exception.
- Specified by:
run in interface java.lang.Runnable
mouseDown
public boolean mouseDown(java.awt.Event evt,
int x,
int y)
- Description copied from class:
java.awt.Component
- AWT 1.0 MOUSE_DOWN event handler. This method is meant to be
overridden by components providing their own MOUSE_DOWN handler.
The default implementation simply returns false.
paintTop
public void paintTop(java.awt.Graphics g)
paintFront
public void paintFront(java.awt.Graphics g)
paintSide
public void paintSide(java.awt.Graphics g)
paintCross
public void paintCross(java.awt.Graphics g)
paint
public void paint(java.awt.Graphics g)
- Description copied from class:
java.awt.Container
- Paints this container. The implementation of this method in this
class forwards to any lightweight components in this container. If
this method is subclassed, this method should still be invoked as
a superclass method so that lightweight components are properly
drawn.
SortTopShapeList
public void SortTopShapeList()
SortFrontShapeList
public void SortFrontShapeList()
SortSideShapeList
public void SortSideShapeList()
UpdatePosition
public void UpdatePosition()
main
public static void main(java.lang.String[] args)