|
||||||||||
| 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.JMasterFrame
stella.jview.JAdapter
public class JAdapter
This class displays an acquire and a guiding frame, as well as an offset history.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class stella.jview.JMasterFrame |
|---|
JMasterFrame.Show, JMasterFrame.Signal |
| 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 JGuiderPanel |
acquire
The acquire panel. |
private JPanel |
central
My display. |
private static String |
DEFACQUIREPANEL
The default acquire properties. |
private static String |
DEFFILEACTIONS
The action commands used for identfiying file menu actions. |
private static String |
DEFGUIDINGPANEL
The default acquire properties. |
private static String |
DEFOFFSETPID
The default acquire properties. |
private static String |
DEFOFFSETPIXEL
The default acquire properties. |
private static String |
DEFPIDALTNAME
The properties of the offset history. |
private static String |
DEFPIDAZNAME
The properties of the offset history. |
private static String |
DEFPIDTAB
The properties of the offset history. |
private static String |
DEFPIDTOTNAME
The properties of the offset history. |
private static String |
DEFPIXELTAB
The properties of the offset history. |
private static String |
DEFPIXELTOTNAME
The properties of the offset history. |
private static String |
DEFPIXELXNAME
The properties of the offset history. |
private static String |
DEFPIXELYNAME
The properties of the offset history. |
private static String |
DEFRESOURCEBUNDLES
The resource bundles for localized labels and text. |
private JGuiderPanel |
guiding
The acquire panel. |
static String |
KEY_ACQUIREPANEL
The properties of the acquire panel. |
static String |
KEY_GUIDINGPANEL
The properties of the guiding panel. |
static String |
KEY_OFFSETPID
The properties of the offset history. |
static String |
KEY_OFFSETPIXEL
The properties of the offset history. |
static String |
KEY_PIDALTNAME
The properties of the offset history. |
static String |
KEY_PIDAZNAME
The properties of the offset history. |
static String |
KEY_PIDTAB
The properties of the offset history. |
static String |
KEY_PIDTOTNAME
The properties of the offset history. |
static String |
KEY_PIXELTAB
The properties of the offset history. |
static String |
KEY_PIXELTOTNAME
The properties of the offset history. |
static String |
KEY_PIXELXNAME
The properties of the offset history. |
static String |
KEY_PIXELYNAME
The properties of the offset history. |
static String |
KEY_STARTUNIQUE
The properties of the offset history. |
private JDataCanvas |
pidoffset
The offset history. |
private JDataCanvas |
pixeloffset
The offset history. |
| Fields inherited from class stella.jview.JMasterFrame |
|---|
KEY_ACKNOWLEDGECASTER, KEY_COMMANDCASTER, KEY_DATACASTER, KEY_DONECASTER, KEY_ERRORCASTER, KEY_INTERVAL, KEY_REPOSITORY, KEY_WEATHERCASTER |
| 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 | |
|---|---|
JAdapter(LocalizedSupplying prop)
Constructs a new JAdapter. |
|
JAdapter(Map<String,String> prop)
Constructs a generic peripheral from a property container. |
|
| Method Summary | |
|---|---|
protected FileFilter |
getOpenFilter()
Returns only files that start with adapter and end with jar. |
Component |
getRepresentation()
Returns the entire environment in a single panel. |
void |
init()
On init, we construct and initialize the GuiderPanel that show
the acquire and guiding frame. |
static void |
main(String[] arg)
Launches a roof control program. |
protected boolean |
openFile(File fopen)
Per default, we cannot open a file. |
void |
rmiErrorOccured(ErrorEvent ee)
The receiving edge of the error listener. |
void |
setComposedProperties(LocalizedSupplying prop)
Sets a LocalizedSupplying object as a composite of the canvas. |
| Methods inherited from class stella.jview.JMasterFrame |
|---|
accepts, connect, createStatus, disconnect, disconnect, getListenerName, isConnected, rmiCommand, rmiDataAvailable, rmiGetInterval, rmiGotAcknowledge, rmiGotDone, rmiProcessData, rmiWeatherChanged |
| Methods inherited from class jview.JClientFrame |
|---|
abolishConnection, actionPerformed, createConnect, establishConnection, exit, getBottomItems |
| Methods inherited from class jview.JConfirmExitFrame |
|---|
disposeAndExit, disposeImmediately |
| 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.LocalizedComposed |
|---|
getComposedProperties |
| Methods inherited from interface jview.Displayable |
|---|
getIcon |
| Methods inherited from interface java.awt.MenuContainer |
|---|
getFont, postEvent |
| Field Detail |
|---|
public static final String KEY_ACQUIREPANEL
public static final String KEY_GUIDINGPANEL
public static final String KEY_OFFSETPID
public static final String KEY_OFFSETPIXEL
public static final String KEY_PIDTAB
public static final String KEY_PIDAZNAME
public static final String KEY_PIDALTNAME
public static final String KEY_PIDTOTNAME
public static final String KEY_PIXELTAB
public static final String KEY_PIXELTOTNAME
public static final String KEY_PIXELXNAME
public static final String KEY_PIXELYNAME
public static final String KEY_STARTUNIQUE
private static final String DEFACQUIREPANEL
private static final String DEFGUIDINGPANEL
private static final String DEFOFFSETPID
private static final String DEFOFFSETPIXEL
private static final String DEFPIDTAB
private static final String DEFPIDAZNAME
private static final String DEFPIDALTNAME
private static final String DEFPIDTOTNAME
private static final String DEFPIXELTAB
private static final String DEFPIXELTOTNAME
private static final String DEFPIXELXNAME
private static final String DEFPIXELYNAME
private static final String DEFRESOURCEBUNDLES
private static final String DEFFILEACTIONS
private JPanel central
private JGuiderPanel acquire
private JGuiderPanel guiding
private JDataCanvas pidoffset
private JDataCanvas pixeloffset
| Constructor Detail |
|---|
public JAdapter(Map<String,String> prop)
throws RemoteException
RemoteException
public JAdapter(LocalizedSupplying prop)
throws RemoteException
RemoteException| Method Detail |
|---|
public void setComposedProperties(LocalizedSupplying prop)
LocalizedSupplying object as a composite of the canvas.
Defaults the necessary parameter.
setComposedProperties in interface LocalizedAwaresetComposedProperties in class JMasterFramepublic void init()
GuiderPanel that show
the acquire and guiding frame. The offset history is constructed and
initilaized.
init in interface Initializableinit in class JMasterFramepublic Component getRepresentation()
getRepresentation in interface DisplayablegetRepresentation in class JBorderFrameprotected boolean openFile(File fopen)
JMasterFrame
openFile in class JMasterFrame
public void rmiErrorOccured(ErrorEvent ee)
throws RemoteException
rmiErrorOccured in interface RmiErrorListenerrmiErrorOccured in class JMasterFrameRemoteExceptionprotected FileFilter getOpenFilter()
getOpenFilter in class JOpenFrame
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 | |||||||||