stella.jview
Class JQuadrants
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
jview.JNormalizedCanvas
stella.jview.JAltAzTelescope
stella.jview.JQuadrants
- All Implemented Interfaces:
- ImageObserver, MenuContainer, Serializable, NormalizedCoordinates, NormalizedShapes, Initializable, ResourceAware, ResourceComposed, Savable
public class JQuadrants
- extends JAltAzTelescope
A class to produce a plot that shows the four quadrants of image rotation. If
an argument is given, this is taken as the pre-derot.
- See Also:
- Serialized Form
| 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 |
| Methods inherited from class jview.JNormalizedCanvas |
addCrossCursor, addDrawable, addDrawable, addDrawable, addDrawingInfo, addLink, addLink, addPoint, addPoint, addText, addText, allInside, applyDrawingInfo, assignCursorLabel, calculateShapeTransform, clearAllDrawable, clearAllText, clearDrawable, clearText, createCanvasCursor, disabledCanvas, drawPoints, drawPointsMap, drawShapes, drawShapesMap, drawText, drawTextMap, firePropertyChange, getActions, getAllCanvasCursors, getAnimationInfo, getArea, getBackground, getBackgroundImage, getCanvasCursor, getClosest, getClosest, getClosest, getClosestShape, getComposedProperties, getFromName, getImageOperation, getInside, getInsideShapes, getInverseTransform, getLink, getLinkedTo, getMaximumSize, getMinimumSize, getNormalized, getNormalizedRect, getPreferredSize, getSaveBuffer, getScreen, getScreenRect, getShapeTransform, getViewport, isEmpty, isFlipX, isFlipY, isNormalizedOnScreen, isScreenInNormalized, paintComponent, paintPointsList, paintShapesList, paintTextList, prepareCanvas, printComponent, removeDrawable, removeDrawable, removeLink, removeText, removeText, repaintLater, repaintNow, setBackgroundImage, setBounds, setComplete, setCursor, setCursor, setDrawable, setImageOperation, setLink, setPrepare, startAnimation, stopAnimation, wasReshaped |
| 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 |
KEY_PREROTATION
public static final String KEY_PREROTATION
- Pre-rotation of the frame.
- See Also:
- Constant Field Values
KEY_LATITUDE
public static final String KEY_LATITUDE
- The key for querrying the Teide longitude from the properties.
- See Also:
- Constant Field Values
KEY_Q1
public static final String KEY_Q1
- The color for quadrant 1.
- See Also:
- Constant Field Values
KEY_Q2
public static final String KEY_Q2
- The color for quadrant 1.
- See Also:
- Constant Field Values
KEY_Q3
public static final String KEY_Q3
- The color for quadrant 1.
- See Also:
- Constant Field Values
KEY_Q4
public static final String KEY_Q4
- The color for quadrant 1.
- See Also:
- Constant Field Values
KEY_GRAYSCALE
public static final String KEY_GRAYSCALE
- Transfering revolution speed in gray scale.
- See Also:
- Constant Field Values
KEY_GRAYOFF
public static final String KEY_GRAYOFF
- Transfering revolution speed in gray scale.
- See Also:
- Constant Field Values
KEY_SHOWSPEED
public static final String KEY_SHOWSPEED
- Show speed plot instead of quadrants.
- See Also:
- Constant Field Values
DEFPREROTATION
private static final double DEFPREROTATION
- Defaults to zero.
- See Also:
- Constant Field Values
DEFQ1
private static final Color DEFQ1
- Default q1 color.
DEFQ2
private static final Color DEFQ2
- Default q1 color.
DEFQ3
private static final Color DEFQ3
- Default q1 color.
DEFQ4
private static final Color DEFQ4
- Default q1 color.
DEFGRAYSCALE
private static final double DEFGRAYSCALE
- Default scaling. 1/60. deg/sec for white.
- See Also:
- Constant Field Values
DEFGRAYOFF
private static final double DEFGRAYOFF
- Default scaling. 1/60. deg/sec for white.
- See Also:
- Constant Field Values
DEFSHOWSPEED
private static final boolean DEFSHOWSPEED
- Default show quadrants.
- See Also:
- Constant Field Values
phi
private double phi
- The latitude of the site.
JQuadrants
public JQuadrants(ResourceSupplying prop)
setComposedProperties
public void setComposedProperties(ResourceSupplying prop)
- Description copied from class:
JAltAzTelescope
- Defaults the grid steps and the prefereed size.
- Specified by:
setComposedProperties in interface ResourceAware- Overrides:
setComposedProperties in class JAltAzTelescope
paintObjects
protected void paintObjects(Graphics g,
AffineTransform af)
- Description copied from class:
JAltAzTelescope
- After painting the objects, we draw the location of the telescope, if we
have it.
- Overrides:
paintObjects in class JAltAzTelescope