|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--java.awt.Window
|
+--java.awt.Frame
|
+--ShowScatterPlotPopup
Class ShowScatterPlotPopup.java - main popup window containing a scatterplot, pull-down menu, scatterplot scrollers, expression range scrollers, cluster distance scroller, checkboxes, etc as part of the GUI. It includes a variable set of control buttons on the bottom depending on what type of plot is being presented as well as slider controls for the scatterplot. Some of the buttons will popup additional windows to let you specify additional information. There is a popup Status Window that you can hide using the HIDE button that window, and a STATUS button on the main window to pop it up again. This work was produced by Peter Lemkin of the National Cancer Institute, an agency of the United States Government and Djamel Medjahed (SAIC-Frederick). As a work of the United States Government there is no associated copyright. It is offered as open source software under the Mozilla Public License (version 1.1) subject to the limitations noted in the accompanying LEGAL file.
This work was derived from MAExplorer under the Mozilla 1.1 Open Source Public License by Peter Lemkin of the National Cancer Institute, an agency of the United States Government subject to the limitations noted in the accompanying LEGAL file. See licence info on http://maexplorer.sourceforge.org/, Serialized Form
| Inner classes inherited from class java.awt.Frame |
java.awt.Frame.AccessibleAWTFrame |
| Inner classes inherited from class java.awt.Window |
java.awt.Window.AccessibleAWTWindow |
| Inner classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Inner classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.AWTTreeLock |
| Field Summary | |
java.awt.Checkbox |
accessGenomicDBCheckBox
access genomic DB via the Web if enabled and DB was selected |
ShowExprProfilesPopup |
clusterSEPP
popup scrollable EP list for clustered proteins |
java.awt.Color[] |
cMap
The pseudocolor or grayscale colormap [0:255] for drawing expression data over the range of [0.0 : 1.0]. |
(package private) java.lang.String |
defGifFile
default output gif file name |
java.awt.Label |
distThrLabel
"Cluster distance thresh." |
java.awt.Scrollbar |
distThrSlider
Cluster distance threshold slider |
java.awt.Label |
distThrValueLabel
"Cluster distance thresh." value |
DrawProtScatterPlot |
dwSP
Scrollable Scatterplot canvas |
java.awt.Color[] |
eCmapColor
9 color Colormap for Cmap ratio scale factor color map |
float[] |
eCMapRatios
The 9 ratio values for Cmap ratio scale factor color map |
java.awt.Color[] |
eColor
The 10 pseudocolors[0:9] for drawing non-linear expression mappings using eVap[gray] function. |
EventHandlerPRP |
eh
instance of EventHandlerPRP |
float[] |
eMap
The non-linear mapping (typically exponential) from [0:255] to [0.0 : 1.0]. |
float[] |
eMapMax
The 10 highest eMap[] values corresponding to 10 eColor[] values for expression mapping. |
java.awt.Checkbox |
exprCheckBox
Expression/Location selection |
java.awt.Label |
exprLBLabel
"Expression lower limit" or "Ratio lower limit" |
java.awt.Label |
exprLBValueLabel
"Expression lower limit" or "Ratio lower limit" value |
java.awt.Scrollbar |
expRngLBscr
Expression Range vertical (top,bottom) scrollers |
java.awt.Scrollbar |
expRngUBscr
Expression Range vertical (top,bottom) scrollers |
java.awt.Panel |
exprRangePanel
Panel to hold the Expr Range scrollers |
java.awt.Label |
exprUBLabel
"Expression upper limit" or "Ratio upper limit" |
java.awt.Label |
exprUBValueLabel
"Expression upper limit" or "Ratio upper limit" value |
Filter |
fil
Instance of Data Filter. |
java.awt.Checkbox |
filterCheckBox
Filter/Don't-Filter selection [DEPRICAED] |
ShowExprProfilesPopup |
filterSEPP
popup scrollable EP list for filtered proteins |
java.awt.Scrollbar |
horizLBscr
Horizontal (left,right) scrollers for the for canvas |
java.awt.Scrollbar |
horizUBscr
Horizontal (left,right) scrollers for the for canvas |
java.awt.Checkbox |
logMWscalingCheckBox
use Log MW scaling |
boolean |
logScalingFlag
toggle with Linear/Log button |
static int |
MAX_SCR_SIZE
prewired max scroller size |
static int |
MAX_STEPS_SCR
prewired scroller steps |
static int |
MAX_STEPS_SCR2
prewired scroller steps |
private java.awt.MenuBar |
mbar
menu bar for GUI |
(package private) java.awt.Font |
menuFont
Define the menu fonts |
(package private) java.awt.CheckboxMenuItem |
miChkBoxAccessGenomicDBs
"Access a genomic Web server if you click on a spot [CB]" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxAutoUpdateRptMode
"Auto-update reports if the state changes [CB]" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxClusterDistAVG_ALL_DATA
"Use average all data distance metric [RB] |
(package private) java.awt.CheckboxMenuItem |
miChkBoxClusterDistMAP_LOW_VALUES
"Use map low values distance metric [RB] |
(package private) java.awt.CheckboxMenuItem |
miChkBoxClusterDistWEIGHT
"Use weighted distance metric [RB] |
(package private) java.awt.CheckboxMenuItem |
miChkBoxDisplayXYscatterplot
"Display (X vs Y) else (Mw vs pI) scatterplot [CB]" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxFilterByExprRange
Filter data by expression range [CB]" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxFilterByProteinFamily
"Filter data by protein families [CB]" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxFilterByTissue
"Filter data by tissues [CB]" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxFilterByXY_KStest
"Filter by X & Y sets Kolmogorov-Smirnov-test results [CB]" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxFilterByXYmissingProteins
"Filter by X & Y sets missing and > N samples [CB]" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxFilterByXYtTest
"Filter by X & Y sets t-test results [CB]" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxGenBankServer
"Use GenBank Web server [RB] |
(package private) java.awt.CheckboxMenuItem |
miChkBoxLogMW
"Use log of (MW) [CB]" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxMouseOver
"Enable mouse-over to see data [CB]" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxOutsideRatioRange
"Filter by (X/Y) outside of [minRatioVal:maxRatioVal] sliders" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxPIRProClassServer
"Use PIR ProClass Web server [RB]" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxReqAtLeastNsamples
"Filter by requiring at least N samples [RB]" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxReqAtMostNsamples
"Filter by requiring at most N samples [RB]" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxShowClusteredProteins
"Show clustered proteins by black boxes [CB]" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxShowExpr
"Show expression data else just position [CB]" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxShowFilterResults
"Show filter results [CB]" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxShowXandYsamplesMode
"Show both X and Y samples if doing X/Y filtering [CB]" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxSortAssendingRptMode
"Sort report assending order[CB]" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxSwissProtServer
"Use Swiss-Prot Web server [RB] " |
(package private) java.awt.CheckboxMenuItem |
miChkBoxUseCmapRatioMode
"Show samplesX/sampleY ratio range color map [RB]" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxUseEPsetExprDataMode
"Show current sample expression data [RB]" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxUseExprDataMode
"Show current sample expression data [RB]" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxUseExprPlotMode
"Popup Expression Profile plots [CB]" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxUseLocalDoc
"Use local documentation else ProtPlot server" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxUsePseudocolor
"Use pseudocolor else grayscale for expression [CB] |
(package private) java.awt.CheckboxMenuItem |
miChkBoxUseRGratioMode
"Show X-samples/Y-sample ratio (Red=X + Green=Y) data [RB]" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxUseSavedClusterSet
"Filter by AND of Saved Clustered proteins [CB]" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxUseSavedFilterSet
"Filter by AND of Saved Filtered proteins [CB]" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxUseTotPRPfiles
"Build DB from XXX_tot.prp files else from XXX_under200k.prp files" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxUseVarRadiusExpr
"Use radius proportional to expression else constant [CB]" |
(package private) java.awt.CheckboxMenuItem |
miChkBoxUseXYSetCmapRatioMode
"Show X-Set-samples /X-Set-samples ratio range color map [RB]" |
(package private) java.awt.MenuItem |
miClustSimilar
MenuItem for "Cluster similar proteins to current protein by EP profile" |
(package private) java.awt.MenuItem |
miEPmissing
MenuItem for ""Report EP set statistics of proteins passing missing protein filter" |
(package private) java.awt.CheckboxMenuItem |
miPrevPlotCB
Last Show Plot mode for use in toggling XY set checkbox |
(package private) java.awt.MenuItem |
miXYmissing
MenuItem for "Report X&Y sets statistics of proteins passing missing protein filter" |
java.awt.Checkbox |
mouseOverCheckBox
Show Mouse-over info |
java.awt.Label |
nbrProteinsLabel
"# proteins/sample threshold" |
java.awt.Scrollbar |
nbrProteinsThrSlider
Number of proteins/samples threshold slider |
java.awt.Label |
nbrProteinsValueLabel
"# proteins/sample threshold" |
java.awt.Label |
nbrSamplesLabel
"# samples threshold" |
java.awt.Scrollbar |
nbrSamplesThrSlider
Number of samples threshold slider |
java.awt.Label |
nbrSamplesValueLabel
"# samples threshold" value |
int |
panelHeight
default size - must be set here! |
int |
panelWidth
default size - must be set here! |
PopupDialogQuery |
pdq
hidden popup dialog |
PopupFamilyNameSelector |
pfns
Popup tissue name selector window created when needed |
ShowStringPopup |
phelp
Popup help window |
static int |
POPUP_HEIGHT
Height of main window |
static int |
POPUP_WIDTH
|
PopupPRPlistSelector |
ppns
popup PRP list name selector window created when needed |
(package private) static java.lang.String |
promptDir
last prompted directory for popup dialog |
(package private) static java.lang.String |
promptExt
for FilenameFilter file extension for popup dialog |
(package private) static java.lang.String |
promptFile
last prompted project for popup dialog |
private ProtPlot |
prp
instance of ProtPlot |
PopupTissueNameSelector |
ptns
Popup tissue name selector window created when needed |
java.awt.Label |
pValueLabel
"P-value threshold" |
java.awt.Scrollbar |
pValueThrSlider
pValue threshold slider |
java.awt.Label |
pValueValueLabel
"P-value threshold" value |
java.awt.Color[] |
rColor
[TODO] The 256 pseudocolors[0:255] colors for drawing non-linear ratio mappings using rMap[gray] function where gray is the mapping of ratio (exprX,exprY) to gray. |
float[] |
rMap
[TODO] The non-linear mapping (typically exponential) from [0:255] to [0.01 : 10.0]. |
(package private) ReportPRP |
rpt
instance of ReportPRP |
(package private) java.awt.Choice |
sampleChoice
Choice selector for setting sample lists |
static int |
SEL_CUR_SAMPLE
Select current sample |
static int |
SEL_EP_SAMPLES
Select current sample |
static int |
SEL_X_SAMPLE
Select current sample |
static int |
SEL_Y_SAMPLE
Select current sample |
java.awt.Panel |
sPanel
panel which holds scrollable canvas |
java.awt.Checkbox |
statusCheckBox
HideStatus/ShowStatus selection |
java.lang.String |
title
ARG: title of popup plot |
java.awt.Label |
titleLabel
title for the main window |
java.awt.Checkbox |
useXYsetCheckBox
|
private UtilPRP |
util
instance of UtilPRP |
java.awt.Scrollbar |
vertLBscr
vertical (top,bottom) scrollers for the for canvas |
java.awt.Scrollbar |
vertUBscr
vertical (top,bottom) scrollers for the for canvas |
static int |
VISIBLE_SCR
scrollbar's visible amount |
| Fields inherited from class java.awt.Frame |
base, CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, frameSerializedDataVersion, HAND_CURSOR, icon, ICONIFIED, mbManagement, menuBar, MOVE_CURSOR, N_RESIZE_CURSOR, nameCounter, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, ownedWindows, resizable, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, serialVersionUID, state, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR, weakThis |
| Fields inherited from class java.awt.Window |
active, dbg, focusMgr, inputContext, inputContextLock, OPENED, ownedWindowList, showWithParent, warningString, windowListener, windowSerializedDataVersion |
| Fields inherited from class java.awt.Container |
component, containerListener, containerSerializedDataVersion, dispatcher, layoutMgr, listeningBoundsChildren, listeningChildren, maxSize, ncomponents, printing, printingThreads |
| Fields inherited from class java.awt.Component |
accessibleContext, actionListenerK, adjustmentListenerK, appContext, background, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, changeSupport, componentListener, componentListenerK, componentOrientation, componentSerializedDataVersion, containerListenerK, cursor, dropTarget, enabled, eventMask, focusListener, focusListenerK, font, foreground, graphicsConfig, hasFocus, height, hierarchyBoundsListener, hierarchyBoundsListenerK, hierarchyListener, hierarchyListenerK, incRate, inputMethodListener, inputMethodListenerK, isInc, isPacked, itemListenerK, keyListener, keyListenerK, LEFT_ALIGNMENT, locale, LOCK, metrics, minSize, mouseListener, mouseListenerK, mouseMotionListener, mouseMotionListenerK, name, nameExplicitlySet, newEventsOnly, ownedWindowK, parent, peer, peerFont, popups, prefSize, privateKey, RIGHT_ALIGNMENT, textListenerK, TOP_ALIGNMENT, valid, visible, width, windowClosingException, windowListenerK, x, y |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
ShowScatterPlotPopup(ProtPlot prp,
java.lang.String title)
ShowScatterPlotPopup() - constructor |
|
| Method Summary | |
boolean |
accept(java.io.File dir,
java.lang.String name)
accept() - filter used to test if file should be in directory list. |
void |
actionPerformed(java.awt.event.ActionEvent e)
actionPerformed() - Handle Control panel button clicks or menu items. |
void |
adjustmentValueChanged(java.awt.event.AdjustmentEvent e)
adjustmentValueChanged() - handle scroll events. |
boolean |
changeStateFile(boolean saveModeFlag)
changeStateFile() - open up a new state startup database file. |
(package private) void |
closeAll(boolean saveStateFlag)
closeAll() - close all windows |
boolean |
createPopupPlot(java.lang.String title)
createPopupPlot() - create a 2D gel popup scatterplot from raw data. |
float |
cvNonLinearScroller2StateValue(float ub,
float lb,
float sbVal,
int maxSliderRange)
cvNonLinearScroller2StateValue() - convert non-linear Scrollbar value to a State value: |
float |
cvNonLinearState2ScrollerValue(float ub,
float lb,
float stVal,
int maxSliderRange)
cvNonLinearState2ScrollerValue() - convert non-linear State value to a Scroller value: |
void |
itemStateChanged(java.awt.event.ItemEvent e)
itemStateChanged() - handle item state changed events NOTE: need to implement radio groups here since AWT only implements radio groups for Checkboxes, and CheckboxMenuItems. |
private java.awt.CheckboxMenuItem |
makeChkBoxMenuItem(java.awt.Menu pm,
java.lang.String sLabel,
java.lang.String sCmd,
int shortcut,
boolean value)
makeChkBoxMenuItem() - make CheckboxMenuItem entry in popup menu list. |
private java.awt.Color[] |
makeColorMap()
makeColorMap() - make 255 gray value colors or if pseudocolor mode, then color range |
private java.awt.MenuItem |
makeMenuItem(java.awt.Menu pm,
java.lang.String sLabel,
java.lang.String sCmd,
int shortcut)
makeMenuItem() - make menuItem entry in menu list. |
private java.awt.Menu |
makeSubMenu(java.awt.Menu pm,
java.lang.String sLabel,
java.lang.String sCmd,
int shortcut)
makeSubMenu() - make submenu entry in menu list. |
void |
mouseClicked(java.awt.event.MouseEvent e)
mouseClicked() - handle mouse Click events |
void |
mouseDragged(java.awt.event.MouseEvent e)
mouseDragged() - handle mouse Drag events |
void |
mouseEntered(java.awt.event.MouseEvent e)
mouseEntered() - handle mouse Enter events |
void |
mouseExited(java.awt.event.MouseEvent e)
mouseExited() - handle mouse Exit events |
void |
mouseMoved(java.awt.event.MouseEvent e)
mouseMoved() - handle mouse Move events |
void |
mousePressed(java.awt.event.MouseEvent e)
mousePressed() - handle mouse Press events |
void |
mouseReleased(java.awt.event.MouseEvent e)
mouseReleased() - handle mouse Release events |
boolean |
openProteinSetFile(java.lang.String setType)
openProteinSetFile() - open up a protein set database file. |
void |
paint(java.awt.Graphics g)
paint() - repaint subwindows |
java.lang.String |
promptFileName(java.lang.String msg,
java.lang.String useDir,
java.lang.String initialFile,
java.lang.String subDir,
java.lang.String fileExt,
boolean saveMode,
boolean useFileDialog)
promptFileName() - dialog prompt for file name. |
boolean |
saveProteinSetFile(java.lang.String setType)
saveProteinSetFile() - open a new protein set database file. |
void |
saveScatterPlotAsGIF()
saveScatterPlotAsGIF() - save the scatterplot as a GIF image file in Report |
boolean |
setFilterProtSetDiffFromFiles()
|
boolean |
setFilterProtSetIntersectFromFiles()
|
boolean |
setFilterProtSetUnionFromFiles()
|
boolean |
setPlotModeState(java.awt.CheckboxMenuItem itemMCB)
|
void |
setScrollerStateLabelValues()
setScrollerStateLabelValues() - set scroller labels to the current state prp.xxxxUB/LB |
void |
setScrollersToState()
setScrollersToState() - reset the scrollers to the current state prp.xxxxUB/LB. |
void |
setSliderStateEnabled()
setSliderStateEnabled() - set the slide enables based on the state [BUG] does not gray out - instead it removes the cursor - not good GUI design |
void |
updateCurProtein(int mPid)
updateCurProtein() - update plot if current protein changed and this type of plot requires it. |
private boolean |
updatePlot()
updatePlot() - update the popup plot |
boolean |
updateScatterPlot(java.lang.String title)
updateScatterPlot() - create a 2D gel popup scatterplot from raw data. |
void |
updateSlider()
updateSlider() - update plot if Slider changed and this type of plot requires it. |
void |
windowActivated(java.awt.event.WindowEvent e)
|
void |
windowClosed(java.awt.event.WindowEvent e)
|
void |
windowClosing(java.awt.event.WindowEvent e)
windowClosing() - close down the window. |
void |
windowDeactivated(java.awt.event.WindowEvent e)
|
void |
windowDeiconified(java.awt.event.WindowEvent e)
|
void |
windowIconified(java.awt.event.WindowEvent e)
|
void |
windowOpened(java.awt.event.WindowEvent e)
|
| Methods inherited from class java.awt.Frame |
|
| Methods inherited from class java.awt.Window |
addOwnedWindow, addWindowListener, adjustListeningChildren, applyResourceBundle, applyResourceBundle, connectOwnedWindow, dispatchEventImpl, dispose, eventEnabled, getFocusOwner, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getOwnedWindows, getOwner, getToolkit, getWarningString, hide, isActive, isShowing, nextFocus, ownedInit, pack, postEvent, postWindowEvent, preProcessKeyEvent, processEvent, processWindowEvent, removeOwnedWindow, removeWindowListener, resetGC, setCursor, setFocusOwner, setWarningString, show, toBack, toFront, transferFocus |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, applyOrientation, checkGD, countComponents, createChildHierarchyEvents, createHierarchyEvents, deliverEvent, dispatchEventToSelf, doLayout, findComponentAt, findComponentAt, findComponentAt, getAccessibleAt, getAccessibleChild, getAccessibleChildrenCount, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents_NoClientCode, getComponents, getInsets, getLayout, getMaximumSize, getMinimumSize, getMouseEventTarget, getPreferredSize, getWindow, insets, invalidate, invalidateTree, isAncestorOf, layout, lightweightPaint, lightweightPrint, list, list, locate, minimumSize, numListening, paintComponents, paintHeavyweightComponents, postsOldMouseEvents, preferredSize, print, printComponents, printHeavyweightComponents, processContainerEvent, proxyEnableEvents, proxyRequestFocus, remove, remove, removeAll, removeContainerListener, setFont, setLayout, update, validate, validateTree |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, areInputMethodsEnabled, bounds, checkImage, checkImage, checkWindowClosingException, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getAccessibleIndexInParent, getAccessibleStateSet, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont_NoClientCode, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen_NoTreeLock, getLocationOnScreen, getName, getNativeContainer, getParent_NoClientCode, getParent, getPeer, getSize, getSize, getToolkitImpl, getTreeLock, getWidth, getWindowForObject, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isEnabledImpl, isFocusTraversable, isLightweight, isOpaque, isRecursivelyVisible, 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, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
| Methods inherited from interface java.awt.MenuContainer |
getFont, postEvent |
| Field Detail |
private ProtPlot prp
public EventHandlerPRP eh
public Filter fil
ReportPRP rpt
private UtilPRP util
public static final int POPUP_WIDTH
public static final int POPUP_HEIGHT
public static final int SEL_CUR_SAMPLE
public static final int SEL_X_SAMPLE
public static final int SEL_Y_SAMPLE
public static final int SEL_EP_SAMPLES
public static final int MAX_STEPS_SCR
public static final int MAX_STEPS_SCR2
public static final int VISIBLE_SCR
public static final int MAX_SCR_SIZE
public java.lang.String title
public int panelWidth
public int panelHeight
private java.awt.MenuBar mbar
java.awt.Font menuFont
public java.awt.Panel sPanel
public java.awt.Scrollbar pValueThrSlider
public java.awt.Scrollbar distThrSlider
public java.awt.Scrollbar nbrSamplesThrSlider
public java.awt.Scrollbar nbrProteinsThrSlider
public java.awt.Scrollbar vertLBscr
public java.awt.Scrollbar vertUBscr
public java.awt.Scrollbar horizLBscr
public java.awt.Scrollbar horizUBscr
public java.awt.Panel exprRangePanel
public java.awt.Scrollbar expRngLBscr
public java.awt.Scrollbar expRngUBscr
public java.awt.Label exprUBLabel
public java.awt.Label exprLBLabel
public java.awt.Label distThrLabel
public java.awt.Label nbrSamplesLabel
public java.awt.Label nbrProteinsLabel
public java.awt.Label pValueLabel
public java.awt.Label exprUBValueLabel
public java.awt.Label exprLBValueLabel
public java.awt.Label distThrValueLabel
public java.awt.Label nbrSamplesValueLabel
public java.awt.Label nbrProteinsValueLabel
public java.awt.Label pValueValueLabel
java.awt.Choice sampleChoice
public java.awt.Checkbox statusCheckBox
public java.awt.Checkbox exprCheckBox
public java.awt.Checkbox filterCheckBox
public java.awt.Checkbox useXYsetCheckBox
public java.awt.Checkbox mouseOverCheckBox
public java.awt.Checkbox logMWscalingCheckBox
public java.awt.Checkbox accessGenomicDBCheckBox
java.awt.MenuItem miXYmissing
java.awt.MenuItem miEPmissing
java.awt.MenuItem miClustSimilar
java.awt.CheckboxMenuItem miChkBoxFilterByProteinFamily
java.awt.CheckboxMenuItem miChkBoxFilterByTissue
java.awt.CheckboxMenuItem miChkBoxFilterByExprRange
java.awt.CheckboxMenuItem miChkBoxShowXandYsamplesMode
java.awt.CheckboxMenuItem miChkBoxAutoUpdateRptMode
java.awt.CheckboxMenuItem miChkBoxSortAssendingRptMode
java.awt.CheckboxMenuItem miPrevPlotCB
java.awt.CheckboxMenuItem miChkBoxReqAtLeastNsamples
java.awt.CheckboxMenuItem miChkBoxReqAtMostNsamples
java.awt.CheckboxMenuItem miChkBoxUseSavedClusterSet
java.awt.CheckboxMenuItem miChkBoxUseSavedFilterSet
java.awt.CheckboxMenuItem miChkBoxFilterByXYmissingProteins
java.awt.CheckboxMenuItem miChkBoxFilterByXYtTest
java.awt.CheckboxMenuItem miChkBoxFilterByXY_KStest
java.awt.CheckboxMenuItem miChkBoxUsePseudocolor
java.awt.CheckboxMenuItem miChkBoxShowFilterResults
java.awt.CheckboxMenuItem miChkBoxLogMW
java.awt.CheckboxMenuItem miChkBoxMouseOver
java.awt.CheckboxMenuItem miChkBoxShowExpr
java.awt.CheckboxMenuItem miChkBoxUseVarRadiusExpr
java.awt.CheckboxMenuItem miChkBoxShowClusteredProteins
java.awt.CheckboxMenuItem miChkBoxAccessGenomicDBs
java.awt.CheckboxMenuItem miChkBoxSwissProtServer
java.awt.CheckboxMenuItem miChkBoxPIRProClassServer
java.awt.CheckboxMenuItem miChkBoxGenBankServer
java.awt.CheckboxMenuItem miChkBoxClusterDistWEIGHT
java.awt.CheckboxMenuItem miChkBoxClusterDistAVG_ALL_DATA
java.awt.CheckboxMenuItem miChkBoxClusterDistMAP_LOW_VALUES
java.awt.CheckboxMenuItem miChkBoxUseTotPRPfiles
java.awt.CheckboxMenuItem miChkBoxUseExprDataMode
java.awt.CheckboxMenuItem miChkBoxUseEPsetExprDataMode
java.awt.CheckboxMenuItem miChkBoxUseRGratioMode
java.awt.CheckboxMenuItem miChkBoxUseCmapRatioMode
java.awt.CheckboxMenuItem miChkBoxUseXYSetCmapRatioMode
java.awt.CheckboxMenuItem miChkBoxDisplayXYscatterplot
java.awt.CheckboxMenuItem miChkBoxOutsideRatioRange
java.awt.CheckboxMenuItem miChkBoxUseExprPlotMode
java.awt.CheckboxMenuItem miChkBoxUseLocalDoc
public boolean logScalingFlag
public java.awt.Label titleLabel
public java.awt.Color[] cMap
public java.awt.Color[] eColor
public float[] eMap
public float[] eMapMax
public java.awt.Color[] eCmapColor
public float[] eCMapRatios
public java.awt.Color[] rColor
public float[] rMap
public PopupPRPlistSelector ppns
public PopupFamilyNameSelector pfns
public PopupTissueNameSelector ptns
public ShowStringPopup phelp
public ShowExprProfilesPopup filterSEPP
public ShowExprProfilesPopup clusterSEPP
java.lang.String defGifFile
public DrawProtScatterPlot dwSP
static java.lang.String promptDir
static java.lang.String promptFile
static java.lang.String promptExt
public PopupDialogQuery pdq
| Constructor Detail |
public ShowScatterPlotPopup(ProtPlot prp,
java.lang.String title)
prp - is instance of ProtPlottitle - of plot| Method Detail |
public boolean createPopupPlot(java.lang.String title)
public void setSliderStateEnabled()
public boolean updateScatterPlot(java.lang.String title)
public void paint(java.awt.Graphics g)
paint in class java.awt.Container
private java.awt.MenuItem makeMenuItem(java.awt.Menu pm,
java.lang.String sLabel,
java.lang.String sCmd,
int shortcut)
pm - is the menu to install itsLabel - is the visible labelsCmd - is the opt Cmd name (uses sLabel if null)shortcut - is the opt short cut
private java.awt.Menu makeSubMenu(java.awt.Menu pm,
java.lang.String sLabel,
java.lang.String sCmd,
int shortcut)
pm - is the menu to install itsLabel - is the visible labelsCmd - is the opt Cmd name (uses sLabel if null)shortcut - is the opt short cut
private java.awt.CheckboxMenuItem makeChkBoxMenuItem(java.awt.Menu pm,
java.lang.String sLabel,
java.lang.String sCmd,
int shortcut,
boolean value)
pm - is the menu to install itsLabel - is the visible labelsCmd - is the opt Cmd name (uses sLabel if null)shortcut - is the opt short cutvalue - is the initial value of the checkboxprivate java.awt.Color[] makeColorMap()
private boolean updatePlot()
void closeAll(boolean saveStateFlag)
saveStateFlag - first before quitingpublic boolean setFilterProtSetIntersectFromFiles()
public boolean setFilterProtSetUnionFromFiles()
public boolean setFilterProtSetDiffFromFiles()
public boolean saveProteinSetFile(java.lang.String setType)
setType - is either "Cluster" or "Filter" set to update.public boolean openProteinSetFile(java.lang.String setType)
setType - is either "Cluster" or "Filter" set to update.public boolean changeStateFile(boolean saveModeFlag)
saveModeFlag - is true if doing a 'save file' else 'open file'
public boolean accept(java.io.File dir,
java.lang.String name)
accept in interface java.io.FilenameFilterdir - is the file directoryname - is the name of the file
public java.lang.String promptFileName(java.lang.String msg,
java.lang.String useDir,
java.lang.String initialFile,
java.lang.String subDir,
java.lang.String fileExt,
boolean saveMode,
boolean useFileDialog)
msg - is the prompt msguseDir - is the opt. dir to useinitialFile - is the opt. initial filesubDir - is theopt. subdir to usefileExt - is the file extensionsaveMode - is the mode. Save if true else openuseFileDialog - if true else query dialogPopupDialogQuery.dialogQuery(java.lang.String, int)public void saveScatterPlotAsGIF()
public float cvNonLinearState2ScrollerValue(float ub,
float lb,
float stVal,
int maxSliderRange)
ubMlbRange= (ub-lb),
stMlbVal= (sbMax -stVal -lb),
r= (stMlbVal / ubMlbRange),
rLog= r*log(sbMax+1.0),
sbVal= sbMax - (exp(rLog) - 1.0).
ub - - upper bound of the statelb - - upper bound of the statestVal - - upper bound of the statemaxSliderRange - - # of steps in slider
public float cvNonLinearScroller2StateValue(float ub,
float lb,
float sbVal,
int maxSliderRange)
If using a log scale, then
stVal = alpha*(sbValue**2)+beta,
where: alpha = (ub-lb)/(sbSize**2-1),
beta = ( (ub+lb)-alpha*(sbSize**2+1) )/2.
ub - - upper bound of the statelb - - upper bound of the statesbVal - - upper bound of the statemaxSliderRange - - # of steps in sliderpublic void setScrollersToState()
public void setScrollerStateLabelValues()
public boolean setPlotModeState(java.awt.CheckboxMenuItem itemMCB)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenere - is action eventpublic void adjustmentValueChanged(java.awt.event.AdjustmentEvent e)
adjustmentValueChanged in interface java.awt.event.AdjustmentListenere - is AdjustmentEventpublic void itemStateChanged(java.awt.event.ItemEvent e)
itemStateChanged in interface java.awt.event.ItemListenere - is ItemEventpublic void mousePressed(java.awt.event.MouseEvent e)
mousePressed in interface java.awt.event.MouseListenerpublic void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased in interface java.awt.event.MouseListenerpublic void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked in interface java.awt.event.MouseListenerpublic void mouseMoved(java.awt.event.MouseEvent e)
public void mouseDragged(java.awt.event.MouseEvent e)
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered in interface java.awt.event.MouseListenerpublic void mouseExited(java.awt.event.MouseEvent e)
mouseExited in interface java.awt.event.MouseListenerpublic void updateCurProtein(int mPid)
mPid - is master protein idpublic void updateSlider()
public void windowClosing(java.awt.event.WindowEvent e)
windowClosing in interface java.awt.event.WindowListenerpublic void windowOpened(java.awt.event.WindowEvent e)
windowOpened in interface java.awt.event.WindowListenerpublic void windowClosed(java.awt.event.WindowEvent e)
windowClosed in interface java.awt.event.WindowListenerpublic void windowActivated(java.awt.event.WindowEvent e)
windowActivated in interface java.awt.event.WindowListenerpublic void windowDeactivated(java.awt.event.WindowEvent e)
windowDeactivated in interface java.awt.event.WindowListenerpublic void windowDeiconified(java.awt.event.WindowEvent e)
windowDeiconified in interface java.awt.event.WindowListenerpublic void windowIconified(java.awt.event.WindowEvent e)
windowIconified in interface java.awt.event.WindowListener
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||