stella.jview
Class JGuiderOffsets
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
jview.JNormalizedCanvas
jview.JViewportCanvas
jview.JFrameCanvas
jview.JBoxedCanvas
jview.JDataCanvas
stella.jview.JGuiderOffsets
- All Implemented Interfaces:
- ImageObserver, MenuContainer, Serializable, DataCanvasProviding, NormalizedCoordinates, NormalizedShapes, UserCoordinates, Zoomable, Initializable, ResourceAware, ResourceComposed, Savable
public class JGuiderOffsets
- extends JDataCanvas
A class that uses a data canvas to show an FFT of guider offsets.
- See Also:
- Serialized Form
|
Nested Class Summary |
static class |
JGuiderOffsets.GuiderFile
A class to read the tracking data from the very specific format-file
produced by the stella guider. |
| Fields inherited from class jview.JDataCanvas |
DATALOSSPROPERTY, DEFXUSERSPACEMIN, DEFYUSERSPACEMIN, KEY_CONNECT, KEY_DATALAST, KEY_EQUALSCALE, KEY_EQUALSTART, KEY_ERRORALWAYSRED, KEY_ERRORCOLOR, KEY_ERRORHAT, KEY_ERRORHATLENGTH, KEY_ERRORINCLUDE, KEY_ERRORSHOW, KEY_FLIPXAXIS, KEY_FLIPYAXIS, KEY_HIGHLIGHTSHAPE, KEY_JOINDATA, KEY_LABELFONT, KEY_LEGEND, KEY_LEGENDGAP, KEY_LEGENDLENGTH, KEY_LEGENDLIST, KEY_LEGENDMAP, KEY_LEGENDY, KEY_POINTS, KEY_POLYGONSHAPE, KEY_RETAINSIZE, KEY_SAVESETS, KEY_SHAPESIZE, KEY_XAXISDISTANCE, KEY_XAXISLABEL, KEY_XERRORINDEX, KEY_XERRORSHAPE, KEY_XINDEX, KEY_XSHRINK, KEY_XUSERSPACEMIN, KEY_YAXISDISTANCE, KEY_YAXISLABEL, KEY_YERRORINDEX, KEY_YERRORSHAPE, KEY_YINDEX, KEY_YSHRINK, KEY_YUSERSPACEMIN, KEY_ZEROXAXIS, KEY_ZEROYAXIS, RESCALEPROPERTY, SAVEDATA |
| Fields inherited from class jview.JBoxedCanvas |
AUTODATE, BOTTOM, KEY_FONT, KEY_GRIDCOLOR, KEY_IGNOREFORMAT, KEY_LABELAT, KEY_LABELCOLOR, KEY_LABELXANGLE, KEY_LABELXAUTO, KEY_LABELXEND, KEY_LABELXEXTRA, KEY_LABELXFORMAT, KEY_LABELXINSIDE, KEY_LABELXSTART, KEY_LABELXSTEP, KEY_LABELYANGLE, KEY_LABELYAUTO, KEY_LABELYEND, KEY_LABELYEXTRA, KEY_LABELYFORMAT, KEY_LABELYINSIDE, KEY_LABELYSTART, KEY_LABELYSTEP, KEY_MAXLABELS, KEY_MAXTICKS, KEY_TICKAT, KEY_TICKCOLOR, KEY_TICKSTRETCH, KEY_TICKXAUTO, KEY_TICKXEND, KEY_TICKXGRID, KEY_TICKXINSIDE, KEY_TICKXSIZE, KEY_TICKXSTART, KEY_TICKXSTEP, KEY_TICKYAUTO, KEY_TICKYEND, KEY_TICKYGRID, KEY_TICKYINSIDE, KEY_TICKYSIZE, KEY_TICKYSTART, KEY_TICKYSTEP, KEY_XISDATE, KEY_XLOGARITHMIC, KEY_YISDATE, KEY_YLOGARITHMIC, LEFT, RIGHT, TOP |
| Fields inherited from class jview.JFrameCanvas |
KEY_ABSOLUTEHEIGHT, KEY_ABSOLUTEWIDTH, KEY_DRAWBOX, KEY_RELATIVEHEIGHT, KEY_RELATIVEWIDTH, KEY_TITLECOLOR, KEY_TITLEFONT, KEY_TITLEJUSTIFY, KEY_TITLEOFFSET, KEY_TITLETEXT, KEY_TOPCOLOR, KEY_TOPFONT, KEY_TOPJUSTIFY, KEY_TOPOFFSET, KEY_TOPSEPARATOR, KEY_TOPTEXT, KEY_XFRAME, KEY_XINSETABSOLUTE, KEY_XINSETRELATIVE, KEY_YFRAME, KEY_YINSETABSOLUTE, KEY_YINSETRELATIVE |
| Fields inherited from class jview.JNormalizedCanvas |
BACKGROUNDIMAGEPROPERTY, EXPORTACTION, GENERIC, inverse, KEY_BACKGROUND, KEY_CANVASNAME, KEY_CANVASTIP, KEY_CURSORCLASSES, KEY_CURSORPROPS, KEY_DRAWINGSETS, KEY_FOREGROUND, KEY_MAXIMUMHEIGHT, KEY_MAXIMUMWIDTH, KEY_MINIMUMHEIGHT, KEY_MINIMUMWIDTH, KEY_PREFERREDHEIGHT, KEY_PREFERREDWIDTH, KEY_PRINTFONT, KEY_PRINTFONTSCALE, KEY_PRINTSHAPESCALE, KEY_RESTORESHAPES, KEY_XFLIPIMAGE, KEY_YFLIPIMAGE, PRINTACTION, SAVEACTION, transform |
|
Method Summary |
void |
addPinhole()
Adds the pinhole as a normalized drawable ellipse. |
void |
addPinhole(double darcsec)
Adds the pinhole as a normalized shape. |
void |
addStatistic(double azmean,
double azsig,
double altmean,
double altsig)
Displays the mean azimuth offset and its standard deviation at a fixed
location. |
boolean |
clearData()
On clearing the data, we also clear the pinhole. |
void |
init()
We insert the drawing info for the pinhole |
void |
setComposedProperties(ResourceSupplying prop)
Defaults the repository name and the sensors to monitor. |
| Methods inherited from class jview.JDataCanvas |
addDataObserver, addDelete, addDrawingInfo, addJoint, addMeasure, addMeasure, addZoom, deleteClosest, deleteInside, drawShapes, extractKeys, extractKeys, getActions, getAnimationInfo, getClosestData, getClosestData, getClosestDataShape, getClosestShape, getComposingCanvases, getDefaultProperties, getInsideData, getInsideShapes, getMainCanvas, getMaximumPoints, getMeasuredData, getShapeForSet, getSpanX, getSpanY, getUserData, isEmpty, notifyClear, notifyNew, notifyOnAdd, notifyOnRemove, prepareCanvas, putMeasuredSet, putMeasuredSet, putMeasuredSets, rebuildOneDataSet, redeemList, removeDataObserver, removeJoint, revertDeleted, setShapeForSet, setUserData |
| Methods inherited from class jview.JBoxedCanvas |
getBestDateFormat, getDefaultFormatX, getDefaultFormatY, getUserTransformation, getUserTransformation, printComponent, setUserTransformation, setUserTransformation, silentlySelectViewport, xIsDate, yIsDate |
| Methods inherited from class jview.JViewportCanvas |
addAttachedViewport, addZoom, getViewport, getViewportImage, isMaximalViewport, isNormalizedOnScreen, removeAttachedViewport, resetViewport, selectArea, selectViewport, setViewportImage, transferView |
| Methods inherited from class jview.JNormalizedCanvas |
addCrossCursor, addDrawable, addDrawable, addDrawable, addLink, addLink, addPoint, addPoint, addText, addText, allInside, applyDrawingInfo, assignCursorLabel, clearAllDrawable, clearAllText, clearDrawable, clearText, createCanvasCursor, disabledCanvas, drawPoints, drawPointsMap, drawShapesMap, drawText, drawTextMap, firePropertyChange, getAllCanvasCursors, getBackground, getBackgroundImage, getCanvasCursor, getClosest, getClosest, getClosest, getComposedProperties, getFromName, getImageOperation, getInside, getInverseTransform, getLink, getLinkedTo, getMaximumSize, getMinimumSize, getNormalized, getNormalizedRect, getPreferredSize, getSaveBuffer, getScreen, getScreenRect, getShapeTransform, isFlipX, isFlipY, paintComponent, paintPointsList, paintShapesList, paintTextList, removeDrawable, removeDrawable, removeLink, removeText, removeText, repaintLater, repaintNow, setBackgroundImage, setBounds, setComplete, setCursor, setCursor, setDrawable, setImageOperation, setLink, setPrepare, startAnimation, stopAnimation |
| Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, 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, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setComponentOrientation, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
AZALT
public static final String AZALT
- Name of plot set.
- See Also:
- Constant Field Values
AZ
public static final String AZ
- Name of azimuth.
- See Also:
- Constant Field Values
ALT
public static final String ALT
- Name of altitude.
- See Also:
- Constant Field Values
KEY_PINHOLESIZE
public static final String KEY_PINHOLESIZE
- Size of the pinhole in arcsec.
- See Also:
- Constant Field Values
KEY_AZSTATISTIC
public static final String KEY_AZSTATISTIC
- Position of the azimuth statistic in normaliyed coordinates.
- See Also:
- Constant Field Values
KEY_ALTSTATISTIC
public static final String KEY_ALTSTATISTIC
- Position of the altitude statistic in normaliyed coordinates.
- See Also:
- Constant Field Values
KEY_MEANFORMAT
public static final String KEY_MEANFORMAT
- Format of means.
- See Also:
- Constant Field Values
KEY_RMSFORMAT
public static final String KEY_RMSFORMAT
- Format of RMS.
- See Also:
- Constant Field Values
KEY_MONOFONT
public static final String KEY_MONOFONT
- Font for statistic, should be monospaced.
- See Also:
- Constant Field Values
DEFDRAWINGSETS
private static final String DEFDRAWINGSETS
- Per default we display the telescope axis power and a seeing.
- See Also:
- Constant Field Values
DEFPOLYGONSHAPE
private static final String DEFPOLYGONSHAPE
- The default shapes.
- See Also:
- Constant Field Values
DEFPINHOLESIZE
private static final double DEFPINHOLESIZE
- Size of aperture in arcsec.
- See Also:
- Constant Field Values
DEFAZSTATISTIC
private static final Point2D DEFAZSTATISTIC
- Position of the altitude statistic in normaliyed coordinates.
DEFALTSTATISTIC
private static final Point2D DEFALTSTATISTIC
- Position of the altitude statistic in normaliyed coordinates.
DEFMONOFONT
private static final String DEFMONOFONT
- The default font.
- See Also:
- Constant Field Values
DEFMEANFORMAT
private static final DecimalFormat DEFMEANFORMAT
- Formatter for means.
DEFRMSFORMAT
private static final DecimalFormat DEFRMSFORMAT
- Formatter for rms.
PINHOLE
private static final String PINHOLE
- The pinhole set.
- See Also:
- Constant Field Values
JGuiderOffsets
public JGuiderOffsets(ResourceSupplying prop)
- Constructs a new data canvas that goes into listening state on
init().
setComposedProperties
public void setComposedProperties(ResourceSupplying prop)
- Defaults the repository name and the sensors to monitor.
- Specified by:
setComposedProperties in interface ResourceAware- Overrides:
setComposedProperties in class JDataCanvas
init
public void init()
- We insert the drawing info for the pinhole
- Specified by:
init in interface Initializable- Overrides:
init in class JDataCanvas
addPinhole
public void addPinhole()
- Adds the pinhole as a normalized drawable ellipse.
addPinhole
public void addPinhole(double darcsec)
- Adds the pinhole as a normalized shape.
addStatistic
public void addStatistic(double azmean,
double azsig,
double altmean,
double altsig)
- Displays the mean azimuth offset and its standard deviation at a fixed
location.
clearData
public boolean clearData()
- On clearing the data, we also clear the pinhole.
- Overrides:
clearData in class JDataCanvas