Class ShowScatterPlotPopup

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Frame
                          |
                          +--ShowScatterPlotPopup
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.event.ActionListener, java.awt.event.AdjustmentListener, java.util.EventListener, java.io.FilenameFilter, java.awt.image.ImageObserver, java.awt.event.ItemListener, java.awt.MenuContainer, java.awt.event.MouseListener, java.io.Serializable, java.awt.event.WindowListener

public class ShowScatterPlotPopup
extends java.awt.Frame
implements java.awt.event.AdjustmentListener, java.awt.event.ActionListener, java.awt.event.MouseListener, java.awt.event.ItemListener, java.awt.event.WindowListener, java.io.FilenameFilter

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.

Version:
$Date: 2002/10/14 20:17:17 $ $Revision: $
Author:
P. Lemkin (NCI), Djamel Medjahed (SAIC), NCI-Frederick, Frederick, MD
See Also:
ProtPlot Home

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
, addNotify, addToFrameList, constructComponentName, finalize, getAccessibleContext, getCursorType, getFrames, getIconImage, getMenuBar, getState, getTitle, initIDs, isResizable, paramString, postProcessKeyEvent, readObject, remove, removeFromFrameList, removeNotify, setCursor, setIconImage, setMenuBar, setResizable, setState, setTitle, writeObject
 
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

prp

private ProtPlot prp
instance of ProtPlot

eh

public EventHandlerPRP eh
instance of EventHandlerPRP

fil

public Filter fil
Instance of Data Filter.

rpt

ReportPRP rpt
instance of ReportPRP

util

private UtilPRP util
instance of UtilPRP

POPUP_WIDTH

public static final int POPUP_WIDTH

POPUP_HEIGHT

public static final int POPUP_HEIGHT
Height of main window

SEL_CUR_SAMPLE

public static final int SEL_CUR_SAMPLE
Select current sample

SEL_X_SAMPLE

public static final int SEL_X_SAMPLE
Select current sample

SEL_Y_SAMPLE

public static final int SEL_Y_SAMPLE
Select current sample

SEL_EP_SAMPLES

public static final int SEL_EP_SAMPLES
Select current sample

MAX_STEPS_SCR

public static final int MAX_STEPS_SCR
prewired scroller steps

MAX_STEPS_SCR2

public static final int MAX_STEPS_SCR2
prewired scroller steps

VISIBLE_SCR

public static final int VISIBLE_SCR
scrollbar's visible amount

MAX_SCR_SIZE

public static final int MAX_SCR_SIZE
prewired max scroller size

title

public java.lang.String title
ARG: title of popup plot

panelWidth

public int panelWidth
default size - must be set here!

panelHeight

public int panelHeight
default size - must be set here!

mbar

private java.awt.MenuBar mbar
menu bar for GUI

menuFont

java.awt.Font menuFont
Define the menu fonts

sPanel

public java.awt.Panel sPanel
panel which holds scrollable canvas

pValueThrSlider

public java.awt.Scrollbar pValueThrSlider
pValue threshold slider

distThrSlider

public java.awt.Scrollbar distThrSlider
Cluster distance threshold slider

nbrSamplesThrSlider

public java.awt.Scrollbar nbrSamplesThrSlider
Number of samples threshold slider

nbrProteinsThrSlider

public java.awt.Scrollbar nbrProteinsThrSlider
Number of proteins/samples threshold slider

vertLBscr

public java.awt.Scrollbar vertLBscr
vertical (top,bottom) scrollers for the for canvas

vertUBscr

public java.awt.Scrollbar vertUBscr
vertical (top,bottom) scrollers for the for canvas

horizLBscr

public java.awt.Scrollbar horizLBscr
Horizontal (left,right) scrollers for the for canvas

horizUBscr

public java.awt.Scrollbar horizUBscr
Horizontal (left,right) scrollers for the for canvas

exprRangePanel

public java.awt.Panel exprRangePanel
Panel to hold the Expr Range scrollers

expRngLBscr

public java.awt.Scrollbar expRngLBscr
Expression Range vertical (top,bottom) scrollers

expRngUBscr

public java.awt.Scrollbar expRngUBscr
Expression Range vertical (top,bottom) scrollers

exprUBLabel

public java.awt.Label exprUBLabel
"Expression upper limit" or "Ratio upper limit"

exprLBLabel

public java.awt.Label exprLBLabel
"Expression lower limit" or "Ratio lower limit"

distThrLabel

public java.awt.Label distThrLabel
"Cluster distance thresh."

nbrSamplesLabel

public java.awt.Label nbrSamplesLabel
"# samples threshold"

nbrProteinsLabel

public java.awt.Label nbrProteinsLabel
"# proteins/sample threshold"

pValueLabel

public java.awt.Label pValueLabel
"P-value threshold"

exprUBValueLabel

public java.awt.Label exprUBValueLabel
"Expression upper limit" or "Ratio upper limit" value

exprLBValueLabel

public java.awt.Label exprLBValueLabel
"Expression lower limit" or "Ratio lower limit" value

distThrValueLabel

public java.awt.Label distThrValueLabel
"Cluster distance thresh." value

nbrSamplesValueLabel

public java.awt.Label nbrSamplesValueLabel
"# samples threshold" value

nbrProteinsValueLabel

public java.awt.Label nbrProteinsValueLabel
"# proteins/sample threshold"

pValueValueLabel

public java.awt.Label pValueValueLabel
"P-value threshold" value

sampleChoice

java.awt.Choice sampleChoice
Choice selector for setting sample lists

statusCheckBox

public java.awt.Checkbox statusCheckBox
HideStatus/ShowStatus selection

exprCheckBox

public java.awt.Checkbox exprCheckBox
Expression/Location selection

filterCheckBox

public java.awt.Checkbox filterCheckBox
Filter/Don't-Filter selection [DEPRICAED]

useXYsetCheckBox

public java.awt.Checkbox useXYsetCheckBox

mouseOverCheckBox

public java.awt.Checkbox mouseOverCheckBox
Show Mouse-over info

logMWscalingCheckBox

public java.awt.Checkbox logMWscalingCheckBox
use Log MW scaling

accessGenomicDBCheckBox

public java.awt.Checkbox accessGenomicDBCheckBox
access genomic DB via the Web if enabled and DB was selected

miXYmissing

java.awt.MenuItem miXYmissing
MenuItem for "Report X&Y sets statistics of proteins passing missing protein filter"

miEPmissing

java.awt.MenuItem miEPmissing
MenuItem for ""Report EP set statistics of proteins passing missing protein filter"

miClustSimilar

java.awt.MenuItem miClustSimilar
MenuItem for "Cluster similar proteins to current protein by EP profile"

miChkBoxFilterByProteinFamily

java.awt.CheckboxMenuItem miChkBoxFilterByProteinFamily
"Filter data by protein families [CB]"

miChkBoxFilterByTissue

java.awt.CheckboxMenuItem miChkBoxFilterByTissue
"Filter data by tissues [CB]"

miChkBoxFilterByExprRange

java.awt.CheckboxMenuItem miChkBoxFilterByExprRange
Filter data by expression range [CB]"

miChkBoxShowXandYsamplesMode

java.awt.CheckboxMenuItem miChkBoxShowXandYsamplesMode
"Show both X and Y samples if doing X/Y filtering [CB]"

miChkBoxAutoUpdateRptMode

java.awt.CheckboxMenuItem miChkBoxAutoUpdateRptMode
"Auto-update reports if the state changes [CB]"

miChkBoxSortAssendingRptMode

java.awt.CheckboxMenuItem miChkBoxSortAssendingRptMode
"Sort report assending order[CB]"

miPrevPlotCB

java.awt.CheckboxMenuItem miPrevPlotCB
Last Show Plot mode for use in toggling XY set checkbox

miChkBoxReqAtLeastNsamples

java.awt.CheckboxMenuItem miChkBoxReqAtLeastNsamples
"Filter by requiring at least N samples [RB]"

miChkBoxReqAtMostNsamples

java.awt.CheckboxMenuItem miChkBoxReqAtMostNsamples
"Filter by requiring at most N samples [RB]"

miChkBoxUseSavedClusterSet

java.awt.CheckboxMenuItem miChkBoxUseSavedClusterSet
"Filter by AND of Saved Clustered proteins [CB]"

miChkBoxUseSavedFilterSet

java.awt.CheckboxMenuItem miChkBoxUseSavedFilterSet
"Filter by AND of Saved Filtered proteins [CB]"

miChkBoxFilterByXYmissingProteins

java.awt.CheckboxMenuItem miChkBoxFilterByXYmissingProteins
"Filter by X & Y sets missing and > N samples [CB]"

miChkBoxFilterByXYtTest

java.awt.CheckboxMenuItem miChkBoxFilterByXYtTest
"Filter by X & Y sets t-test results [CB]"

miChkBoxFilterByXY_KStest

java.awt.CheckboxMenuItem miChkBoxFilterByXY_KStest
"Filter by X & Y sets Kolmogorov-Smirnov-test results [CB]"

miChkBoxUsePseudocolor

java.awt.CheckboxMenuItem miChkBoxUsePseudocolor
"Use pseudocolor else grayscale for expression [CB]

miChkBoxShowFilterResults

java.awt.CheckboxMenuItem miChkBoxShowFilterResults
"Show filter results [CB]"

miChkBoxLogMW

java.awt.CheckboxMenuItem miChkBoxLogMW
"Use log of (MW) [CB]"

miChkBoxMouseOver

java.awt.CheckboxMenuItem miChkBoxMouseOver
"Enable mouse-over to see data [CB]"

miChkBoxShowExpr

java.awt.CheckboxMenuItem miChkBoxShowExpr
"Show expression data else just position [CB]"

miChkBoxUseVarRadiusExpr

java.awt.CheckboxMenuItem miChkBoxUseVarRadiusExpr
"Use radius proportional to expression else constant [CB]"

miChkBoxShowClusteredProteins

java.awt.CheckboxMenuItem miChkBoxShowClusteredProteins
"Show clustered proteins by black boxes [CB]"

miChkBoxAccessGenomicDBs

java.awt.CheckboxMenuItem miChkBoxAccessGenomicDBs
"Access a genomic Web server if you click on a spot [CB]"

miChkBoxSwissProtServer

java.awt.CheckboxMenuItem miChkBoxSwissProtServer
"Use Swiss-Prot Web server [RB] "

miChkBoxPIRProClassServer

java.awt.CheckboxMenuItem miChkBoxPIRProClassServer
"Use PIR ProClass Web server [RB]"

miChkBoxGenBankServer

java.awt.CheckboxMenuItem miChkBoxGenBankServer
"Use GenBank Web server [RB]

miChkBoxClusterDistWEIGHT

java.awt.CheckboxMenuItem miChkBoxClusterDistWEIGHT
"Use weighted distance metric [RB]

miChkBoxClusterDistAVG_ALL_DATA

java.awt.CheckboxMenuItem miChkBoxClusterDistAVG_ALL_DATA
"Use average all data distance metric [RB]

miChkBoxClusterDistMAP_LOW_VALUES

java.awt.CheckboxMenuItem miChkBoxClusterDistMAP_LOW_VALUES
"Use map low values distance metric [RB]

miChkBoxUseTotPRPfiles

java.awt.CheckboxMenuItem miChkBoxUseTotPRPfiles
"Build DB from XXX_tot.prp files else from XXX_under200k.prp files"

miChkBoxUseExprDataMode

java.awt.CheckboxMenuItem miChkBoxUseExprDataMode
"Show current sample expression data [RB]"

miChkBoxUseEPsetExprDataMode

java.awt.CheckboxMenuItem miChkBoxUseEPsetExprDataMode
"Show current sample expression data [RB]"

miChkBoxUseRGratioMode

java.awt.CheckboxMenuItem miChkBoxUseRGratioMode
"Show X-samples/Y-sample ratio (Red=X + Green=Y) data [RB]"

miChkBoxUseCmapRatioMode

java.awt.CheckboxMenuItem miChkBoxUseCmapRatioMode
"Show samplesX/sampleY ratio range color map [RB]"

miChkBoxUseXYSetCmapRatioMode

java.awt.CheckboxMenuItem miChkBoxUseXYSetCmapRatioMode
"Show X-Set-samples /X-Set-samples ratio range color map [RB]"

miChkBoxDisplayXYscatterplot

java.awt.CheckboxMenuItem miChkBoxDisplayXYscatterplot
"Display (X vs Y) else (Mw vs pI) scatterplot [CB]"

miChkBoxOutsideRatioRange

java.awt.CheckboxMenuItem miChkBoxOutsideRatioRange
"Filter by (X/Y) outside of [minRatioVal:maxRatioVal] sliders"

miChkBoxUseExprPlotMode

java.awt.CheckboxMenuItem miChkBoxUseExprPlotMode
"Popup Expression Profile plots [CB]"

miChkBoxUseLocalDoc

java.awt.CheckboxMenuItem miChkBoxUseLocalDoc
"Use local documentation else ProtPlot server"

logScalingFlag

public boolean logScalingFlag
toggle with Linear/Log button

titleLabel

public java.awt.Label titleLabel
title for the main window

cMap

public java.awt.Color[] cMap
The pseudocolor or grayscale colormap [0:255] for drawing expression data over the range of [0.0 : 1.0]. Setup in makeColormap().

eColor

public java.awt.Color[] eColor
The 10 pseudocolors[0:9] for drawing non-linear expression mappings using eVap[gray] function. Setup in makeColormap().

eMap

public float[] eMap
The non-linear mapping (typically exponential) from [0:255] to [0.0 : 1.0]. Setup in makeColormap() for expresion mapping.

eMapMax

public float[] eMapMax
The 10 highest eMap[] values corresponding to 10 eColor[] values for expression mapping.

eCmapColor

public java.awt.Color[] eCmapColor
9 color Colormap for Cmap ratio scale factor color map

eCMapRatios

public float[] eCMapRatios
The 9 ratio values for Cmap ratio scale factor color map

rColor

public 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. Setup in makeColormap().

rMap

public float[] rMap
[TODO] The non-linear mapping (typically exponential) from [0:255] to [0.01 : 10.0]. Setup in makeColormap() for ratio mapping. We then scale this to the actual ratio range [minRatioSample : maxRatioSample].

ppns

public PopupPRPlistSelector ppns
popup PRP list name selector window created when needed

pfns

public PopupFamilyNameSelector pfns
Popup tissue name selector window created when needed

ptns

public PopupTissueNameSelector ptns
Popup tissue name selector window created when needed

phelp

public ShowStringPopup phelp
Popup help window

filterSEPP

public ShowExprProfilesPopup filterSEPP
popup scrollable EP list for filtered proteins

clusterSEPP

public ShowExprProfilesPopup clusterSEPP
popup scrollable EP list for clustered proteins

defGifFile

java.lang.String defGifFile
default output gif file name

dwSP

public DrawProtScatterPlot dwSP
Scrollable Scatterplot canvas

promptDir

static java.lang.String promptDir
last prompted directory for popup dialog

promptFile

static java.lang.String promptFile
last prompted project for popup dialog

promptExt

static java.lang.String promptExt
for FilenameFilter file extension for popup dialog

pdq

public PopupDialogQuery pdq
hidden popup dialog
Constructor Detail

ShowScatterPlotPopup

public ShowScatterPlotPopup(ProtPlot prp,
                            java.lang.String title)
ShowScatterPlotPopup() - constructor
Parameters:
prp - is instance of ProtPlot
title - of plot
Method Detail

createPopupPlot

public boolean createPopupPlot(java.lang.String title)
createPopupPlot() - create a 2D gel popup scatterplot from raw data.
Returns:
false if there is problem.

setSliderStateEnabled

public 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

updateScatterPlot

public boolean updateScatterPlot(java.lang.String title)
updateScatterPlot() - create a 2D gel popup scatterplot from raw data.
Returns:
false if there is problem.

paint

public void paint(java.awt.Graphics g)
paint() - repaint subwindows
Overrides:
paint in class java.awt.Container

makeMenuItem

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. Setup action command and listener call back. If the command name is null, set the command name to label name. if shortCut is <0, then gray-out the item. i.e. not available and do not add to event handler.
Parameters:
pm - is the menu to install it
sLabel - is the visible label
sCmd - is the opt Cmd name (uses sLabel if null)
shortcut - is the opt short cut
Returns:
the MenuItem

makeSubMenu

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. Setup action command and listener call back. If the command name is null, set the command name to label name.
Parameters:
pm - is the menu to install it
sLabel - is the visible label
sCmd - is the opt Cmd name (uses sLabel if null)
shortcut - is the opt short cut

makeChkBoxMenuItem

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. Setup action command and listener call back. If the command name is null, set the command name to label name. if shortCut is <0, then gray-out the item. i.e. not available and do not add to event handler.
Parameters:
pm - is the menu to install it
sLabel - is the visible label
sCmd - is the opt Cmd name (uses sLabel if null)
shortcut - is the opt short cut
value - is the initial value of the checkbox

makeColorMap

private java.awt.Color[] makeColorMap()
makeColorMap() - make 255 gray value colors or if pseudocolor mode, then color range
Returns:
colormap

updatePlot

private boolean updatePlot()
updatePlot() - update the popup plot
Returns:
false if there is problem.

closeAll

void closeAll(boolean saveStateFlag)
closeAll() - close all windows
Parameters:
saveStateFlag - first before quiting

setFilterProtSetIntersectFromFiles

public boolean setFilterProtSetIntersectFromFiles()

setFilterProtSetUnionFromFiles

public boolean setFilterProtSetUnionFromFiles()

setFilterProtSetDiffFromFiles

public boolean setFilterProtSetDiffFromFiles()

saveProteinSetFile

public boolean saveProteinSetFile(java.lang.String setType)
saveProteinSetFile() - open a new protein set database file.
Parameters:
setType - is either "Cluster" or "Filter" set to update.
Returns:
true if succeed

openProteinSetFile

public boolean openProteinSetFile(java.lang.String setType)
openProteinSetFile() - open up a protein set database file.
Parameters:
setType - is either "Cluster" or "Filter" set to update.
Returns:
true if succeed

changeStateFile

public boolean changeStateFile(boolean saveModeFlag)
changeStateFile() - open up a new state startup database file.
Parameters:
saveModeFlag - is true if doing a 'save file' else 'open file'
Returns:
the full path of the new state startu file, null if failed

accept

public boolean accept(java.io.File dir,
                      java.lang.String name)
accept() - filter used to test if file should be in directory list. NOTE: implements method for io.FilenameFilter.accept() Checks if the file extension is promptExt
Specified by:
accept in interface java.io.FilenameFilter
Parameters:
dir - is the file directory
name - is the name of the file
Returns:
true if accept it

promptFileName

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)
promptFileName() - dialog prompt for file name. If useFileDialog is set use FileDialog else dialogQuery. Set promptFile, and promptDir.
Parameters:
msg - is the prompt msg
useDir - is the opt. dir to use
initialFile - is the opt. initial file
subDir - is theopt. subdir to use
fileExt - is the file extension
saveMode - is the mode. Save if true else open
useFileDialog - if true else query dialog
Returns:
the file name.
See Also:
PopupDialogQuery.dialogQuery(java.lang.String, int)

saveScatterPlotAsGIF

public void saveScatterPlotAsGIF()
saveScatterPlotAsGIF() - save the scatterplot as a GIF image file in Report

cvNonLinearState2ScrollerValue

public float cvNonLinearState2ScrollerValue(float ub,
                                            float lb,
                                            float stVal,
                                            int maxSliderRange)
cvNonLinearState2ScrollerValue() - convert non-linear State value to a Scroller value:
      ubMlbRange= (ub-lb),
      stMlbVal= (sbMax -stVal -lb),
      r= (stMlbVal / ubMlbRange),
      rLog= r*log(sbMax+1.0),
      sbVal= sbMax - (exp(rLog) - 1.0).
Parameters:
ub - - upper bound of the state
lb - - upper bound of the state
stVal - - upper bound of the state
maxSliderRange - - # of steps in slider
Returns:
sbVal - computed as above, -1.0F if failed

cvNonLinearScroller2StateValue

public float cvNonLinearScroller2StateValue(float ub,
                                            float lb,
                                            float sbVal,
                                            int maxSliderRange)
cvNonLinearScroller2StateValue() - convert non-linear Scrollbar value to a State value:
 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.
Parameters:
ub - - upper bound of the state
lb - - upper bound of the state
sbVal - - upper bound of the state
maxSliderRange - - # of steps in slider
Returns:
stVal - computed as above, -1.0F if failed

setScrollersToState

public void setScrollersToState()
setScrollersToState() - reset the scrollers to the current state prp.xxxxUB/LB. If using a log scale, then to convert a State value to a non-linear Scroller value.

setScrollerStateLabelValues

public void setScrollerStateLabelValues()
setScrollerStateLabelValues() - set scroller labels to the current state prp.xxxxUB/LB

setPlotModeState

public boolean setPlotModeState(java.awt.CheckboxMenuItem itemMCB)

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed() - Handle Control panel button clicks or menu items.
Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
e - is action event

adjustmentValueChanged

public void adjustmentValueChanged(java.awt.event.AdjustmentEvent e)
adjustmentValueChanged() - handle scroll events. Use the scroll values to select the part of the plot to be displayed and then repaint it.
Specified by:
adjustmentValueChanged in interface java.awt.event.AdjustmentListener
Parameters:
e - is AdjustmentEvent

itemStateChanged

public 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.
Specified by:
itemStateChanged in interface java.awt.event.ItemListener
Parameters:
e - is ItemEvent

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
mousePressed() - handle mouse Press events
Specified by:
mousePressed in interface java.awt.event.MouseListener

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased() - handle mouse Release events
Specified by:
mouseReleased in interface java.awt.event.MouseListener

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked() - handle mouse Click events
Specified by:
mouseClicked in interface java.awt.event.MouseListener

mouseMoved

public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved() - handle mouse Move events

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged() - handle mouse Drag events

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered() - handle mouse Enter events
Specified by:
mouseEntered in interface java.awt.event.MouseListener

mouseExited

public void mouseExited(java.awt.event.MouseEvent e)
mouseExited() - handle mouse Exit events
Specified by:
mouseExited in interface java.awt.event.MouseListener

updateCurProtein

public void updateCurProtein(int mPid)
updateCurProtein() - update plot if current protein changed and this type of plot requires it.
Parameters:
mPid - is master protein id

updateSlider

public void updateSlider()
updateSlider() - update plot if Slider changed and this type of plot requires it.

windowClosing

public void windowClosing(java.awt.event.WindowEvent e)
windowClosing() - close down the window.
Specified by:
windowClosing in interface java.awt.event.WindowListener

windowOpened

public void windowOpened(java.awt.event.WindowEvent e)
Specified by:
windowOpened in interface java.awt.event.WindowListener

windowClosed

public void windowClosed(java.awt.event.WindowEvent e)
Specified by:
windowClosed in interface java.awt.event.WindowListener

windowActivated

public void windowActivated(java.awt.event.WindowEvent e)
Specified by:
windowActivated in interface java.awt.event.WindowListener

windowDeactivated

public void windowDeactivated(java.awt.event.WindowEvent e)
Specified by:
windowDeactivated in interface java.awt.event.WindowListener

windowDeiconified

public void windowDeiconified(java.awt.event.WindowEvent e)
Specified by:
windowDeiconified in interface java.awt.event.WindowListener

windowIconified

public void windowIconified(java.awt.event.WindowEvent e)
Specified by:
windowIconified in interface java.awt.event.WindowListener