|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.TextComponent
java.awt.TextField
utility.CandPrior.PriorField
public class CandPrior.PriorField
Displays and color codes the priority for a candidate. Clickable interface allows user to checkout/in an observation.
Field Summary | |
---|---|
java.lang.String |
cand
|
CandSort |
candSort
|
CandPrior.CheckBackIn |
check
|
Sixty |
dec
|
double |
exp
|
java.lang.String |
filt
|
double |
mag
|
java.util.Hashtable |
masterHash
|
boolean |
moonFlag
|
Sixty |
ra
|
double |
sky
|
java.lang.String |
text
|
java.lang.String |
type
|
int |
value
|
WhatData |
wd
|
double |
zeropoint
|
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 | |
---|---|
CandPrior.PriorField(java.lang.String cand2,
java.lang.String type2,
java.lang.String filt2,
int value2,
double mag2,
double zeropoint2,
Sixty ra2,
Sixty dec2,
boolean moonFlag)
|
Method Summary | |
---|---|
double |
getExp()
|
double |
getMag()
|
int |
getValue()
|
boolean |
objUpAt(double time,
double rise,
double set)
returns true if object is up at time |
void |
refresh()
writes the prior/mag/exp value using the current color scheme |
void |
setExp()
sets the exposture time using mag. |
void |
setMag()
reads the current magnitude from the db and sets mag and exp accordingly |
void |
setMag(double mag)
sets the magnitude to the give value |
void |
setValue()
Reads the current priority from the database and changes the text and color accordingly |
void |
setValue(int value)
changes the text and color to a new value |
boolean |
youGotIt(java.lang.String cand,
java.lang.String type,
java.lang.String filt)
Returns true if the cand, type, and filt are checked out by the user. |
Methods inherited from class java.awt.TextField |
---|
addActionListener, addNotify, echoCharIsSet, getAccessibleContext, getActionListeners, getColumns, getEchoChar, getListeners, getMinimumSize, getMinimumSize, getPreferredSize, getPreferredSize, minimumSize, minimumSize, preferredSize, preferredSize, removeActionListener, setColumns, setEchoChar, setEchoCharacter, setText |
Methods inherited from class java.awt.TextComponent |
---|
addTextListener, enableInputMethods, getBackground, getCaretPosition, getInputMethodRequests, getSelectedText, getSelectionEnd, getSelectionStart, getText, getTextListeners, isEditable, removeNotify, removeTextListener, select, selectAll, setBackground, setCaretPosition, setEditable, setSelectionEnd, setSelectionStart |
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, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, 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, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paint, paintAll, postEvent, prepareImage, prepareImage, print, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, resize, resize, 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, update, validate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.String cand
public java.lang.String type
public java.lang.String filt
public int value
public double mag
public double exp
public WhatData wd
public CandPrior.CheckBackIn check
public boolean moonFlag
public java.lang.String text
public double zeropoint
public Sixty ra
public Sixty dec
public java.util.Hashtable masterHash
public CandSort candSort
public double sky
Constructor Detail |
---|
public CandPrior.PriorField(java.lang.String cand2, java.lang.String type2, java.lang.String filt2, int value2, double mag2, double zeropoint2, Sixty ra2, Sixty dec2, boolean moonFlag)
Method Detail |
---|
public int getValue()
public double getMag()
public double getExp()
public void setValue()
public void setValue(int value)
public void setMag()
public void setMag(double mag)
public void setExp()
public boolean objUpAt(double time, double rise, double set)
public void refresh()
public boolean youGotIt(java.lang.String cand, java.lang.String type, java.lang.String filt)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |