org.jscience.astronomy.solarsystem.ephemeris.gui
Class CelestialSphere

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Panel
              extended by java.applet.Applet
                  extended by org.jscience.astronomy.solarsystem.ephemeris.gui.CelestialSphere
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible

public class CelestialSphere
extends java.applet.Applet
implements java.awt.event.ActionListener

DOCUMENT ME!

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.applet.Applet
java.applet.Applet.AccessibleApplet
 
Nested classes/interfaces inherited from class java.awt.Panel
java.awt.Panel.AccessibleAWTPanel
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
 org.jscience.astronomy.solarsystem.ephemeris.gui.LineArray boundaries
          DOCUMENT ME!
 org.jscience.astronomy.solarsystem.ephemeris.gui.LineArray constels
          DOCUMENT ME!
 ELP2000 elp2000
          DOCUMENT ME!
 org.jscience.astronomy.solarsystem.ephemeris.gui.ShortPoint[] messier
          DOCUMENT ME!
 org.jscience.astronomy.solarsystem.ephemeris.gui.StarsArray stars
          DOCUMENT ME!
 VSOP87[] VSOPbodies
          DOCUMENT ME!
 
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
CelestialSphere()
          Creates a new CelestialSphere object.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent actionevent)
          DOCUMENT ME!
 void destroy()
          DOCUMENT ME!
 java.lang.String getAppletInfo()
          DOCUMENT ME!
 double getCookieLatitude()
          DOCUMENT ME!
 double getCookieLongitude()
          DOCUMENT ME!
 void init()
          DOCUMENT ME!
 boolean isBoundariesLoaded()
          DOCUMENT ME!
 boolean isConstelsLoaded()
          DOCUMENT ME!
 boolean isMessiersLoaded()
          DOCUMENT ME!
 boolean isStarsLoaded()
          DOCUMENT ME!
 boolean isVSOPLoaded()
          DOCUMENT ME!
 java.lang.Object JScall(JSObject jsobject, java.lang.String s, java.lang.Object[] aobj)
          DOCUMENT ME!
 java.lang.Object JScall(java.lang.String s, java.lang.Object[] aobj)
          DOCUMENT ME!
 void saveCookie(double d, double d1)
          DOCUMENT ME!
 void start()
          DOCUMENT ME!
 void stop()
          DOCUMENT ME!
 void tryDraw()
          DOCUMENT ME!
 void update(java.awt.Graphics g)
          DOCUMENT ME!
 
Methods inherited from class java.applet.Applet
getAccessibleContext, getAppletContext, 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, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, 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, getBaseline, getBaselineResizeBehavior, 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, getMousePosition, 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, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, 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, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

stars

public org.jscience.astronomy.solarsystem.ephemeris.gui.StarsArray stars
DOCUMENT ME!


constels

public org.jscience.astronomy.solarsystem.ephemeris.gui.LineArray constels
DOCUMENT ME!


boundaries

public org.jscience.astronomy.solarsystem.ephemeris.gui.LineArray boundaries
DOCUMENT ME!


messier

public org.jscience.astronomy.solarsystem.ephemeris.gui.ShortPoint[] messier
DOCUMENT ME!


VSOPbodies

public VSOP87[] VSOPbodies
DOCUMENT ME!


elp2000

public ELP2000 elp2000
DOCUMENT ME!

Constructor Detail

CelestialSphere

public CelestialSphere()
Creates a new CelestialSphere object.

Method Detail

stop

public void stop()
DOCUMENT ME!

Overrides:
stop in class java.applet.Applet

isStarsLoaded

public boolean isStarsLoaded()
DOCUMENT ME!

Returns:
DOCUMENT ME!

isVSOPLoaded

public boolean isVSOPLoaded()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getCookieLongitude

public double getCookieLongitude()
DOCUMENT ME!

Returns:
DOCUMENT ME!

destroy

public void destroy()
DOCUMENT ME!

Overrides:
destroy in class java.applet.Applet

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent actionevent)
DOCUMENT ME!

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
actionevent - DOCUMENT ME!

saveCookie

public void saveCookie(double d,
                       double d1)
DOCUMENT ME!

Parameters:
d - DOCUMENT ME!
d1 - DOCUMENT ME!

update

public void update(java.awt.Graphics g)
DOCUMENT ME!

Overrides:
update in class java.awt.Container
Parameters:
g - DOCUMENT ME!

tryDraw

public void tryDraw()
DOCUMENT ME!


isBoundariesLoaded

public boolean isBoundariesLoaded()
DOCUMENT ME!

Returns:
DOCUMENT ME!

isConstelsLoaded

public boolean isConstelsLoaded()
DOCUMENT ME!

Returns:
DOCUMENT ME!

start

public void start()
DOCUMENT ME!

Overrides:
start in class java.applet.Applet

JScall

public java.lang.Object JScall(java.lang.String s,
                               java.lang.Object[] aobj)
                        throws java.lang.Exception
DOCUMENT ME!

Parameters:
s - DOCUMENT ME!
aobj - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.Exception - DOCUMENT ME!

JScall

public java.lang.Object JScall(JSObject jsobject,
                               java.lang.String s,
                               java.lang.Object[] aobj)
                        throws java.lang.Exception
DOCUMENT ME!

Parameters:
jsobject - DOCUMENT ME!
s - DOCUMENT ME!
aobj - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.Exception - DOCUMENT ME!

getAppletInfo

public java.lang.String getAppletInfo()
DOCUMENT ME!

Overrides:
getAppletInfo in class java.applet.Applet
Returns:
DOCUMENT ME!

init

public void init()
DOCUMENT ME!

Overrides:
init in class java.applet.Applet

isMessiersLoaded

public boolean isMessiersLoaded()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getCookieLatitude

public double getCookieLatitude()
DOCUMENT ME!

Returns:
DOCUMENT ME!