|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
jview.JExitFrame
jview.JConfirmExitFrame
jview.JBorderFrame
jview.JOpenFrame
jview.JClientFrame
stella.jview.JMasterDisplay
stella.jview.JAcquireDisplay
public class JAcquireDisplay
An acquire display shows the individual acquire frames and the combined guiding frame of a target. The acquire frames are collected in a tabbed pane, starting from the first try to the final one.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class stella.jview.JMasterDisplay |
|---|
JMasterDisplay.Show |
| Nested classes/interfaces inherited from class jview.JClientFrame |
|---|
JClientFrame.ClientListener |
| Nested classes/interfaces inherited from class javax.swing.JFrame |
|---|
JFrame.AccessibleJFrame |
| Nested classes/interfaces inherited from class java.awt.Frame |
|---|
Frame.AccessibleAWTFrame |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
Window.AccessibleAWTWindow |
| 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 | |
|---|---|
private Map<String,JTabbedPane> |
canvastabs
This is the tabbed pane with the coarse images. |
private Map<String,DrawingInfo> |
color
part files to colors. |
private static String |
DEFDRAWEXPECT
Per default we draw the expected field, if available with this part. |
private static Dimension |
DEFGUIDEBIN
The default binning on acquire. |
private static Rectangle |
DEFGUIDEFRAME
The default fine acquire frame. |
private static String |
DEFGUIDEHEAD
The part of the file name before unique. |
private static String |
DEFLOCALDIR
The name of the local directory. |
private static String |
DEFSCPCOMMAND
The scp command to copy to local directory. |
private static String |
DEFSTARCOLOR
The default colors. |
private static String |
DEFSTARSHAPE
The default shapes. |
private static DateFormat |
DEFSUBDIRFORMAT
The name of the local directory. |
private static String |
DEFTENERIFE
The scp command to copy to local directory from tenerife. |
private static String |
DEFTMPDIR
The name of the temp directory. |
private static String |
DEFUNCOMPRESS
The uncompress command to make the images readable. |
private JFitsCanvas |
guide
The combined guider canvas . |
static String |
KEY_BINNINGS
Linkage of fits headers to optional binnings. |
static String |
KEY_CANVASMAP
Linkage of fits headers to canvas properties. |
static String |
KEY_DRAWEXPECT
If this is given it is the fov file name part for expected fields. |
static String |
KEY_FRAMEMAP
Linkage of fits headers to optional frames. |
static String |
KEY_FWHMSCALES
Linkage of fits headers to fwhm scales. |
static String |
KEY_GRIDMAP
Linkage of fits headers to grid positions. |
static String |
KEY_GUIDEBIN
The guide binning. |
static String |
KEY_GUIDEFITS
The properties of the guidee fits canvas. |
static String |
KEY_GUIDEFRAME
The guiding frame. |
static String |
KEY_GUIDEHEAD
The part of the file name before unique for guide. |
static String |
KEY_GUIDEPOS
The guiding frame. |
static String |
KEY_LOCALDIR
The name of the local directory. |
static String |
KEY_PINHOLE
The location of the direct pinhole. |
static String |
KEY_SCPCOMMAND
The scp command to copy to local directory. |
static String |
KEY_STARCOLOR
For each fov, we have a drawing style. |
static String |
KEY_STARSHAPE
For each fov, we have a drawing shape. |
static String |
KEY_SUBDIRFORMAT
The name of the local directory. |
static String |
KEY_TENERIFE
The scp command to copy to local directory. |
static String |
KEY_TMPDIR
The name of the tmp directory. |
static String |
KEY_UNCOMPRESS
The command to uncompress fits file to make it readable. |
static String |
MEDIAN
Default guider-average mark. |
private Map<String,Shape> |
shape
part files to shapes. |
| Fields inherited from class stella.jview.JMasterDisplay |
|---|
KEY_BINDNAME, KEY_REFRESH, KEY_ROBOTPROPS, KEY_ROBOTSEQUENCE, KEY_SWITCHMONITOR, KEY_TELESCOPECHAR |
| Fields inherited from class jview.JClientFrame |
|---|
CONNECTACTION, DISCONNECTACTION, KEY_CONNECTONINIT, KEY_ICONCONNECT, KEY_ICONDISCONNECT |
| Fields inherited from class jview.JOpenFrame |
|---|
EMPTYACTION, EXITACTION, EXPORTACTION, KEY_FILEACTIONS, KEY_FILEHOME, OPENACTION, PRINTACTION, SAVEACTION |
| Fields inherited from class jview.JBorderFrame |
|---|
DATACLEANSE, KEY_ABOUTURL, KEY_ACTIONCLASS, KEY_AIPLOGO, KEY_BIGGERSTRUT, KEY_DATAANALYSER, KEY_EASTALIGNMENT, KEY_FITTERS, KEY_FITTERTIPS, KEY_HELPSIZE, KEY_LESSERSTRUT, KEY_NOLOGO, KEY_NORTHALIGNMENT, KEY_SOUTHALIGNMENT, KEY_WESTALIGNMENT, MODELFITTER |
| Fields inherited from class javax.swing.JFrame |
|---|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Frame |
|---|
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface jview.ClientLabels |
|---|
KEY_CONNECTERROR, KEY_CONNECTTITLE, KEY_DISCONNECTERROR |
| Fields inherited from interface jview.BorderLabels |
|---|
KEY_ABOUT, KEY_ABOUTACC, KEY_FILEACCS, KEY_FILEITEMS, KEY_FILEMENU, KEY_FILEMNEMONIC, KEY_HELPMENU, KEY_HELPMNEMONIC, KEY_HELPTITLE, KEY_NOHELP, KEY_NOURLACCESS, KEY_TITLE |
| Fields inherited from interface javax.swing.WindowConstants |
|---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
JAcquireDisplay(Map<String,String> prop)
A simple info display that retrieves the fits header data for a specified pick. |
|
JAcquireDisplay(PropertyBearing prop)
A simple display showing guiding data. |
|
| Method Summary | |
|---|---|
private void |
applyStars(JFitsCanvas canvas,
String to,
Dimension fwhm0)
|
Component |
getRepresentation()
We return our representation. |
void |
init()
We set up our formatters. |
static void |
main(String[] arg)
Launches a the allsky display |
protected boolean |
processExternally(HistoryAware.Pick pick)
This method is only called if we have not found the file locally. |
protected boolean |
processLocally(HistoryAware.Pick pick)
We grab the unique id of the pick, and see if the frames are available. |
void |
setComposedProperties(PropertyBearing info)
Defaults the display. |
private boolean |
uncompress(File fitz,
String localdir)
Uncompresses a file to the local directory and deletes the old file. |
private boolean |
uncompressAll(File[] all,
String localdir)
Uncompresss all file to the given directory. |
| Methods inherited from class stella.jview.JMasterDisplay |
|---|
connect, disconnect, execute, execute, getIcon, getRefreshInterval, isFixedRate, openFile, processPick, refresh, scanDir |
| Methods inherited from class jview.JClientFrame |
|---|
abolishConnection, actionPerformed, createConnect, establishConnection, exit, getBottomItems |
| Methods inherited from class jview.JOpenFrame |
|---|
createCheckBoxMenuItem, createLocalizedCheckBoxMenuItem, exportCenter, getExportRepresentation, getHelpActions, getMenus, getOpenFilter, getPrintRepresentation, getSaveFilter, getSaveRepresentation, populateMenu, printCenter, saveFile |
| Methods inherited from class jview.JConfirmExitFrame |
|---|
disposeAndExit |
| Methods inherited from class jview.JExitFrame |
|---|
setVisible |
| Methods inherited from class java.awt.Frame |
|---|
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface util.PropertyComposed |
|---|
getComposedProperties |
| Methods inherited from interface java.awt.MenuContainer |
|---|
getFont, postEvent |
| Field Detail |
|---|
public static final String MEDIAN
public static final String KEY_PINHOLE
public static final String KEY_CANVASMAP
public static final String KEY_FWHMSCALES
public static final String KEY_FRAMEMAP
public static final String KEY_BINNINGS
public static final String KEY_GRIDMAP
public static final String KEY_GUIDEFITS
public static final String KEY_GUIDEPOS
public static final String KEY_GUIDEFRAME
public static final String KEY_GUIDEBIN
public static final String KEY_GUIDEHEAD
public static final String KEY_LOCALDIR
public static final String KEY_TMPDIR
public static final String KEY_SUBDIRFORMAT
public static final String KEY_SCPCOMMAND
public static final String KEY_TENERIFE
public static final String KEY_UNCOMPRESS
public static final String KEY_STARCOLOR
public static final String KEY_STARSHAPE
public static final String KEY_DRAWEXPECT
private static final Rectangle DEFGUIDEFRAME
private static final Dimension DEFGUIDEBIN
private static final String DEFGUIDEHEAD
private static final String DEFLOCALDIR
private static final String DEFTMPDIR
private static final DateFormat DEFSUBDIRFORMAT
private static final String DEFSCPCOMMAND
private static final String DEFTENERIFE
private static final String DEFUNCOMPRESS
private static final String DEFDRAWEXPECT
private static final String DEFSTARCOLOR
private static final String DEFSTARSHAPE
private Map<String,JTabbedPane> canvastabs
private JFitsCanvas guide
private Map<String,DrawingInfo> color
private Map<String,Shape> shape
| Constructor Detail |
|---|
public JAcquireDisplay(PropertyBearing prop)
throws RemoteException
RemoteException
public JAcquireDisplay(Map<String,String> prop)
throws RemoteException
RemoteException| Method Detail |
|---|
public void setComposedProperties(PropertyBearing info)
setComposedProperties in interface PropertyAwaresetComposedProperties in class JMasterDisplaypublic void init()
init in interface Initializableinit in class JMasterDisplaypublic Component getRepresentation()
getRepresentation in interface DisplayablegetRepresentation in class JBorderFrameprotected boolean processLocally(HistoryAware.Pick pick)
processLocally in class JMasterDisplay
private void applyStars(JFitsCanvas canvas,
String to,
Dimension fwhm0)
protected boolean processExternally(HistoryAware.Pick pick)
processExternally in class JMasterDisplay
private boolean uncompressAll(File[] all,
String localdir)
private boolean uncompress(File fitz,
String localdir)
public static void main(String[] arg)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||