Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

emc.animation
Class emcAnimation  view emcAnimation download emcAnimation.java

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Panel
              extended byjava.applet.Applet
                  extended byemc.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 Class Summary
 
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
 
Field Summary
static boolean debug_on
           
(package private)  EMC_STAT emcStatus
           
(package private)  rcs.nml.NMLConnection emcStatusConnection
           
 boolean first_time
           
(package private)  double scale_x
           
(package private)  double scale_y
           
(package private)  double scale_z
           
(package private)  java.util.Vector ShapeList
           
(package private) static int SHOW_ALL
           
(package private) static int SHOW_FRONT
           
(package private) static int SHOW_SIDE
           
(package private) static int SHOW_TOP
           
(package private)  int side_to_show
           
(package private)  java.util.Vector SortedFrontShapeList
           
(package private)  java.util.Vector SortedSideShapeList
           
(package private)  java.util.Vector SortedTopShapeList
           
(package private)  emcAnimationCyl Spindle
           
(package private)  emcAnimationBox SpindleBox
           
(package private)  emcAnimationBox StockBox
           
(package private)  java.lang.Thread updatePositionThread
           
(package private)  emcAnimationBox XAxisBox
           
 
Fields inherited from class java.applet.Applet
 
Fields inherited from class java.awt.Panel
 
Fields inherited from class java.awt.Container
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
emcAnimation()
           
 
Method Summary
 void init()
          This method is called when the applet is first loaded, before start().
 void InitializeShapeList()
           
static void main(java.lang.String[] args)
           
 boolean mouseDown(java.awt.Event evt, int x, int y)
          AWT 1.0 MOUSE_DOWN event handler.
 void paint(java.awt.Graphics g)
          Paints this container.
 void paintCross(java.awt.Graphics g)
           
 void paintFront(java.awt.Graphics g)
           
 void paintSide(java.awt.Graphics g)
           
 void paintTop(java.awt.Graphics g)
           
 void run()
          This method will be called by whoever wishes to run your class implementing Runnable.
 void SortFrontShapeList()
           
 void SortSideShapeList()
           
 void SortTopShapeList()
           
 void start()
          This method is called when the applet should start running.
 void stop()
          This method is called when the applet should stop running.
 void UpdatePosition()
           
 
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.Panel
addNotify
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

emcAnimation

public emcAnimation()
Method Detail

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)