|
||||||||||
| 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.JAllskyDisplay
public class JAllskyDisplay
This class displays last night's all-sky images in a slow movie and listens to clicks on history aware instances. This class is supposed to run with minimal user interaction, thus we do not provide a menu. The central component is a jchronology.
| 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 JAllskyChronology |
allsky
The central component is a chronology. |
private Box |
bradford
To the sides, we add to bradford night cams. |
private static Color |
DEFBORDERCOLOR
Default border color. |
private static boolean |
DEFCONNECTONINIT
Per default we start listening at update. |
static String |
KEY_ALLSKY
The properties of our main display. |
static String |
KEY_ALLSKYBORDER
The sizes of the border on the all sky component. |
static String |
KEY_BORDERCOLOR
The border color. |
static String |
KEY_BRADBORDER
The sizes of the border on the all sky component. |
static String |
KEY_BRADSKY1
The properties of our secondary display. |
static String |
KEY_BRADSKY2
The properties of our secondary display. |
| 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 | |
|---|---|
JAllskyDisplay(Map<String,String> prop)
A simple info display that retrieves the fits header data for a specified pick. |
|
JAllskyDisplay(PropertyBearing info)
When this method returns, we are unicast exported. |
|
| Method Summary | |
|---|---|
void |
exit()
On exit, we close the database. |
protected List |
getBottomItems()
Returns the list of bottom items, which is the status panel plus the connect button. |
protected List |
getMenus()
We override here to provide an empty menu list. |
Component |
getRepresentation()
Returns the all-sky chronology. |
void |
init()
On initialisation we construct the chronology using the allsky cam. |
static void |
main(String[] arg)
Launches a the allsky display |
protected boolean |
processExternally(HistoryAware.Pick pick)
This method should never be called. |
protected boolean |
processLocally(HistoryAware.Pick pick)
This method is called firstly when a pick event is received. |
void |
setComposedProperties(PropertyBearing prop)
Sets a PropertyBearing object as a composite of the canvas. |
| 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 |
| Methods inherited from class jview.JOpenFrame |
|---|
createCheckBoxMenuItem, createLocalizedCheckBoxMenuItem, exportCenter, getExportRepresentation, getHelpActions, 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 KEY_ALLSKY
public static final String KEY_BORDERCOLOR
public static final String KEY_ALLSKYBORDER
public static final String KEY_BRADBORDER
public static final String KEY_BRADSKY1
public static final String KEY_BRADSKY2
private static final boolean DEFCONNECTONINIT
private static final Color DEFBORDERCOLOR
private JAllskyChronology allsky
private Box bradford
| Constructor Detail |
|---|
public JAllskyDisplay(Map<String,String> prop)
throws RemoteException
RemoteException
public JAllskyDisplay(PropertyBearing info)
throws RemoteException
RemoteException| Method Detail |
|---|
public void setComposedProperties(PropertyBearing prop)
PropertyBearing object as a composite of the canvas.
Defaults the necessary parameter.
setComposedProperties in interface PropertyAwaresetComposedProperties in class JMasterDisplaypublic void init()
IllegalArgumentException if the chronology cannot
be constructed.
init in interface Initializableinit in class JMasterDisplaypublic void exit()
exit in interface ExitCleaningexit in class JClientFramepublic Component getRepresentation()
getRepresentation in interface DisplayablegetRepresentation in class JBorderFrameprotected List getMenus()
getMenus in class JOpenFrameprotected boolean processLocally(HistoryAware.Pick pick)
processLocally in class JMasterDisplayprotected boolean processExternally(HistoryAware.Pick pick)
processExternally in class JMasterDisplayprotected List getBottomItems()
JClientFrame
getBottomItems in class JClientFrame
public static void main(String[] arg)
throws RemoteException
RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||