stella.jview
Class JResultsPanel

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Frame
                  extended by javax.swing.JFrame
                      extended by jview.JExitFrame
                          extended by jview.JConfirmExitFrame
                              extended by jview.JBorderFrame
                                  extended by jview.JOpenFrame
                                      extended by jview.JClientFrame
                                          extended by stella.jview.JMasterDisplay
                                              extended by stella.jview.JDatabaseDisplay
                                                  extended by stella.jview.JResultsPanel
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, Remote, EventListener, Accessible, ListSelectionListener, RootPaneContainer, WindowConstants, BorderLabels, ClientLabels, Displayable, PickListener, PsqlTables, ClientObject, ExitCleaning, Initializable, LocalizedAware, LocalizedComposed, Refreshing

public class JResultsPanel
extends JDatabaseDisplay
implements Refreshing, ActionListener, ListSelectionListener

This class delivers a displayable that is ment to display lately obtained results from SES and Wifsip in a continuous fashion.

See Also:
Serialized Form

Nested Class Summary
static class JResultsPanel.Show
          Test.
 
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,Object> cache
          We cache the last valid object on each telescope, to decide updates.
private static String DEFBINDNAME
          The default target name field in the database
private static int DEFDONELIMIT
          The default limit.
private static String DEFDURATIONFIELD
          The default target name field in the database
private static String DEFMERITFIELD
          The default target name field in the database
private static String DEFOBJECTFIELD
          The default target name field in the database
private static String DEFPIFIELD
          The key to the merit column name in the database.
private static String DEFPROPOSALPROPID
          The key to the telescope name in the database.
private static long DEFSESMINDURATION
          The default minimum duration for ses.
private static String DEFSTARTFIELD
          The default target name field in the database
private static String DEFSUCCESSFIELD
          The default target name field in the database
private static String DEFTASKOBJECT
          The key to the merit column name in the database.
private static String DEFTASKPROPID
          The key to the telescope name in the database.
private static String DEFTASKTELESCOPE
          The key to the telescope name in the database.
private static String DEFTELESCOPEFIELD
          The default target name field in the database
private static String DEFUNIQUEFIELD
          The default target name field in the database
private static long DEFWIFSIPMINDURATION
          The default minimum duration for wifsip.
static String KEY_DONELIMIT
          Limit the SQL queries to this length.
static String KEY_DURATIONFIELD
          The key to the duration column name in the database.
static String KEY_MAXLENGTH
          Limit the list length to this length.
static String KEY_MERITFIELD
          The key to the merit column name in the database.
static String KEY_OBJECTFIELD
          The key to the object name in the database.
static String KEY_PIFIELD
          The key to the merit column name in the database.
static String KEY_PROPOSALPROPID
          The key to the telescope name in the database.
static String KEY_SESMINDURATION
          Minimum duration to be considered on SES.
static String KEY_STARTFIELD
          The key to the start in the database.
static String KEY_SUCCESSFIELD
          The key to the success column name in the database.
static String KEY_TASKOBJECT
          The key to the merit column name in the database.
static String KEY_TASKPROPID
          The key to the telescope name in the database.
static String KEY_TASKTELESCOPE
          The key to the telescope name in the database.
static String KEY_TELESCOPEFIELD
          The key to the telescope name in the database.
static String KEY_UNIQUEFIELD
          The key to the unique identifier in the database.
static String KEY_WIFSIPMINDURATION
          Minimum duration to be considered on Wifsip.
static String PREFIX_NOTARGET
          Targets that are explicedly blocked are this plus telescope name.
static String PREFIX_NOUSER
          Users that are explicedly blocked are this plus telescope name.
static String PREFIX_YESTARGET
          Targets that are explicedly allowed are this plus telescope name.
static String PREFIX_YESUSER
          Users that are explicedly allowed are this plus telescope name.
private  JPanel result
          The central panel, where results are displayed.
static String SES
          DB name of STELLA-1, also SES button action.
static String SESLABEL
          Label on the STELLA-1 (SES) button.
private  MyList sesunique
          The list of unique ids in SES.
static String WIFSIP
          Label on the STELLA-1 (SES) button.
static String WIFSIPLABEL
          Label on the STELLA-2 (Wifsip) button.
private  MyList wifunique
          The list of unique ids in Wifsip.
 
Fields inherited from class stella.jview.JDatabaseDisplay
ISODATE, KEY_USERNAME
 
Fields inherited from class stella.jview.JMasterDisplay
KEY_BINDNAME, KEY_DISABLEWHILELOAD, 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 stella.sql.PsqlTables
DEFDONETABLE, DEFENVTABLE, DEFOBJID, DEFOBSTABLE, DEFPERMISSIONTABLE, DEFPROPOSALTABLE, DEFREDUCEDTABLE, DEFTARGETTABLE, DEFTASKTABLE, DEFUSERTABLE, KEY_DONETABLE, KEY_ENVTABLE, KEY_OBJID, KEY_OBSTABLE, KEY_PERMISSIONTABLE, KEY_PROPOSALTABLE, KEY_REDUCEDTABLE, KEY_TARGETTABLE, KEY_TASKTABLE, KEY_USERTABLE
 
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
JResultsPanel(LocalizedSupplying prop)
          Constructs a new results panel.
 
Method Summary
 void actionPerformaed(ActionEvent ae)
          We listen to action on the Wifsip and SES button.
protected  List<Object> getBottomItems()
          We do not display a status bar at the bottom.
protected  List<Object> getLeftItems()
          The list of left items is the ses button and the list of ids.
 Component getRepresentation()
          The component we deliver in the center is a panel with a card layout.
protected  Map<String,Method> getRequestedFields()
          Returns the data that should be retrieved from the done table.
protected  List<Object> getRightItems()
          Right panel, wifsip button plus list.
protected  String getTableName()
          Returns the done table as our primary request table.
 void init()
          We set our default close operation to nothing, allowing confirmed exit.
 boolean isFixedRate()
          false.
protected  boolean processExternally(HistoryAware.Pick pick)
          If data was not available on the local resources, but should be retrieved using external storage, processLocally(stella.HistoryAware.Pick) should return false, in which turn we end up here.
protected  boolean processLocally(HistoryAware.Pick pick)
          This method is called firstly when a pick event is received.
 void refresh()
          We query the most recent ID's on both telescope.
 void setComposedProperties(LocalizedSupplying prop)
          Denies display of the AIP logo to the right.
private  void updateList(MyList column, Map<String,List<Object>> done, String telescope)
          We update the list on the left or right side.
 void valueChanged(ListSelectionEvent lse)
          We listen to a list selection on either the SES or the WiFSIP list of recent observations.
 
Methods inherited from class stella.jview.JDatabaseDisplay
getRequestedNames, getResultSetMethod, getUserName, lookUp, queryDatabase, queryDatabase, queryDatabase, queryDatabase, querySingle, querySingle
 
Methods inherited from class stella.jview.JMasterDisplay
connect, disconnect, execute, execute, getIcon, getRefreshInterval, openFile, processPick, processPick, scanDir
 
Methods inherited from class jview.JClientFrame
abolishConnection, actionPerformed, createConnect, establishConnection, exit
 
Methods inherited from class jview.JOpenFrame
createCheckBoxMenuItem, createLocalizedCheckBoxMenuItem, createLocalizedMenu, createLocalizedMenuItem, createLocalizedRadioButtonMenuItem, createMenu, createMenuItem, createRadioButtonMenuItem, exportCenter, getExportRepresentation, getHelpActions, getMenus, getOpenFilter, getPrintRepresentation, getSaveFilter, getSaveRepresentation, populateMenu, printCenter, saveFile
 
Methods inherited from class jview.JBorderFrame
analyserListenTo, createButton, createCheckBox, createDataAnalysers, createFitters, createHelp, createLabel, createLocalizedButton, createLocalizedCheckBox, createLocalizedHelp, createLocalizedLabel, createLocalizedRadioButton, createRadioButton, createStatus, getAboutAction, getActiveFit, getBiggerStrut, getComposedProperties, getDataAnalysers, getFitterButtonGroup, getFitterComboBox, getLesserStrut, getModelFittings, getStatusField, getTopItems, hasFired, printAlignment, setAlignment, setFired
 
Methods inherited from class jview.JConfirmExitFrame
disposeAndExit, disposeImmediately
 
Methods inherited from class jview.JExitFrame
setVisible
 
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
 
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.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, 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, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface util.Refreshing
getRefreshInterval
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 
Methods inherited from interface util.LocalizedComposed
getComposedProperties
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Field Detail

SESLABEL

public static final String SESLABEL
Label on the STELLA-1 (SES) button.

See Also:
Constant Field Values

SES

public static final String SES
DB name of STELLA-1, also SES button action.

See Also:
Constant Field Values

WIFSIPLABEL

public static final String WIFSIPLABEL
Label on the STELLA-2 (Wifsip) button.

See Also:
Constant Field Values

WIFSIP

public static final String WIFSIP
Label on the STELLA-1 (SES) button.

See Also:
Constant Field Values

PREFIX_NOTARGET

public static final String PREFIX_NOTARGET
Targets that are explicedly blocked are this plus telescope name.

See Also:
Constant Field Values

PREFIX_YESTARGET

public static final String PREFIX_YESTARGET
Targets that are explicedly allowed are this plus telescope name.

See Also:
Constant Field Values

PREFIX_NOUSER

public static final String PREFIX_NOUSER
Users that are explicedly blocked are this plus telescope name.

See Also:
Constant Field Values

PREFIX_YESUSER

public static final String PREFIX_YESUSER
Users that are explicedly allowed are this plus telescope name.

See Also:
Constant Field Values

KEY_SESMINDURATION

public static final String KEY_SESMINDURATION
Minimum duration to be considered on SES.

See Also:
Constant Field Values

KEY_WIFSIPMINDURATION

public static final String KEY_WIFSIPMINDURATION
Minimum duration to be considered on Wifsip.

See Also:
Constant Field Values

KEY_DONELIMIT

public static final String KEY_DONELIMIT
Limit the SQL queries to this length. Can be large.

See Also:
Constant Field Values

KEY_MAXLENGTH

public static final String KEY_MAXLENGTH
Limit the list length to this length. Cannot be large.

See Also:
Constant Field Values

KEY_TELESCOPEFIELD

public static final String KEY_TELESCOPEFIELD
The key to the telescope name in the database.

See Also:
Constant Field Values

KEY_UNIQUEFIELD

public static final String KEY_UNIQUEFIELD
The key to the unique identifier in the database.

See Also:
Constant Field Values

KEY_OBJECTFIELD

public static final String KEY_OBJECTFIELD
The key to the object name in the database.

See Also:
Constant Field Values

KEY_STARTFIELD

public static final String KEY_STARTFIELD
The key to the start in the database.

See Also:
Constant Field Values

KEY_DURATIONFIELD

public static final String KEY_DURATIONFIELD
The key to the duration column name in the database.

See Also:
Constant Field Values

KEY_SUCCESSFIELD

public static final String KEY_SUCCESSFIELD
The key to the success column name in the database.

See Also:
Constant Field Values

KEY_MERITFIELD

public static final String KEY_MERITFIELD
The key to the merit column name in the database.

See Also:
Constant Field Values

KEY_PIFIELD

public static final String KEY_PIFIELD
The key to the merit column name in the database.

See Also:
Constant Field Values

KEY_TASKOBJECT

public static final String KEY_TASKOBJECT
The key to the merit column name in the database.

See Also:
Constant Field Values

KEY_TASKTELESCOPE

public static final String KEY_TASKTELESCOPE
The key to the telescope name in the database.

See Also:
Constant Field Values

KEY_TASKPROPID

public static final String KEY_TASKPROPID
The key to the telescope name in the database.

See Also:
Constant Field Values

KEY_PROPOSALPROPID

public static final String KEY_PROPOSALPROPID
The key to the telescope name in the database.

See Also:
Constant Field Values

DEFBINDNAME

private static final String DEFBINDNAME
The default target name field in the database

See Also:
Constant Field Values

DEFTELESCOPEFIELD

private static final String DEFTELESCOPEFIELD
The default target name field in the database

See Also:
Constant Field Values

DEFUNIQUEFIELD

private static final String DEFUNIQUEFIELD
The default target name field in the database

See Also:
Constant Field Values

DEFOBJECTFIELD

private static final String DEFOBJECTFIELD
The default target name field in the database

See Also:
Constant Field Values

DEFSTARTFIELD

private static final String DEFSTARTFIELD
The default target name field in the database

See Also:
Constant Field Values

DEFDURATIONFIELD

private static final String DEFDURATIONFIELD
The default target name field in the database

See Also:
Constant Field Values

DEFSUCCESSFIELD

private static final String DEFSUCCESSFIELD
The default target name field in the database

See Also:
Constant Field Values

DEFMERITFIELD

private static final String DEFMERITFIELD
The default target name field in the database

See Also:
Constant Field Values

DEFPIFIELD

private static final String DEFPIFIELD
The key to the merit column name in the database.

See Also:
Constant Field Values

DEFTASKOBJECT

private static final String DEFTASKOBJECT
The key to the merit column name in the database.

See Also:
Constant Field Values

DEFTASKTELESCOPE

private static final String DEFTASKTELESCOPE
The key to the telescope name in the database.

See Also:
Constant Field Values

DEFTASKPROPID

private static final String DEFTASKPROPID
The key to the telescope name in the database.

See Also:
Constant Field Values

DEFPROPOSALPROPID

private static final String DEFPROPOSALPROPID
The key to the telescope name in the database.

See Also:
Constant Field Values

DEFDONELIMIT

private static final int DEFDONELIMIT
The default limit.

See Also:
Constant Field Values

DEFSESMINDURATION

private static final long DEFSESMINDURATION
The default minimum duration for ses.

See Also:
Constant Field Values

DEFWIFSIPMINDURATION

private static final long DEFWIFSIPMINDURATION
The default minimum duration for wifsip.

See Also:
Constant Field Values

sesunique

private MyList sesunique
The list of unique ids in SES.


wifunique

private MyList wifunique
The list of unique ids in Wifsip.


result

private JPanel result
The central panel, where results are displayed.


cache

private Map<String,Object> cache
We cache the last valid object on each telescope, to decide updates.

Constructor Detail

JResultsPanel

public JResultsPanel(LocalizedSupplying prop)
              throws RemoteException
Constructs a new results panel.

Throws:
RemoteException
Method Detail

init

public void init()
Description copied from class: JMasterDisplay
We set our default close operation to nothing, allowing confirmed exit.

Specified by:
init in interface Initializable
Overrides:
init in class JMasterDisplay

setComposedProperties

public void setComposedProperties(LocalizedSupplying prop)
Denies display of the AIP logo to the right. Defaults the necessary parameter.

Specified by:
setComposedProperties in interface LocalizedAware
Overrides:
setComposedProperties in class JDatabaseDisplay

getRepresentation

public Component getRepresentation()
The component we deliver in the center is a panel with a card layout.

Specified by:
getRepresentation in interface Displayable
Overrides:
getRepresentation in class JBorderFrame

actionPerformaed

public void actionPerformaed(ActionEvent ae)
We listen to action on the Wifsip and SES button.


valueChanged

public void valueChanged(ListSelectionEvent lse)
We listen to a list selection on either the SES or the WiFSIP list of recent observations. Either list has only single selection supported, thus first and last index are identical.

Specified by:
valueChanged in interface ListSelectionListener

isFixedRate

public boolean isFixedRate()
false.

Specified by:
isFixedRate in interface Refreshing
Overrides:
isFixedRate in class JMasterDisplay
See Also:
Timer

refresh

public void refresh()
We query the most recent ID's on both telescope. If changed, we update our lists accordingl.

Specified by:
refresh in interface Refreshing
Overrides:
refresh in class JMasterDisplay

updateList

private void updateList(MyList column,
                        Map<String,List<Object>> done,
                        String telescope)
We update the list on the left or right side. Additionally, the object name is matched against an object deny and allow list, as well as a user allow and deny list.


getBottomItems

protected List<Object> getBottomItems()
We do not display a status bar at the bottom.

Overrides:
getBottomItems in class JClientFrame

getLeftItems

protected List<Object> getLeftItems()
The list of left items is the ses button and the list of ids.

Overrides:
getLeftItems in class JBorderFrame

getRightItems

protected List<Object> getRightItems()
Right panel, wifsip button plus list.

Overrides:
getRightItems in class JBorderFrame

getTableName

protected String getTableName()
Returns the done table as our primary request table.

Specified by:
getTableName in class JDatabaseDisplay

getRequestedFields

protected Map<String,Method> getRequestedFields()
Returns the data that should be retrieved from the done table. The result is further processed before displaying due to user-security considerations.

Specified by:
getRequestedFields in class JDatabaseDisplay

processLocally

protected boolean processLocally(HistoryAware.Pick pick)
Description copied from class: JMasterDisplay
This method is called firstly when a pick event is received. If the data needed is available locally, the implementing class should process and display it and return true. If the data is not available locally and is for sure not available externally, the implementing class may issue a warning, but should nevertheless return true here. If the data may be available externally, the implementing class should return false here, in which turn JMasterDisplay.processExternally(stella.HistoryAware.Pick) will be called.

Specified by:
processLocally in class JMasterDisplay

processExternally

protected boolean processExternally(HistoryAware.Pick pick)
If data was not available on the local resources, but should be retrieved using external storage, processLocally(stella.HistoryAware.Pick) should return false, in which turn we end up here. The implemnting class should retrieve the external data, display it and eventually place a copy into the local resources for later retrieval.

Overrides:
processExternally in class JDatabaseDisplay