jigcell.compare.cellcycle
Class CellCycleExperimentView

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JPanel
                  extended by jigcell.compare.ui.PanelTab
                      extended by jigcell.compare.ui.DataEditorPanelTab
                          extended by jigcell.compare.views.BasicTableView
                              extended by jigcell.compare.views.SeriesView
                                  extended by jigcell.compare.views.EditableSeriesView
                                      extended by jigcell.compare.cellcycle.CellCycleExperimentView
All Implemented Interfaces:
java.awt.event.MouseListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.beans.PropertyChangeListener, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible, javax.swing.event.ListSelectionListener, ITab, IBasicTableHost, ICellEditorTab, IClipboardTab, IDataEditorTab, INameFinderTab, IRowEditorTab, IRowSelectionTab

public class CellCycleExperimentView
extends EditableSeriesView

An editable display for working with experimental data.

This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.

Author:
Nicholas Allen
See Also:
Serialized Form

Nested Class Summary
protected  class CellCycleExperimentView.ExperimentModel
          Table model for the data in an ExperimentDataSeriesView.
protected  class CellCycleExperimentView.ExperimentViewRenderer
          Colors cells when a type error is detected.
 
Nested classes/interfaces inherited from class jigcell.compare.views.EditableSeriesView
EditableSeriesView.EditableSeriesModel
 
Nested classes/interfaces inherited from class jigcell.compare.views.SeriesView
SeriesView.SeriesModel, SeriesView.SeriesViewTransferer
 
Nested classes/interfaces inherited from class jigcell.compare.ui.DataEditorPanelTab
DataEditorPanelTab.ReadHelper
 
Nested classes/interfaces inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
static java.lang.String CONFIG_BACKGROUNDTYPEERROR
          Property key for the type error background
static java.lang.String CONFIG_TYPES
          Property key for generator types
static java.awt.Color DEFAULT_BACKGROUNDTYPEERROR
          Default background color for cells with type errors
protected static java.lang.String MESSAGE_TYPEERROR
          Error message when a type checker fails to load
static java.lang.String SELECTIONGROUP_CELLCYCLE
          Selection group for the cellcycle components
protected  ListComboBoxModel typeModel
          Display for list of known types
protected  java.util.List types
          List of known types
 
Fields inherited from class jigcell.compare.views.EditableSeriesView
CONFIG_PLOTTER, FILTER_EXPERIMENT, model, plotter, POPUP_PLOTTER
 
Fields inherited from class jigcell.compare.views.SeriesView
CONFIG_TEXTCUTOFF, generators, textCutoff, VALUE_NOTAVAILABLE
 
Fields inherited from class jigcell.compare.views.BasicTableView
clipboard, lastSearchName, popup, POPUP_DEFAULT, popupPoint, printer, RESOURCE_LASTTABLESELECTION, RESOURCE_TABLESELECTION, selectionGroup, table
 
Fields inherited from class jigcell.compare.ui.DataEditorPanelTab
CONFIG_RECENTSOURCE, CONFIG_RECENTSOURCECOUNT, exception, manager, MENU_OPENRECENT, MENUBAR_DEFAULT, menuManager, menus, MESSAGE_LOADERROR, MESSAGE_LOADING, MESSAGE_SAVEERROR, OPTION_CHOOSEROPEN, OPTION_CHOOSERSAVE, PROPERTY_RECENTSOURCETARGET, READ_LOCK, recentReadablesMenu, TOOLBAR_DEFAULT
 
Fields inherited from class jigcell.compare.ui.PanelTab
compare, configMarkers, PATH_ABOUT, PATH_DESCRIPTION_ABOUT, tabName
 
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 jigcell.compare.ITab
CONFIG_TABNAME, STATE_ENDINITIALIZE, STATE_ENDUI, STATE_INITIALIZE, STATE_RUNNING, STATES
 
Fields inherited from interface jigcell.compare.ITab
CONFIG_TABNAME, STATE_ENDINITIALIZE, STATE_ENDUI, STATE_INITIALIZE, STATE_RUNNING, STATES
 
Fields inherited from interface jigcell.compare.ITab
CONFIG_TABNAME, STATE_ENDINITIALIZE, STATE_ENDUI, STATE_INITIALIZE, STATE_RUNNING, STATES
 
Fields inherited from interface jigcell.compare.ITab
CONFIG_TABNAME, STATE_ENDINITIALIZE, STATE_ENDUI, STATE_INITIALIZE, STATE_RUNNING, STATES
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
CellCycleExperimentView(Compare compare, java.lang.String configMarker)
          Creates a new table view with the ability to display experiment data.
 
Method Summary
 IConfigEditor createConfigEditor()
          Creates a configuration editor for this tab or null if this tab does not support graphical configuration.
protected  void createUI()
          Creates an interface for the view.
protected  void createUI(CellCycleExperimentView.ExperimentModel model)
           
 void importNamesFromRunFile()
          Prompts the user for a run file on their disk and then creates new experiments for each run in the run file.
 void importNamesFromRunFile(jigcell.runsupport.RunFile runFile)
          Creates new experiments for each run in the run file.
 void readConfiguration(java.lang.String state)
          Reads the view configuration from the Comparator.
protected  void readInternal(java.lang.Object readResult)
          Processes data that has been read from some external source.
 
Methods inherited from class jigcell.compare.views.EditableSeriesView
addRow, addRows, clear, clearAndNew, clipboardCut, clipboardCut, clipboardPaste, createFileChooser, createGenerators, createPopup, createUI, deleteRow, deleteRows, editCell, fillDown, fillSelected, fillUp, initialize, insertRow, insertRows, moveRowsDown, moveRowsUp, plotCell, preparePopup, propertyChange, readNotify, setCurrentSource, viewCell, write
 
Methods inherited from class jigcell.compare.views.SeriesView
clipboardCopy, clipboardCopy, copyGenerator, createUI, findByName, getRowCount, getRowData, initializeData, print
 
Methods inherited from class jigcell.compare.views.BasicTableView
clipboardWrite, createUI, findByName, findByName, findByName, findByName, getColumnCount, getColumnData, getLastSearchName, getSelectedColumns, getSelectedRows, getSelectionGroup, getTable, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, selectAll, selectInvert, selectInvertColumns, selectInvertRows, selectNone, setSelectedColumns, setSelectedRows, setSelectionGroup, valueChanged
 
Methods inherited from class jigcell.compare.ui.DataEditorPanelTab
addRecentSource, createMenus, createReadableRecentSourceMenuItems, createTools, getCurrentSource, getRecentSource, getRecentSourceCount, load, loadDirect, loadRecentSource, save, saveDirect
 
Methods inherited from class jigcell.compare.ui.PanelTab
createAboutDialog, createAboutDialogForTab, getCompare, getConfigForView, getConfigMarkers, getHostIdentifier, getName
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, 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, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, 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 jigcell.compare.ITab
createAboutDialog, getName
 
Methods inherited from interface jigcell.compare.ui.IClipboardTab
clipboardCopy, clipboardCopy
 
Methods inherited from interface jigcell.compare.ITab
createAboutDialog, getName
 
Methods inherited from interface jigcell.compare.ui.IDataEditorTab
getCurrentSource, load, loadDirect, save, saveDirect
 
Methods inherited from interface jigcell.compare.ITab
createAboutDialog, getName
 
Methods inherited from interface jigcell.compare.ui.IRowEditorTab
getRowCount, getRowData
 
Methods inherited from interface jigcell.compare.ITab
createAboutDialog, getName
 
Methods inherited from interface jigcell.compare.ui.IRowSelectionTab
getSelectedRows, selectAll, selectInvert, selectInvertRows, selectNone, setSelectedRows
 
Methods inherited from interface jigcell.compare.ui.IBasicTableHost
getCompare, getConfigMarkers, getHostIdentifier
 

Field Detail

DEFAULT_BACKGROUNDTYPEERROR

public static final java.awt.Color DEFAULT_BACKGROUNDTYPEERROR
Default background color for cells with type errors


CONFIG_BACKGROUNDTYPEERROR

public static final java.lang.String CONFIG_BACKGROUNDTYPEERROR
Property key for the type error background

See Also:
Constant Field Values

CONFIG_TYPES

public static final java.lang.String CONFIG_TYPES
Property key for generator types

See Also:
Constant Field Values

SELECTIONGROUP_CELLCYCLE

public static final java.lang.String SELECTIONGROUP_CELLCYCLE
Selection group for the cellcycle components

See Also:
Constant Field Values

MESSAGE_TYPEERROR

protected static final java.lang.String MESSAGE_TYPEERROR
Error message when a type checker fails to load

See Also:
Constant Field Values

types

protected java.util.List types
List of known types


typeModel

protected ListComboBoxModel typeModel
Display for list of known types

Constructor Detail

CellCycleExperimentView

public CellCycleExperimentView(Compare compare,
                               java.lang.String configMarker)
Creates a new table view with the ability to display experiment data.

Parameters:
compare - Comparator backend to interface with
configMarker - Marker for retrieving configuration information from Comparator backend
Method Detail

createConfigEditor

public IConfigEditor createConfigEditor()
Creates a configuration editor for this tab or null if this tab does not support graphical configuration.

Specified by:
createConfigEditor in interface ITab
Overrides:
createConfigEditor in class EditableSeriesView

importNamesFromRunFile

public void importNamesFromRunFile()
Prompts the user for a run file on their disk and then creates new experiments for each run in the run file.


importNamesFromRunFile

public void importNamesFromRunFile(jigcell.runsupport.RunFile runFile)
Creates new experiments for each run in the run file. The names of the experiments come from the names of the runs.

Parameters:
runFile - Run file

readConfiguration

public void readConfiguration(java.lang.String state)
Reads the view configuration from the Comparator.

Specified by:
readConfiguration in interface ITab
Overrides:
readConfiguration in class EditableSeriesView
Parameters:
state - Current state of the view

createUI

protected void createUI()
Creates an interface for the view.

Overrides:
createUI in class EditableSeriesView

createUI

protected void createUI(CellCycleExperimentView.ExperimentModel model)
See Also:
BasicTableView.createUI(jigcell.compare.ui.BasicTable.BasicTableModel)

readInternal

protected void readInternal(java.lang.Object readResult)
                     throws java.lang.Exception
Processes data that has been read from some external source.

Overrides:
readInternal in class EditableSeriesView
Parameters:
readResult - Data
Throws:
java.lang.Exception