|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
jigcell.compare.ui.PanelTab
jigcell.compare.ui.DataEditorPanelTab
jigcell.compare.views.BasicTableView
jigcell.compare.views.SeriesView
jigcell.compare.views.EditableSeriesView
jigcell.compare.views.ObjectiveSeriesView
public class ObjectiveSeriesView
An editable display for working with objective data.
This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.
| Nested Class Summary | |
|---|---|
static class |
ObjectiveSeriesView.Comparison
Comparison type for threshold flagging. |
protected class |
ObjectiveSeriesView.ObjectiveSeriesModel
Table model for an ObjectiveSummaryView. |
protected class |
ObjectiveSeriesView.ObjectiveSeriesRenderer
Cell renderer for a ObjectiveSummaryView. |
| 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 |
ATTRIBUTE_COMPARISONTYPE
Attribute key for the comparison type |
static java.lang.String |
ATTRIBUTE_THRESHOLD
Attribute key for the objective threshold |
static java.lang.String |
CONFIG_BACKGROUNDOVERTHRESHOLD
Property key for the threshold exceeded background |
static java.lang.String |
CONFIG_BACKGROUNDUNKNOWNTHRESHOLD
Property key for the threshold not comparable background |
static java.awt.Color |
DEFAULT_BACKGROUNDOVERTHRESHOLD
Default background color for cells over the threshold value |
static java.awt.Color |
DEFAULT_BACKGROUNDUNKNOWNTHRESHOLD
Default background color for cells that cannot be compared to the threshold value |
static javax.swing.filechooser.FileFilter |
FILTER_OBJECTIVERESULT
File filter for objective result set files |
static javax.swing.filechooser.FileFilter |
FILTER_OBJECTIVESET
File filter for objective files |
protected ObjectiveSeriesView.ObjectiveSeriesModel |
model
Data model of the generators |
protected ListComboBoxModel |
objectiveModel
Display for list of known objectives |
protected IDataGeneratorList |
objectives
List of known objectives |
protected static java.lang.String |
VALUE_NOTEVALUATED
Display value for an unevaluated value |
protected static java.lang.String |
VALUE_NOVALUE
Display value for a non-existent value |
| Fields inherited from class jigcell.compare.views.EditableSeriesView |
|---|
CONFIG_PLOTTER, FILTER_EXPERIMENT, 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 java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
ObjectiveSeriesView(Compare compare,
java.lang.String configMarker)
Creates a new table view with the ability to display experimental and objective data. |
|
| Method Summary | |
|---|---|
void |
addRow()
Adds a new row to the view. |
void |
addRows(int count)
Adds several new rows to the view. |
void |
clear()
Clears all data for this view. |
protected static void |
clearObjective(IObjective objective)
Clears an objective. |
void |
clipboardCut()
Cuts all rows to the clipboard. |
void |
clipboardPaste()
Pastes from the clipboard. |
IConfigEditor |
createConfigEditor()
Creates a configuration editor for this tab or null if this tab does not support graphical configuration. |
protected javax.swing.JFileChooser |
createFileChooser()
A file chooser specialized for the view. |
protected javax.swing.JFileChooser |
createFileChooserResults()
A file chooser specialized for the view results. |
protected IDataGeneratorList |
createGenerators()
A list of generators for the view. |
protected java.util.List |
createObjectives()
A list of objectives for the view. |
protected void |
createUI()
Creates an interface for the view. |
protected void |
createUI(ObjectiveSeriesView.ObjectiveSeriesModel model)
|
void |
deleteRow(int row)
Deletes a row from the table. |
void |
deleteRows(int[] rows)
Deletes rows from the table. |
void |
evaluate()
Evaluates all of the specified functions. |
protected void |
evaluate(IDataGenerator[] generators)
Evaluates a collection of data generators on a separate thread. |
void |
evaluate(int[] rows)
Evaluates a subset of the specified functions. |
protected IObjective |
getObjectiveForGenerator(int index)
The objective of a generator. |
protected void |
initialize()
Performs any initialization work for the view. |
protected void |
initializeData()
Initializes data for the view. |
void |
insertRow(int row)
Inserts a row at a specified location. |
void |
insertRows(int row,
int count)
Inserts a number of new rows at a specified location. |
void |
moveRowsDown(int[] rows)
Moves selected rows down. |
void |
moveRowsUp(int[] rows)
Moves selected rows up. |
IDataGenerator |
processGenerator(IDataGenerator generator)
Creates a replacement data generator for evaluation. |
void |
propertyChange(java.beans.PropertyChangeEvent e)
|
protected void |
readInternal(java.lang.Object readResult)
Processes data that has been read from some external source. |
protected void |
readNotify()
Notifies listeners after a read operation has completed. |
void |
reset()
Resets results computed by this view. |
void |
reset(int[] rows)
Resets a subset of the results computed by this view. |
void |
saveResults(IWriteableDataSource source)
Saves the data for the results to some external source. |
void |
saveResultsDirect(IWriteableDataSource source)
Saves the data for the results to some external source without user prompting. |
protected void |
write(IWriteableDataSource source)
Writes data to some external source. |
protected void |
writeResults(IWriteableDataSource source)
Writes results data to some external source. |
| Methods inherited from class jigcell.compare.views.EditableSeriesView |
|---|
clearAndNew, clipboardCut, createPopup, createUI, editCell, fillDown, fillSelected, fillUp, plotCell, preparePopup, readConfiguration, setCurrentSource, viewCell |
| Methods inherited from class jigcell.compare.views.SeriesView |
|---|
clipboardCopy, clipboardCopy, copyGenerator, createUI, findByName, getRowCount, getRowData, 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, readConfiguration |
| Methods inherited from interface jigcell.compare.ui.IClipboardTab |
|---|
clipboardCopy, clipboardCopy |
| Methods inherited from interface jigcell.compare.ui.IDataEditorTab |
|---|
getCurrentSource, load, loadDirect, save, saveDirect |
| Methods inherited from interface jigcell.compare.ui.IRowEditorTab |
|---|
getRowCount, getRowData |
| 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 |
|---|
public static final java.awt.Color DEFAULT_BACKGROUNDOVERTHRESHOLD
public static final java.awt.Color DEFAULT_BACKGROUNDUNKNOWNTHRESHOLD
public static final java.lang.String ATTRIBUTE_COMPARISONTYPE
public static final java.lang.String ATTRIBUTE_THRESHOLD
public static final java.lang.String CONFIG_BACKGROUNDOVERTHRESHOLD
public static final java.lang.String CONFIG_BACKGROUNDUNKNOWNTHRESHOLD
public static final javax.swing.filechooser.FileFilter FILTER_OBJECTIVERESULT
public static final javax.swing.filechooser.FileFilter FILTER_OBJECTIVESET
protected static final java.lang.String VALUE_NOTEVALUATED
protected static final java.lang.String VALUE_NOVALUE
protected IDataGeneratorList objectives
protected ListComboBoxModel objectiveModel
protected ObjectiveSeriesView.ObjectiveSeriesModel model
| Constructor Detail |
|---|
public ObjectiveSeriesView(Compare compare,
java.lang.String configMarker)
compare - Comparator backend to interface withconfigMarker - Marker for retrieving configuration information from Comparator backend| Method Detail |
|---|
protected static void clearObjective(IObjective objective)
objective - Objectivepublic void addRow()
addRow in interface IRowEditorTabaddRow in class EditableSeriesViewpublic void addRows(int count)
addRows in interface IRowEditorTabaddRows in class EditableSeriesViewcount - Number of rowspublic void clear()
clear in interface IDataEditorTabclear in class EditableSeriesViewpublic void clipboardCut()
clipboardCut in interface IClipboardTabclipboardCut in class EditableSeriesViewpublic void clipboardPaste()
clipboardPaste in interface IClipboardTabclipboardPaste in class EditableSeriesViewpublic IConfigEditor createConfigEditor()
createConfigEditor in interface ITabcreateConfigEditor in class EditableSeriesViewpublic void deleteRow(int row)
deleteRow in interface IRowEditorTabdeleteRow in class EditableSeriesViewrow - Rowpublic void deleteRows(int[] rows)
deleteRows in interface IRowEditorTabdeleteRows in class EditableSeriesViewrows - Rowspublic void evaluate()
evaluate in interface IResultTabpublic void evaluate(int[] rows)
evaluate in interface IResultTabrows - Positions to evaluatepublic void insertRow(int row)
insertRow in interface IRowEditorTabinsertRow in class EditableSeriesViewrow - Row to insert at
public void insertRows(int row,
int count)
insertRows in interface IRowEditorTabinsertRows in class EditableSeriesViewrow - Row to insert atcount - Number of rows to insertpublic void moveRowsDown(int[] rows)
moveRowsDown in interface IRowEditorTabmoveRowsDown in class EditableSeriesViewrows - Rowspublic void moveRowsUp(int[] rows)
moveRowsUp in interface IRowEditorTabmoveRowsUp in class EditableSeriesViewrows - Rowspublic IDataGenerator processGenerator(IDataGenerator generator)
processGenerator in interface DataGeneratorEvaluator.IProcessorgenerator - Generatorpublic void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange in interface java.beans.PropertyChangeListenerpropertyChange in class EditableSeriesViewpublic void reset()
reset in interface IResultTabpublic void reset(int[] rows)
reset in interface IResultTabrows - Positions to resetpublic void saveResults(IWriteableDataSource source)
saveResults in interface IResultTabsource - Data source to write topublic void saveResultsDirect(IWriteableDataSource source)
saveResultsDirect in interface IResultTabsource - Data source to write toprotected javax.swing.JFileChooser createFileChooser()
createFileChooser in class EditableSeriesViewprotected javax.swing.JFileChooser createFileChooserResults()
protected IDataGeneratorList createGenerators()
createGenerators in class EditableSeriesViewprotected java.util.List createObjectives()
protected void createUI()
createUI in class EditableSeriesViewprotected void createUI(ObjectiveSeriesView.ObjectiveSeriesModel model)
BasicTableView.createUI(jigcell.compare.ui.BasicTable.BasicTableModel)protected void evaluate(IDataGenerator[] generators)
generators - Data generators to evaluateprotected IObjective getObjectiveForGenerator(int index)
index - Index of generator in generator listprotected void initialize()
initialize in class EditableSeriesViewprotected void initializeData()
initializeData in class SeriesView
protected void readInternal(java.lang.Object readResult)
throws java.lang.Exception
readInternal in class EditableSeriesViewreadResult - Data
java.lang.Exceptionprotected void readNotify()
readNotify in class EditableSeriesView
protected void write(IWriteableDataSource source)
throws java.lang.Exception
write in class EditableSeriesViewsource - Data source to write to
java.lang.Exception
protected void writeResults(IWriteableDataSource source)
throws java.lang.Exception
source - Data source to write to
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||