|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
jview.JNormalizedCanvas
jview.JViewportCanvas
jview.JFrameCanvas
jview.JFitsCanvas
jview.JSkyCanvas
jview.JSkyGrid
public class JSkyGrid
A class that show a finding chart. JStarCatalogs can be added to the
sky chart.
| Nested Class Summary | |
|---|---|
static class |
JSkyGrid.Display
Test the functionality. |
| Nested classes/interfaces inherited from class jview.JFitsCanvas |
|---|
JFitsCanvas.Show |
| Nested classes/interfaces inherited from class jview.JFrameCanvas |
|---|
JFrameCanvas.Test |
| Nested classes/interfaces inherited from class jview.JViewportCanvas |
|---|
JViewportCanvas.ViewportKey |
| Nested classes/interfaces inherited from class jview.JNormalizedCanvas |
|---|
JNormalizedCanvas.ShowImage |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
static String |
CONSTELLATION
Set name of the ra/dec grid. |
private static Color |
DEFCONSTELLATIONCOLOR
Default grid color. |
private static double |
DEFDEGRIDSTEP
The key to grid ra steps. |
private static Color |
DEFGRIDCOLOR
Default grid color. |
private static double |
DEFRAGRIDSTEP
The key to grid ra steps. |
private static boolean |
DEFSHOWCONSTELLATION
Default constellation drawing. |
private static boolean |
DEFSHOWGRID
Default grid drawing. |
static String |
GRID
Set name of the ra/dec grid. |
static String |
KEY_CONSTELLATIONCOLOR
The key to constellations color. |
static String |
KEY_DEGRIDSTEP
The key to grid ra steps. |
static String |
KEY_GRIDCOLOR
The key to grid color. |
static String |
KEY_RAGRIDSTEP
The key to grid ra steps. |
static String |
KEY_SHOWCONSTELLATION
True, if the constellations should be displayed.. |
static String |
KEY_SHOWGRID
True, if the grid should be displayed. |
private static String |
SHOWCONSTELLATION
The key to grid ra steps. |
private static String |
SHOWGRID
The key to grid ra steps. |
| Fields inherited from class jview.JSkyCanvas |
|---|
A0, A5, B0, B5, CENTRAL, F0, F5, G0, G5, K0, K5, KEY_CENTRALCOLOR, KEY_FIXEDSTARSIZE, KEY_MAGLIMIT, KEY_MARKCENTER, KEY_USECATALOGCOLOR, M0, M5, M8, MX, O |
| Fields inherited from class jview.JFitsCanvas |
|---|
ARRAY, KEY_FORMATWCS, KEY_HIGHMODE, KEY_KEEP, KEY_LOWKEEP, KEY_LOWMODE, KEY_MAXMAGNIFY, KEY_NEVERESTIMATESIZE, KEY_RGBGRAY, KEY_SCALING, KEY_SMARTKEEP, KEY_XTENSION, KEY_XTENSIONFLIP, WCS |
| Fields inherited from class jview.JViewportCanvas |
|---|
MAXVIEW, VIEWPORTIMAGEPROPERTY, VIEWPORTPROPERTY |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| 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 | |
|---|---|
JSkyGrid(ResourceSupplying prop)
Calls the superconstructor with no arguments. |
|
| Method Summary | |
|---|---|
private void |
addConstellation(CoordinateTransforming radec)
Adds the outline of the constellations. |
private void |
addGrid(CoordinateTransforming radec)
Adds the grid at the predefined step size. |
void |
init()
Adds the grid and constellation drawing info. |
void |
setComposedProperties(ResourceSupplying prop)
Sets the composed properties of this component. |
void |
setUserTransformation(CoordinateTransforming radec)
Adjusts constellation boundaries and grid lines to the new size. |
Action |
toggleConstellationDraw()
Toggles the constellation-draw flag. |
Action |
toggleGridDraw()
Toggles the grid-draw flag. |
| Methods inherited from class jview.JSkyCanvas |
|---|
addCatalog, drawShapes, isEmpty, removeCatalog, setSection, toggleCenterDraw, toggleUseCatalogColor |
| Methods inherited from class jview.JFrameCanvas |
|---|
calculateActiveCanvas, calculateShapeTransform, getArea, isScreenInNormalized, paintObjects, prepareCanvas, wasReshaped |
| Methods inherited from class jview.JViewportCanvas |
|---|
addAttachedViewport, addZoom, getViewport, getViewportImage, isMaximalViewport, isNormalizedOnScreen, removeAttachedViewport, resetViewport, selectArea, selectViewport, setViewportImage, transferView |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jview.NormalizedCoordinates |
|---|
getArea, getNormalized, getNormalizedRect, getScreen, getScreenRect, getViewport, isNormalizedOnScreen, isScreenInNormalized |
| Field Detail |
|---|
public static final String GRID
public static final String CONSTELLATION
public static final String KEY_RAGRIDSTEP
public static final String KEY_DEGRIDSTEP
public static final String KEY_GRIDCOLOR
public static final String KEY_CONSTELLATIONCOLOR
public static final String KEY_SHOWGRID
public static final String KEY_SHOWCONSTELLATION
private static final String SHOWGRID
private static final String SHOWCONSTELLATION
private static final double DEFRAGRIDSTEP
private static final double DEFDEGRIDSTEP
private static final boolean DEFSHOWGRID
private static final boolean DEFSHOWCONSTELLATION
private static final Color DEFGRIDCOLOR
private static final Color DEFCONSTELLATIONCOLOR
| Constructor Detail |
|---|
public JSkyGrid(ResourceSupplying prop)
| Method Detail |
|---|
public void setComposedProperties(ResourceSupplying prop)
setComposedProperties in interface ResourceAwaresetComposedProperties in class JSkyCanvaspublic void init()
init in interface Initializableinit in class JSkyCanvaspublic void setUserTransformation(CoordinateTransforming radec)
setUserTransformation in interface UserCoordinatessetUserTransformation in class JFitsCanvaspublic Action toggleGridDraw()
public Action toggleConstellationDraw()
private void addGrid(CoordinateTransforming radec)
private void addConstellation(CoordinateTransforming radec)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||