|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Canvas
main.TheSky.Sky
public class TheSky.Sky
the actual canvas that draws the sky
Field Summary | |
---|---|
java.util.Hashtable |
allPhotsInfo
|
java.util.Vector |
allPhotsRaDec
|
java.util.Vector |
amString
|
java.util.Vector |
amX
|
java.util.Vector |
amY
|
int |
boxHeight
|
int |
boxWidth
|
java.util.Vector |
candInfos
|
java.util.Vector |
candPos
|
java.util.Vector |
candRaDec
|
CandInfo |
ci
|
Sixty |
dec
|
boolean |
doRA
|
boolean |
drawBox
|
double |
eqnxOld
|
java.util.Vector |
fieldRaDec
|
java.awt.FontMetrics |
fm
|
Sixty |
ha
|
double |
hvalue
|
boolean |
isFirstDraw
|
int |
len
|
int |
lenDEC
|
int |
lenHA
|
double |
lst
|
double |
maxDEC
|
double |
maxHA
|
double |
minDEC
|
double |
minHA
|
NameRaDec |
nrd
|
int |
numDEC
|
int |
numHA
|
int |
numLines
|
TheSky.NameXY |
nxy
|
java.util.Vector |
objList
|
double |
oldMaxDEC
|
double |
oldMaxHA
|
double |
oldMinDEC
|
double |
oldMinHA
|
java.awt.Dimension |
osD
|
java.awt.Graphics |
osG
|
java.awt.Image |
osImg
|
java.util.Vector |
polyColors
|
java.util.Vector |
polys
|
Sixty |
ra
|
int |
smargin
|
int |
spacing
|
int |
spacingDEC
|
int |
spacingHA
|
java.util.Vector |
standPos
|
java.util.Vector |
standRaDec
|
double |
stepDEC
|
double |
stepHA
|
int |
textheight
|
int |
textwidth
|
JulianDate |
time
|
int |
tmargin
|
int |
x
|
int |
xbox
|
int |
xstartBox
|
int |
y
|
int |
ybox
|
int |
ystartBox
|
boolean |
zoomMode
|
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 | |
---|---|
TheSky.Sky()
|
Method Summary | |
---|---|
int |
decToY(double d)
converts a DEC to a y-coordinate |
int |
decToY(Sixty dec)
converts a DEC to a y-coordinate |
void |
getAirMassLines(java.util.Hashtable hash)
|
int |
getBoxHeight()
get the height (DEC) of the scope field in pixels |
int |
getBoxWidth()
get the width (RA) of the scope field in pixels |
java.util.Vector |
getCandPos(double eqx,
double minOAP)
gets the x-y locations of all the candidates |
java.util.Hashtable |
getObjInfo(java.util.Vector objList)
gets the info about a list of objecst |
java.util.Vector |
getPhotStandsIn(java.util.Vector list,
double minRA,
double maxRA,
double minDEC,
double maxDEC)
finds the stands in the allPhotsRaDec vector that are with in the range |
double |
getRoundNum(double value,
double step)
returns closest integer multiple of step to value |
java.util.Vector |
getStandPos(double eqx)
gets the x-y locations of all the standards |
double |
getStep(double min,
double max)
determine how many lines to draw |
int |
haToX(double d)
converts an HA to a x-coordinate |
int |
haToX(Sixty ha)
converts an HA to a x-coordinate |
void |
paint(java.awt.Graphics g)
puts up the HA-DEC grid and plots the candidates |
void |
processMouseEvent(java.awt.event.MouseEvent e)
handles mouse clicks - mouseDown |
void |
processMouseMotionEvent(java.awt.event.MouseEvent e)
handles mouse clicks - mouseDrag |
Sixty |
raToHA(Sixty ra,
double lst)
converts RA to HA(-12 to 12) |
void |
update(java.awt.Graphics g)
|
Sixty |
xToHA(double x)
converts an x-coordinate to HA |
Sixty |
xToRA(double x,
double lst)
converts an x-coordinate to RA |
Sixty |
yToDEC(double y)
converts a y-coordinate to dec |
Methods inherited from class java.awt.Canvas |
---|
addNotify, createBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategy |
Methods inherited from class java.awt.Component |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, dispatchEvent, doLayout, enable, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int x
public int y
public int len
public int numLines
public int spacing
public double maxHA
public double minHA
public double maxDEC
public double minDEC
public double stepHA
public double stepDEC
public double oldMaxHA
public double oldMinHA
public double oldMaxDEC
public double oldMinDEC
public int lenHA
public int lenDEC
public int spacingHA
public int spacingDEC
public int numHA
public int numDEC
public int textheight
public int textwidth
public java.awt.FontMetrics fm
public int tmargin
public int smargin
public Sixty ra
public Sixty ha
public Sixty dec
public double lst
public double hvalue
public JulianDate time
public java.util.Vector objList
public boolean drawBox
public int xbox
public int ybox
public int xstartBox
public int ystartBox
public java.awt.Image osImg
public java.awt.Graphics osG
public boolean isFirstDraw
public java.awt.Dimension osD
public NameRaDec nrd
public java.util.Vector fieldRaDec
public java.util.Vector standRaDec
public java.util.Vector candRaDec
public java.util.Vector allPhotsRaDec
public java.util.Vector candInfos
public boolean doRA
public int boxWidth
public int boxHeight
public boolean zoomMode
public java.util.Vector polys
public java.util.Vector polyColors
public java.util.Vector amString
public java.util.Vector amX
public java.util.Vector amY
public java.util.Hashtable allPhotsInfo
public CandInfo ci
public java.util.Vector candPos
public java.util.Vector standPos
public TheSky.NameXY nxy
public double eqnxOld
Constructor Detail |
---|
public TheSky.Sky()
Method Detail |
---|
public java.util.Vector getPhotStandsIn(java.util.Vector list, double minRA, double maxRA, double minDEC, double maxDEC)
public java.util.Hashtable getObjInfo(java.util.Vector objList)
public void processMouseEvent(java.awt.event.MouseEvent e)
processMouseEvent
in class java.awt.Component
public void processMouseMotionEvent(java.awt.event.MouseEvent e)
processMouseMotionEvent
in class java.awt.Component
public double getRoundNum(double value, double step)
public double getStep(double min, double max)
public int getBoxWidth()
public int getBoxHeight()
public void paint(java.awt.Graphics g)
paint
in class java.awt.Canvas
public java.util.Vector getStandPos(double eqx)
public java.util.Vector getCandPos(double eqx, double minOAP)
public void update(java.awt.Graphics g)
update
in class java.awt.Canvas
public void getAirMassLines(java.util.Hashtable hash)
public int haToX(double d)
public int haToX(Sixty ha)
public int decToY(double d)
public int decToY(Sixty dec)
public Sixty raToHA(Sixty ra, double lst)
public Sixty xToHA(double x)
public Sixty xToRA(double x, double lst)
public Sixty yToDEC(double y)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |